mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
85 lines
2.0 KiB
INI
85 lines
2.0 KiB
INI
;
|
|
; PlatformIO Project Configuration File for EMS-ESP
|
|
;
|
|
|
|
[platformio]
|
|
;default_envs = release
|
|
default_envs = debug
|
|
;default_envs = crash
|
|
;default_envs = tests
|
|
|
|
[common]
|
|
; build options are:
|
|
; -DMYESP_TIMESTAMP
|
|
; -DTESTS
|
|
; -DCRASH
|
|
; -DFORCE_SERIAL
|
|
; -DLOGICANALYZER
|
|
|
|
;general_flags = -g -w -DNO_GLOBAL_EEPROM -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -DBEARSSL_SSL_BASIC
|
|
general_flags = -g -w -DNO_GLOBAL_EEPROM
|
|
;general_flags =
|
|
|
|
[env]
|
|
;board = esp12e
|
|
board = d1_mini
|
|
framework = arduino
|
|
platform = espressif8266
|
|
lib_deps =
|
|
https://github.com/bakercp/CRC32
|
|
https://github.com/rlogiacco/CircularBuffer
|
|
https://github.com/PaulStoffregen/OneWire
|
|
https://github.com/xoseperez/justwifi
|
|
https://github.com/marvinroger/async-mqtt-client
|
|
https://github.com/xoseperez/eeprom_rotate
|
|
https://github.com/bblanchon/ArduinoJson
|
|
https://github.com/me-no-dev/ESPAsyncUDP
|
|
https://github.com/me-no-dev/ESPAsyncTCP
|
|
https://github.com/me-no-dev/ESPAsyncWebServer#b0c6144
|
|
upload_speed = 921600
|
|
monitor_speed = 115200
|
|
|
|
; example ports for OSX
|
|
;upload_port = /dev/cu.wchusbserial14403
|
|
;upload_port = /dev/cu.usbserial-1440
|
|
|
|
; uncomment next 2 lines for OTA
|
|
;upload_protocol = espota
|
|
;upload_port = ems-esp.local
|
|
|
|
[env:buildweb]
|
|
extra_scripts = pre:scripts/buildweb.py
|
|
|
|
[env:tests]
|
|
build_type = debug
|
|
build_flags = ${common.general_flags} -DTESTS
|
|
extra_scripts =
|
|
pre:scripts/rename_fw.py
|
|
pre:scripts/buildweb.py
|
|
|
|
[env:crash]
|
|
build_type = debug
|
|
build_flags = ${common.general_flags} -DNO_GLOBAL_EEPROM -DCRASH
|
|
extra_scripts =
|
|
pre:scripts/rename_fw.py
|
|
pre:scripts/buildweb.py
|
|
|
|
[env:debug]
|
|
build_type = debug
|
|
build_flags = ${common.general_flags}
|
|
extra_scripts =
|
|
pre:scripts/rename_fw.py
|
|
pre:scripts/buildweb.py
|
|
|
|
[env:clean]
|
|
extra_scripts = pre:scripts/clean_fw.py
|
|
|
|
[env:release]
|
|
build_flags = ${common.general_flags} -DNO_GLOBAL_EEPROM
|
|
extra_scripts = pre:scripts/rename_fw.py
|
|
|
|
[env:checkcode]
|
|
build_type = debug
|
|
build_flags = ${common.general_flags} -Wall
|
|
extra_scripts = scripts/checkcode.py
|