31 lines
830 B
INI
31 lines
830 B
INI
; Self-contained PlatformIO project for the AutoProvision example.
|
|
;
|
|
; The radio region is set via build flags — the same LORA_* defines you'd use
|
|
; when compiling MeshCore firmware. Override them here for your region.
|
|
;
|
|
; cd examples/AutoProvision
|
|
; pio run -t upload
|
|
; pio device monitor
|
|
;
|
|
; The library is pulled from the repo root (two levels up) via a relative
|
|
; symlink dependency, so there's no copy of the source.
|
|
|
|
[env:esp32-s3]
|
|
platform = espressif32
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
lib_deps = symlink://../..
|
|
|
|
build_flags =
|
|
; host UART pins to the companion
|
|
-D UART_RX_PIN=17
|
|
-D UART_TX_PIN=18
|
|
-D UART_BAUD=115200
|
|
; AU narrow band radio region
|
|
-D LORA_FREQ=916.575
|
|
-D LORA_BW=62.5
|
|
-D LORA_SF=7
|
|
-D LORA_CR=8
|
|
-D LORA_TX_POWER=20
|