Search found 264 matches

by faisal
Mon Feb 25, 2019 9:21 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 21
Views: 3878

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: 3878

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: 38845

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: 1888

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: 1888

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: 1888

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?
by faisal
Fri Feb 22, 2019 11:53 pm
Forum: Development and Feedback
Topic: [MAINTAINERS] Low Level Driver organization changes
Replies: 6
Views: 1344

Re: [MAINTAINERS] Low Level Driver organization changes

xFaisal, The change is not just that, now the xxxConfig and xxxDriver structures are defined in the upper layer, the LLD extra fields are exported by the LLD into a macro. This way, when there is a change affecting just the HLD, there is no need to rework all LLDs. xTheo, Look at the files under os...
by faisal
Fri Feb 22, 2019 10:07 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 21
Views: 3878

Re: undefined reference to ST2MS and MS2ST

Btw, if you're curious as to how to use the fmpp utility to generate the board.c/.h files from the command line - look at the example already provided in ChibiOS. All or most of the board files for the demos are generated by this tool: https://github.com/ChibiOS/ChibiOS/blob/master/os/hal/boards/gen...
by faisal
Fri Feb 22, 2019 9:45 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 21
Views: 3878

Re: undefined reference to ST2MS and MS2ST

Thank you for that information and saving me yet again when I use board files from 'os/hal/boards/ST_STM32F072B_DISCOVERY' if i just point BOARDSRC and BOARDINC to there we build fine however using our old files where we use PALConfig sample board file https://github.com/e11i0t23/qmk_firmware/tree/...
by faisal
Fri Feb 22, 2019 2:57 am
Forum: Development and Feedback
Topic: [MAINTAINERS] Low Level Driver organization changes
Replies: 6
Views: 1344

Re: [MAINTAINERS] Low Level Driver organization changes

Changed driver struct names in the upper layer driver. For example, in hal_dac.h: /** * @brief Type of a structure representing an DAC driver. */ typedef struct hal_dac_driver DACDriver; /** * @brief Type of a structure representing an DAC driver configuration. */ typedef struct hal_dac_config DACCo...

Go to advanced search