sforkowany z mirror/meshtastic-firmware
update build instructions for RAK815
rodzic
d9fd227862
commit
cc35ed7782
|
@ -1,13 +1,13 @@
|
||||||
# NRF52 TODO
|
# NRF52 TODO
|
||||||
|
|
||||||
|
|
||||||
## RAK815
|
## RAK815
|
||||||
|
|
||||||
### Bootloader
|
### Bootloader
|
||||||
Installing the adafruit bootloader is optional - I think the stock bootloader will work okay for most.
|
|
||||||
|
Install our (temporarily hacked up) adafruit bootloader
|
||||||
|
|
||||||
```
|
```
|
||||||
kevinh@kevin-server:~/development/meshtastic/Adafruit_nRF52_Bootloader$ make BOARD=rak815 flash
|
kevinh@kevin-server:~/development/meshtastic/Adafruit_nRF52_Bootloader$ make BOARD=rak815 sd flash
|
||||||
LD rak815_bootloader-0.3.2-111-g9478eb7-dirty.out
|
LD rak815_bootloader-0.3.2-111-g9478eb7-dirty.out
|
||||||
text data bss dec hex filename
|
text data bss dec hex filename
|
||||||
20888 1124 15006 37018 909a _build/build-rak815/rak815_bootloader-0.3.2-111-g9478eb7-dirty.out
|
20888 1124 15006 37018 909a _build/build-rak815/rak815_bootloader-0.3.2-111-g9478eb7-dirty.out
|
||||||
|
@ -45,7 +45,7 @@ nrf52840 256KB RAM, 1MB flash
|
||||||
|
|
||||||
Manual hacks needed to build (for now):
|
Manual hacks needed to build (for now):
|
||||||
|
|
||||||
kevinh@kevin-server:~/.platformio/packages/framework-arduinoadafruitnrf52/variants$ ln -s ~/development/meshtastic/meshtastic-esp32/variants/* .
|
kevinh@kevin-server:~/.platformio/packages/framework-arduinoadafruitnrf52/variants\$ ln -s ~/development/meshtastic/meshtastic-esp32/variants/\* .
|
||||||
|
|
||||||
## Initial work items
|
## Initial work items
|
||||||
|
|
||||||
|
|
|
@ -186,8 +186,8 @@ board = adafruit_feather_nrf52832
|
||||||
[env:rak815]
|
[env:rak815]
|
||||||
extends = nrf52_base
|
extends = nrf52_base
|
||||||
board = rak815
|
board = rak815
|
||||||
; hack to force TINYUSB to be disabled - something is wrong in the adafruilt dependencies
|
debug_tool = jlink
|
||||||
; build_flags = ${nrf52_base.build_flags}-UUSE_TINYUSB
|
upload_protocol = jlink
|
||||||
|
|
||||||
# For experimenting with RAM sizes
|
# For experimenting with RAM sizes
|
||||||
# board_build.ldscript = linker/nrf52840_s140_sim832.ld
|
# board_build.ldscript = linker/nrf52840_s140_sim832.ld
|
||||||
|
|
Ładowanie…
Reference in New Issue