Search found 278 matches

by faisal
Wed Apr 03, 2019 5:25 pm
Forum: ChibiOS/RT
Topic: Understand difference between stats and time in thread_t
Replies: 9
Views: 1564

Re: Understand difference between stats and time in thread_t

Is it true that (assuming no overflow happens), the total time logged by stats for all threads should track the current system time? Also, that the cumulative time for each thread is the actual execution time of the thread + any interrupts that occurred in the thread. The stats timer for the thread ...
by faisal
Sat Mar 16, 2019 4:55 pm
Forum: Bug Reports
Topic: [PATCH] added missing STM32F103x8 definition Topic is solved
Replies: 4
Views: 887

Re: [PATCH] added missing STM32F103x8 definition Topic is solved

Report issues with CMSIS files here:
https://github.com/ARM-software/CMSIS_5

Also, check if the latest trunk code already has the fix.


Submit bug report to STMicro, on their forums perhaps?
by faisal
Fri Mar 15, 2019 8:56 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 6
Views: 1321

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub . I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path. Thanks again. Check this out: http://www.chibios.com/forum/viewtopic.php?f=...
by faisal
Fri Mar 15, 2019 7:48 pm
Forum: ChibiOS/HAL
Topic: MFS using internal Flash
Replies: 6
Views: 1321

Re: MFS using internal Flash

No problem, I'm working in trunk. I'm using Alex mirror in GitHub . I'll try using my "driver", if it works, I'd like to ask some directions to write a STM32 internal flash driver if you believe is the right path. Thanks again. Check this out: http://www.chibios.com/forum/viewtopic.php?f=...
by faisal
Mon Feb 25, 2019 9:21 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 21
Views: 4156

Re: undefined reference to ST2MS and MS2ST

Yep, definition of callback has changed. Check out hal_dac.h. now, it only takes the driver strict as a parameter.

See viewtopic.php?f=3&t=4929. I believe the demos in testhal have been updated as well to show the usage of the new API.
by faisal
Mon Feb 25, 2019 7:23 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 21
Views: 4156

Re: undefined reference to ST2MS and MS2ST

Giovanni doesn't have anything to do with the Github mirror. The official ChibiOS repo is on sourceforge. Yeah, a lot of us don't like that, but it is what it is :). Also, please post more information on that warning. Post the file, and more context from the compiler output .. Clearly, your callback...
by faisal
Mon Feb 25, 2019 4:32 pm
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 214
Views: 40720

Re: Where to start STM32H7 support

What if you disconnect the SPI lines going to the slave device and enable the internal pull-up on MISO? When you do the SPI transaction, you should receive all 0xFF.
by faisal
Sat Feb 23, 2019 7:32 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 10
Views: 1984

Re: xQueueCreate equivalent

Those are different, ObjFIFOs are meant to exchange fixed-size structures in a copy-less way. HAL I/O buffers are used in those situations where you have to read/write byte streams from one side and fetch/post buffers from the other side, it is more of a buffering system. Which is better depends on...
by faisal
Sat Feb 23, 2019 7:28 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 10
Views: 1984

Re: xQueueCreate equivalent

Those are different, ObjFIFOs are meant to exchange fixed-size structures in a copy-less way. HAL I/O buffers are used in those situations where you have to read/write byte streams from one side and fetch/post buffers from the other side, it is more of a buffering system. Which is better depends on...
by faisal
Sat Feb 23, 2019 5:23 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 10
Views: 1984

Re: xQueueCreate equivalent

You can also use (abuse?) I/O Buffers Queues.

http://chibios.sourceforge.net/docs/19. ... e_r_s.html

It may even be faster than Object FIFOs. Any comments on the fastest block based queue implementation in ChibiOS Giovanni?

Go to advanced search