Skip to content

Commit

Permalink
Merge #96
Browse files Browse the repository at this point in the history
96: make: update arty-e21 addresses r=ppannuto a=bradjc

Change the addresses for the second riscv app for the arty board.

Since I originally chose those addresses I've learned:

- The erase size appears to be 0x10000. So, making apps at least 0x10000 makes tockloader work better, but the second app must be at address offset 0x40000.
- The .data section is huge with my riscv compiler. To compensate, give the first app more memory.

Co-authored-by: Brad Campbell <[email protected]>
  • Loading branch information
bors[bot] and bradjc authored Jul 15, 2020
2 parents c186cfc + 358b904 commit 468e84a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration.mk
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ TOCK_TARGETS ?= cortex-m0 cortex-m3 cortex-m4
else
# Include the RISC-V targets.
# rv32imac|rv32imac.0x20040040.0x80002400 # RISC-V for HiFive1b
# rv32imac|rv32imac.0x4043*.0x8000* # RISC-V for arty-e21
# rv32imac|rv32imac.0x404*.0x8000* # RISC-V for arty-e21
# rv32imc|rv32imc.0x20030040.0x10002D00 # RISC-V for OpenTitan
TOCK_TARGETS ?= cortex-m0\
cortex-m3\
cortex-m4\
rv32imac|rv32imac.0x20040040.0x80002400|0x20040040|0x80002400\
rv32imac|rv32imac.0x40430060.0x80004000|0x40430060|0x80004000\
rv32imac|rv32imac.0x40434060.0x80006000|0x40434060|0x80006000\
rv32imac|rv32imac.0x40440060.0x80007000|0x40440060|0x80007000\
rv32imc|rv32imc.0x20030040.0x10002D00|0x20030040|0x10002D00
endif

Expand Down

0 comments on commit 468e84a

Please sign in to comment.