29 lines
915 B
INI
29 lines
915 B
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
[platformio]
|
|
default_envs = nrf52
|
|
|
|
[env:nrf52]
|
|
platform = nordicnrf52
|
|
framework = zephyr
|
|
platform_packages =
|
|
platformio/framework-zephyr@^2.30400.230705
|
|
platformio/toolchain-gccarmnoneeabi@^1.120201.221222
|
|
#board = ebyte_e73_tbb_nrf52832
|
|
board = xiao_ble
|
|
#build_flags = -DNRF51_S130
|
|
#board_build.variant = CJMCU_LIS3DH
|
|
upload_protocol = custom
|
|
upload_command = echo "rtt stop; halt; program $PROJECT_DIR/$SOURCE verify reset; rtt start" | ncat localhost 4444
|
|
monitor_port = socket://localhost:9090
|
|
monitor_filters =
|
|
direct
|
|
monitor_speed = 115200
|