Files
Hotdog/platformio.ini

49 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
-D RF_ID=0x2EC8 ; Copied from PowerView Hub userdata API, eg: http://POWERVIEW_HUB_IP_ADDRESS/api/userdata/ and find the field labeled "rfID"
lib_deps =
${env.lib_deps}
nrf24/RF24@^1.4.11
plapointe6/EspMQTTClient@^1.13.3
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 =
bblanchon/ArduinoJson@^7.3.0