Skip to content

Commit

Permalink
Added boards to platform.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebiroll committed May 15, 2018
1 parent 6baf428 commit 7453e19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ The earlier versions of the board only had 16K ram so stm32l15xx6.ld is default
If you want to use the full 32K ram you can change this line before copy
"ldscript": "/home/olof/rak/STM32L151XBA_FLASH.ld"

Note, This step is not necessary as we have added boards_dir = . to platformio.ini

If you use, platformio ide, press

1) Home button
2) Platforms/ST STM32 reveal button

![instruction](instruction.png)


cp rak811.json ~/.platformio/platforms/ststm32/boards/rak811.json

Expand Down
3 changes: 3 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html1

[platformio]
env_default = rak811
boards_dir = .

[env:rak811]
lib_dir = lib
Expand Down
1 change: 1 addition & 0 deletions rak811.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"frameworks": [
"mbed",
"cmsis",
"libopencm3",
"stm32cube"
],
"name": "Rak811",
Expand Down

0 comments on commit 7453e19

Please sign in to comment.