Files
iris-kit/platformio.ini
2024-02-05 16:01:30 +08:00

41 lines
1.0 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
[common]
board_1m = esp01
ldscript_1m = eagle.flash.1m192.ld
workspace = D:/Project/irext/iris-kit
[env]
platform = espressif8266
framework = arduino
monitor_speed = 115200
upload_speed = 115200
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
board_build.flash_mode = dout
build_flags =
-Wno-unused-function
-Wno-unused-variable
-DLOG_DEBUG=1
-DLOG_INFO=1
-DLOG_ERROR=1
-I${common.workspace}/lib/IRext/include
[env:esp8266-1m-base]
board = ${common.board_1m}
board_build.ldscript = ${common.ldscript_1m}
lib_deps =
WifiManager@^2.0.11
PubSubClient@^2.8
rweather/Crypto@^0.2.0
sui77/rc-switch@^2.6.4
ArduinoJson@^6.0
IRremoteESP8266@^2.8.6