Files
PowerViewSniffer/platformio.ini

25 lines
768 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
[env:nodemcuv2]
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. Open http://POWERVIEW_HUB_IP_ADDRESS/api/userdata/ and find the field labeled "rfID"
[env]
monitor_speed = 115200
lib_deps =
RFPowerView=https://github.com/mattyway/RFPowerView#v0.0.3