From b6c96b101bf9eafc0121726c8a6b2b3fc5abd834 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Wed, 27 Jan 2021 11:55:13 +0100 Subject: [PATCH] riotboot: disable pm_layered On `same54-xpro` this saves 212 bytes of ROM. --- bootloaders/riotboot/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/bootloaders/riotboot/Makefile b/bootloaders/riotboot/Makefile index c2695e8073..bc19fbe7e0 100644 --- a/bootloaders/riotboot/Makefile +++ b/bootloaders/riotboot/Makefile @@ -16,6 +16,7 @@ CFLAGS += -DRIOTBOOT CFLAGS += -DNDEBUG -DLOG_LEVEL=LOG_NONE DISABLE_MODULE += core_init core_msg core_panic DISABLE_MODULE += auto_init auto_init_% +DISABLE_MODULE += pm_layered # avoid using stdio USEMODULE += stdio_null