From 890add5d86ea51b7691a1935a2bfea924a7bf179 Mon Sep 17 00:00:00 2001 From: stnolting Date: Sat, 26 Oct 2024 22:22:25 +0200 Subject: [PATCH] [eclipse] adjust makefile add variables for additional sources --- sw/example/eclipse/makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sw/example/eclipse/makefile b/sw/example/eclipse/makefile index b10a03d39..326d25f5f 100644 --- a/sw/example/eclipse/makefile +++ b/sw/example/eclipse/makefile @@ -10,9 +10,13 @@ RISCV_PREFIX ?= riscv-none-elf- # Override default optimization goal EFFORT = -Os -# Add debug symbols for Eclipse +# Add extended debug symbols for Eclipse USER_FLAGS += -ggdb -gdwarf-3 +# Additional sources +APP_SRC += $(wildcard ./*.c) +APP_INC += -I . + # Adjust processor IMEM size USER_FLAGS += -Wl,--defsym,__neorv32_rom_size=16k