1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/shell
Gilles DOFFE 99d7cb34d8 can: introduce typedef can_frame_t
Whole CAN code in RIOT is using 'struct can_frame' to represent a CAN
frame.
However incoming CAN FD support will bring 'struct canfd_frame' to
represent CAN FD frames.
Even if the 'struct canfd_frame' has additional flags and a bigger
payload, it is aligned on 'struct can_frame' and thus they can be
referenced by the same pointers in the code.

As it is impossible to predict which one will be used in RIOT, just
define a new type 'can_frame_t' which will map to the right struct
according to the MCU CAN supported format.

Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr>
2024-11-03 22:16:41 +01:00
..
cmds can: introduce typedef can_frame_t 2024-11-03 22:16:41 +01:00
democommands treewide/rust: cargo fmt 2024-10-02 22:17:08 +02:00
doc.txt treewide: replace shell_commands module in documentation 2024-03-19 15:12:02 +01:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Kconfig.config *.config: Modify all .config kconfig files 2024-03-26 14:53:40 +01:00
Makefile make: detect their module name automatically 2014-06-17 15:49:32 +02:00
Makefile.dep treewide: remove deprecated nice module 2024-03-18 21:31:03 +01:00
shell.c sys/shell: add shell_parse_file() 2024-05-15 11:20:38 +02:00