Skip to content

Commit

Permalink
Linker script only uses 16K ram
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebiroll committed Feb 10, 2018
1 parent 7bc933a commit 2498d8c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ It compiles and flashes but when I got blinky to run
the speed was way to low,

# Add new board definition
Edit rak811.json as the linker script is an absolute path.
cp rak811.json .platformio/platforms/ststm32/boards/rak811.json

The earlier versions of the board only had 16K ram so stm32l15xx6.ld is default as linker script.
If you want to use the full 32K ram you can change this line before copy
"ldscript": "/home/olof/rak/STM32L151XBA_FLASH.ld"
cp rak811.json ~/.platformio/platforms/ststm32/boards/rak811.json


# compile
Expand Down

0 comments on commit 2498d8c

Please sign in to comment.