Search found 11590 matches

by Giovanni
Sat Feb 23, 2019 8:34 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 8
Views: 43

Re: xQueueCreate equivalent

I/O queues are asymmetric, there always is an ISR (low) side and a thread (high) side, in addition, there is a callback notification mechanism high->low. It is specialized for a specific use, serial-like drivers. This is why I/O queues are in HAL, same for buffer queues. Pipes are generic thread to ...
by Giovanni
Sat Feb 23, 2019 7:06 pm
Forum: Development and Feedback
Topic: [AWAY] One week
Replies: 0
Views: 9

[AWAY] One week

Hi,

I will be partially offline for about one week because a work-related travel. I will have access to the forum/email but no HW with me and likely not much time to do other things.

Giovanni
by Giovanni
Sat Feb 23, 2019 6:58 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 8
Views: 43

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 Giovanni
Sat Feb 23, 2019 4:52 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 8
Views: 43

Re: xQueueCreate equivalent

Hi,

My bad, it is "Objects FIFOs": http://chibios.sourceforge.net/docs/19. ... fifos.html

Giovanni
by Giovanni
Sat Feb 23, 2019 4:05 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 8
Views: 43

Re: xQueueCreate equivalent

Hi,

Look at "Object Queues", it is a pool of structures of the same size exchanged via a mailbox: Get a structure from the pool, send it, receive it, return it to the pool.

It can be used by ISR and tasks, fully static.

Giovanni
by Giovanni
Sat Feb 23, 2019 9:39 am
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 16
Views: 135

Re: undefined reference to ST2MS and MS2ST

Please make sure to take configuration files and makefiles from the version you are upgrading to.

Giovanni
by Giovanni
Sat Feb 23, 2019 9:36 am
Forum: Development and Feedback
Topic: [MAINTAINERS] Low Level Driver organization changes
Replies: 6
Views: 252

Re: [MAINTAINERS] Low Level Driver organization changes

Hi,

That is the structure name, not the type name, I decided to not have conflicting names, ss non-API it is right to not use camel case. Driver and config are still xxxDriver and xxxConfig, from the application pov nothing changed.

Giovanni
by Giovanni
Fri Feb 22, 2019 5:24 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 16
Views: 135

Re: undefined reference to ST2MS and MS2ST

That warning has already been fixed in repository, it will be in next release. Note that it has no real impact.

Giovanni
by Giovanni
Fri Feb 22, 2019 3:13 pm
Forum: General Support
Topic: Exception handling using longjmp()
Replies: 3
Views: 48

Re: Exception handling using longjmp()

The context saved by setjmp does not save some internal registers used by chSysLock/chSysUnlock (BASEPRI), you should not assume that the interrupts masking state is preserved/restored.

Giovanni
by Giovanni
Fri Feb 22, 2019 8:39 am
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 121
Views: 9090

Re: Where to start STM32H7 support

I will change all defaults in mcuconf files. It could be a good idea to report this to ST via forum and see if they have an answer.

Giovanni

Go to advanced search