Skip to content

Commit

Permalink
olimex-stm32-p407: adjust memory layout
Browse files Browse the repository at this point in the history
LD: nuttx
arm-none-eabi-ld: /home/ligd/platform/mainline/nuttx/nuttx section `.bss' will not fit in region `ksram'
arm-none-eabi-ld: region `ksram' overflowed by 40 bytes
make[1]: *** [Makefile:212: nuttx] Error 1
make: *** [tools/Unix.mk:538: nuttx] Error 2

Signed-off-by: ligd <[email protected]>
  • Loading branch information
GUIDINGLI authored and xiaoxiang781216 committed Sep 17, 2024
1 parent 5975cc9 commit 9a9d0a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/arm/stm32/olimex-stm32-p407/scripts/memory.ld
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ MEMORY

/* 112Kb of contiguous SRAM */

ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K
usram (rwx) : ORIGIN = 0x20002000, LENGTH = 8K
xsram (rwx) : ORIGIN = 0x20008000, LENGTH = 96K
ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 16K
usram (rwx) : ORIGIN = 0x20004000, LENGTH = 16K
xsram (rwx) : ORIGIN = 0x20008000, LENGTH = 80K
}

0 comments on commit 9a9d0a6

Please sign in to comment.