1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/riotboot
Joshua DeWeese 9f27a5a246 sys/riotboot/slot: fix failed build
When riotboot/slot.h is included, but riotboot is not enabled in the
build, a compiler error occures. This is because SLOT0_LEN is not
defined. This patch fixes this by surrounding the offending macrro with
a conditional compile. `riotboot_slot_size()` may still be called, in
which case it returns 0 for the size of any slot given.
2023-12-21 16:33:15 -05:00
..
bootloader_selection.h bootloaders: fix bootloader button logic 2023-03-08 13:07:42 +01:00
flashwrite.h
hdr.h
magic.h
serial.h
slot.h sys/riotboot/slot: fix failed build 2023-12-21 16:33:15 -05:00
usb_dfu.h