We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56bfdbe commit a3b3ec9Copy full SHA for a3b3ec9
sys/Makefile.include
@@ -165,7 +165,7 @@ endif
165
166
ifneq (,$(filter tinyusb_dfu usbus_dfu riotboot_reset,$(USEMODULE)))
167
CFLAGS += -DCPU_RAM_BASE=$(RAM_START_ADDR)
168
- CFLAGS += -DCPU_RAM_SIZE=$(RAM_LEN)
+ CFLAGS += -DCPU_RAM_SIZE=$(shell printf "0x%x" $$(($(RAM_LEN:%K=%*1024))))
169
endif
170
171
ifneq (,$(filter test_utils_netdev_eth_minimal,$(USEMODULE)))
0 commit comments