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 sys/riotboot: uncrustify 2021-02-09 13:38:31 +01:00
hdr.h add copyrights from IOTPUSH project 2019-05-02 12:09:37 +02:00
magic.h sys/riotboot: move magic address to common file 2021-07-20 22:51:15 +02:00
serial.h riotboot: implement serial bootloader feature 2021-07-20 22:50:41 +02:00
slot.h sys/riotboot/slot: fix failed build 2023-12-21 16:33:15 -05:00
usb_dfu.h sys/riotboot: move magic address to common file 2021-07-20 22:51:15 +02:00