50 lines
1.1 KiB
INI
50 lines
1.1 KiB
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
|
|
|
|
[env:release]
|
|
platform = espressif8266
|
|
board = nodemcuv2
|
|
framework = arduino
|
|
build_flags =
|
|
-D RF_CE_PIN=5
|
|
-D RF_CS_PIN=15
|
|
-D RF_IRQ_PIN=4
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
|
|
nrf24/RF24@^1.4.8
|
|
|
|
plapointe6/EspMQTTClient@^1.13.3
|
|
|
|
contrem/arduino-timer@^3.0.1
|
|
|
|
RFPowerView=https://git.mattway.com.au/matt/RFPowerView.git#v0.0.3
|
|
|
|
[env:test_embedded]
|
|
platform = espressif8266
|
|
board = nodemcuv2
|
|
framework = arduino
|
|
build_type = test
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
|
|
[env:test_desktop]
|
|
platform = native
|
|
build_type = test
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
ArduinoFake
|
|
|
|
[env]
|
|
monitor_speed = 115200
|
|
test_framework = unity
|
|
lib_deps =
|
|
ArduinoJson=https://github.com/bblanchon/ArduinoJson#v7.0.4
|