1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/defaultmodules.inc.mk
Benjamin Valentin 8100203e95 core/thread, mutex: provide dummy implementation for riotboot
This is intended for the bootloader module where we don't enter thread
mode, so mutex must never attempt to switch context.

Instead use a simple busy wait that is enough to make the possible mutex
users (e.g. interrupt based SPI) in bootloader mode work.
2022-05-02 13:18:39 +02:00

11 lines
362 B
Makefile

DEFAULT_MODULE += board board_common_init \
cpu \
core core_init core_lib core_msg core_panic core_thread \
sys
# Include potentially added default modules by the board
-include $(BOARDDIR)/Makefile.default
# Include potentially added default modules by the CPU
-include $(RIOTCPU)/$(CPU)/Makefile.default