From d326b1e152d69b012af17264662ab0ddcb0f0097 Mon Sep 17 00:00:00 2001 From: NikLeberg Date: Thu, 4 Jan 2024 00:28:20 +0000 Subject: [PATCH] sw: set ld/crt0 constants --- sw/makefile.sw | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sw/makefile.sw b/sw/makefile.sw index c14420c..2b1463c 100644 --- a/sw/makefile.sw +++ b/sw/makefile.sw @@ -11,9 +11,11 @@ MARCH = rv32ima_zicsr USER_FLAGS := $(CLI_FLAGS) USER_FLAGS += -Wl,--defsym,__neorv32_rom_size=16K USER_FLAGS += -Wl,--defsym,__neorv32_ram_size=32M +USER_FLAGS += -Wl,--defsym,__neorv32_stack_size=8K +USER_FLAGS += -Wl,--defsym,__neorv32_num_harts=4 USER_FLAGS += -Og -# Change flags if we are building for the sumulation. +# Change flags if we are building for the simulation. ifneq (,$(findstring SIMULATION,$(USER_FLAGS))) USER_FLAGS += -DUART0_SIM_MODE USER_FLAGS += -DUART1_SIM_MODE