2025-01-11 03:43:48 +01:00
|
|
|
; Firmware for the WisMesh HUB RAK2560, including a onewire module to talk to the RAK 9154 solar battery.
|
2024-06-16 14:24:36 +08:00
|
|
|
[env:rak2560]
|
|
|
|
|
extends = nrf52840_base
|
|
|
|
|
board = wiscore_rak4631
|
|
|
|
|
board_check = true
|
2024-06-16 21:06:38 +08:00
|
|
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/rak2560 -D RAK_4631
|
2024-06-16 14:24:36 +08:00
|
|
|
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
|
2025-01-11 03:43:48 +01:00
|
|
|
-DRADIOLIB_EXCLUDE_SX128X=1
|
|
|
|
|
-DRADIOLIB_EXCLUDE_SX127X=1
|
|
|
|
|
-DRADIOLIB_EXCLUDE_LR11X0=1
|
2024-06-16 14:24:36 +08:00
|
|
|
-DHAS_RAKPROT=1 ; Define if RAk OneWireSerial is used (disables GPS)
|
2025-01-11 03:43:48 +01:00
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/rak2560> +<mesh/api/> +<mqtt/>
|
2024-06-16 14:24:36 +08:00
|
|
|
lib_deps =
|
|
|
|
|
${nrf52840_base.lib_deps}
|
|
|
|
|
${networking_base.lib_deps}
|
|
|
|
|
melopero/Melopero RV3028@^1.1.0
|
2025-03-29 12:19:05 +01:00
|
|
|
https://github.com/beegee-tokyo/RAK-OneWireSerial/archive/0.0.2.zip
|
2024-06-16 14:24:36 +08:00
|
|
|
debug_tool = jlink
|
|
|
|
|
; If not set we will default to uploading over serial (first it forces bootloader entry by talking 1200bps to cdcacm)
|
|
|
|
|
;upload_protocol = jlink
|