From 032645f0d4bf47496c9dc6856a76e9ea55841f92 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 19 Dec 2024 21:25:43 +0100 Subject: [PATCH] bootloaders/riotboot: don't change CPU/pin state --- bootloaders/riotboot/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootloaders/riotboot/Makefile b/bootloaders/riotboot/Makefile index 4800be4f9e..bd478e0a24 100644 --- a/bootloaders/riotboot/Makefile +++ b/bootloaders/riotboot/Makefile @@ -4,4 +4,8 @@ APPLICATION = riotboot # Include riotboot flash partition functionality USEMODULE += riotboot_slot +# We don't want to re-configure any hardware +CFLAGS += -DDISABLE_BOARD_INIT=1 +CFLAGS += -DDISABLE_CPU_INIT=1 + include ../riotboot_common.mk