Skip to content

Commit

Permalink
sw: set ld/crt0 constants
Browse files Browse the repository at this point in the history
  • Loading branch information
NikLeberg committed Jan 4, 2024
1 parent 69d7dc7 commit d326b1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sw/makefile.sw
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d326b1e

Please sign in to comment.