Search found 11587 matches

by Giovanni
Sat Feb 23, 2019 4:52 pm
Forum: ChibiOS/RT
Topic: xQueueCreate equivalent
Replies: 4
Views: 22

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: 4
Views: 22

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

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

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

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

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

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
by Giovanni
Fri Feb 22, 2019 8:17 am
Forum: Development and Feedback
Topic: [MAINTAINERS] Low Level Driver organization changes
Replies: 6
Views: 249

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 Giovanni
Thu Feb 21, 2019 9:51 pm
Forum: ChibiOS/RT
Topic: undefined reference to ST2MS and MS2ST
Replies: 16
Views: 132

Re: undefined reference to ST2MS and MS2ST

Hi,

In recent version of RT there are two different types one for absolute time (systime_t) and one for intervales (sysinterval_t), because of this those macros have been renamed to TIME_MS2I(msecs) etc, look into chtime.h, all time/interval-related macros and functions are there.

Giovanni

Go to advanced search