TrampolineRTOS / trampoline

Trampoline is a static RTOS for small embedded systems. Its API is aligned with OSEK/VDX OS and AUTOSAR OS 4.2 standards.
GNU General Public License v2.0
614 stars 268 forks source link

[examples] [posix] [ioc] incorrect format specifier #125

Closed szsam closed 11 months ago

szsam commented 1 year ago

https://github.com/TrampolineRTOS/trampoline/blob/7ac178b0f67268735e8f9084cac49efe545ae80c/examples/posix/ioc/ioc.c#L23 https://github.com/TrampolineRTOS/trampoline/blob/7ac178b0f67268735e8f9084cac49efe545ae80c/examples/posix/ioc/ioc.c#L35

The type of rcv_message and snd_message are both uint32, which may be unsigned long or unsigned int. We should have a macro similar to C99's PRIu32 for uint32.

Vincent-Miao commented 1 week ago

hi,I hava similar issues. Would it be convenient for you to leave an email address? I would like to ask your advice, thx~