1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Marian Buschsieweke
86fdbd7054
core/lib: Add macros/utils.h header
The macros CONCAT(), MIN(), and MAX() are defined over and over again in
RIOT's code base. This de-duplicates the code by moving the macros to a
common place.
2023-01-07 09:47:44 +01:00
ce373902ee
sys/can: migrate to ztimer 2022-01-10 12:21:40 +01:00
Bas Stottelaar
922e2ac1c9 sys/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
Bas Stottelaar
1b35d06a51 sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
Bas Stottelaar
80d9da90df sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Marian Buschsieweke
3b6fa61829
sys: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 20:28:11 +02:00
Vincent Dupont
af66fe101d can/isotp: allow changing FC options at runtime 2019-08-21 11:16:56 +02:00
Vincent Dupont
32b00706e3 can/isotp: remove timers when closing connection
Timers were not properly removed leading to hard faults if it fires
after the connection is closed.
2019-08-21 11:16:56 +02:00
d8051a2d73 sys/can: DEBUG fixes 2018-01-15 14:37:05 +01:00
Vincent Dupont
fb393905dd can: fix fall through error 2018-01-08 18:07:31 +01:00
268c6b647e drivers/can: fix doxygen documentation + typo 2017-07-03 20:43:51 +02:00
Vincent Dupont
63ca443b05 can: add ISO-TP support
ISO-TP is ISO15765 transport protocol over CAN.
Upper interface is located in sys/include/can/isotp.h.
2017-06-19 15:36:20 +02:00