32 lines
1012 B
INI
32 lines
1012 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 = nrf52beacon
|
|
|
|
[env:nrf52beacon]
|
|
platform = nordicnrf52
|
|
framework = zephyr
|
|
platform_packages =
|
|
platformio/framework-zephyr@^2.30400.230705
|
|
platformio/toolchain-gccarmnoneeabi@^1.120201.221222
|
|
board = nrf52_dk
|
|
#build_flags = -DNRF51_S130
|
|
#board_build.variant = CJMCU_LIS3DH
|
|
monitor_speed = 115200
|
|
extra_scripts = pre:extra_script.py
|
|
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
|
|
; time ; Add timestamp with milliseconds for each new line
|