Skip to content

Commit

Permalink
[eclipse] minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Feb 17, 2025
1 parent b2398e2 commit ae8d57e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sw/example/eclipse/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ USER_FLAGS += -ggdb -gdwarf-3
APP_SRC += $(wildcard ./*.c)
APP_INC += -I .

# Adjust processor IMEM size
# Adjust processor IMEM size and base address
USER_FLAGS += -Wl,--defsym,__neorv32_rom_size=16k
USER_FLAGS += -Wl,--defsym,__neorv32_rom_base=0x00000000

# Adjust processor DMEM size
# Adjust processor DMEM size and base address
USER_FLAGS += -Wl,--defsym,__neorv32_ram_size=8k
USER_FLAGS += -Wl,--defsym,__neorv32_ram_base=0x80000000

# Adjust maximum heap size
USER_FLAGS += -Wl,--defsym,__neorv32_heap_size=1k
USER_FLAGS += -Wl,--defsym,__neorv32_heap_size=2k

# Set path to NEORV32 root directory
NEORV32_HOME ?= ../../..
Expand Down

0 comments on commit ae8d57e

Please sign in to comment.