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

Add initial CAN stack and example #130

Closed RICCIARDI-Adrien closed 1 year ago

RICCIARDI-Adrien commented 1 year ago

This PR adds the CAN 2.0 stack, a dummy CAN driver for the POSIX machine and an example application.

The CAN stack is designed to be as close as possible to the AUTOSAR R22-11 specs, but also to stay minimal. Thus, only parts of the CAN Driver and CAN Interface specs have been implemented. All variations with the standards are documented in the code.

The dummy CAN driver and the example application allow to showcase the CAN stack on a development PC.

Feel free to comment and suggest changes !

RICCIARDI-Adrien commented 1 year ago

Hi @jlbirccyn, what do you think about this PR ?

jlbirccyn commented 1 year ago

Hello @RICCIARDI-Adrien

Thanks for your contribution. When I will have time, I will add a driver for the STM32L432KC

Best regards