1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 23:41:18 +01:00
Gilles DOFFE 7e45997001 drivers: add kernel_defines.h for ARRAY_SIZE
Fix compilation errors on native boards caused by missing ARRAY_SIZE
macro definition. The macro is defined in container.h which is included
by kernel_defines.h.

On ARM/Cortex-M platforms, kernel_defines.h is indirectly included via
cpu/cortexm_common/include/irq_arch.h, making ARRAY_SIZE available.
On native platform, no CPU header includes kernel_defines.h, requiring
explicit inclusion.

Error: "implicit declaration of function 'ARRAY_SIZE'"

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2025-10-30 23:51:31 +01:00
..
2025-04-16 15:25:38 +02:00
2025-04-16 15:25:38 +02:00
2025-04-16 15:25:38 +02:00
2025-04-16 15:25:38 +02:00
2025-07-14 12:49:12 +02:00
2025-10-25 16:05:59 +02:00
2025-04-16 15:25:38 +02:00
2025-04-08 18:36:54 +02:00
2025-04-16 15:25:38 +02:00