@ -32,125 +32,60 @@ lib_deps =
https://github.com/JChristensen/Timezone @ ^1.2.4
olikraus/U8g2 @ ^2.34.17
zinggjm/GxEPD2 @ ^1.5.2
build_flags =
-std = c++17
-std = gnu++17
build_unflags =
-std = gnu++11
[env:esp8266-release]
[env:esp8266]
platform = espressif8266
board = esp12e
board_build.f_cpu = 80000000L
build_flags =
-D RELEASE
-std = gnu++17
build_flags = ${env.build_flags}
-DEMC_MIN_FREE_MEMORY = 4096
;-Wl,-Map,output.map
monitor_filters =
esp8266_exception_decoder
[env:esp8266-release- prometheus]
[env:esp8266-prometheus]
platform = espressif8266
board = esp12e
board_build.f_cpu = 80000000L
build_flags =
-D RELEASE
-std = gnu++17
build_flags = ${env.build_flags}
-DENABLE_PROMETHEUS_EP
-DEMC_MIN_FREE_MEMORY = 4096
monitor_filters =
esp8266_exception_decoder
[env:esp8266-debug]
platform = espressif8266
board = esp12e
board_build.f_cpu = 80000000L
build_flags =
-DDEBUG_LEVEL = DBG_DEBUG
-std = gnu++17
-DEMC_MIN_FREE_MEMORY = 4096
-DDEBUG_ESP_CORE
-DDEBUG_ESP_WIFI
-DDEBUG_ESP_HTTP_CLIENT
-DDEBUG_ESP_HTTP_SERVER
-DDEBUG_ESP_OOM
-DDEBUG_ESP_PORT = Serial
-DPIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
build_type = debug
monitor_filters =
time ; Add timestamp with milliseconds for each new line
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory
[env:esp8285-release]
[env:esp8285]
platform = espressif8266
board = esp8285
board_build.ldscript = eagle.flash.1m64.ld
board_build.f_cpu = 80000000L
build_flags =
-D RELEASE
-std = gnu++17
build_flags = ${env.build_flags}
-DEMC_MIN_FREE_MEMORY = 4096
monitor_filters =
time ; Add timestamp with milliseconds for each new line
[env:esp8285-debug]
platform = espressif8266
board = esp8285
board_build.ldscript = eagle.flash.1m64.ld
board_build.f_cpu = 80000000L
build_flags =
-DDEBUG_LEVEL = DBG_DEBUG
-DEMC_MIN_FREE_MEMORY = 4096
-DDEBUG_ESP_CORE
-DDEBUG_ESP_WIFI
-DDEBUG_ESP_HTTP_CLIENT
-DDEBUG_ESP_HTTP_SERVER
-DDEBUG_ESP_OOM
-DDEBUG_ESP_PORT = Serial
build_type = debug
monitor_filters =
time ; Add timestamp with milliseconds for each new line
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory
esp8266_exception_decoder
[env:esp32-wroom32-release ]
[env:esp32-wroom32]
platform = espressif32@6.1.0
board = lolin_d32
build_flags =
-D RELEASE
-std = gnu++17
build_unflags = -std=gnu++11
build_flags = ${env.build_flags}
monitor_filters =
esp32_exception_decoder
[env:esp32-wroom32-release- prometheus]
[env:esp32-wroom32-prometheus]
platform = espressif32@6.1.0
board = lolin_d32
build_flags =
-D RELEASE
-std = gnu++17
build_flags = ${env.build_flags}
-DENABLE_PROMETHEUS_EP
build_unflags = -std=gnu++11
monitor_filters =
esp32_exception_decoder
[env:esp32-wroom32-debug]
platform = espressif32@6.1.0
board = lolin_d32
build_flags =
-DDEBUG_LEVEL = DBG_DEBUG
-DDEBUG_ESP_CORE
-DDEBUG_ESP_WIFI
-DDEBUG_ESP_HTTP_CLIENT
-DDEBUG_ESP_HTTP_SERVER
-DDEBUG_ESP_OOM
-DDEBUG_ESP_PORT = Serial
-std = gnu++17
build_unflags = -std=gnu++11
build_type = debug
monitor_filters =
time ; Add timestamp with milliseconds for each new line
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory
[env:esp32-wroom32-ethernet-release]
[env:esp32-wroom32-ethernet]
platform = espressif32
board = esp32dev
lib_deps =
@ -163,25 +98,32 @@ lib_deps =
https://github.com/JChristensen/Timezone @ ^1.2.4
olikraus/U8g2 @ ^2.34.17
zinggjm/GxEPD2 @ ^1.5.2
build_flags =
build_flags = ${env.build_flags}
-D ETHERNET
-DRELEASE
-DLOG_LOCAL_LEVEL = ESP_LOG_INFO
-DDEBUG_LEVEL = DBG_INFO
-std = gnu++17
build_unflags = -std=gnu++11
monitor_filters =
esp32_exception_decoder
[env:opendtufusionv1-release ]
[env:opendtufusionv1]
platform = espressif32@6.1.0
board = esp32-s3-devkitc-1
upload_protocol = esp-builtin
debug_tool = esp-builtin
debug_speed = 12000
build_flags =
-D RELEASE
-std = gnu++17
build_unflags = -std=gnu++11
build_flags = ${env.build_flags}
-DDEF_NRF_CS_PIN = 37
-DDEF_NRF_CE_PIN = 38
-DDEF_NRF_IRQ_PIN = 47
-DDEF_NRF_MISO_PIN = 48
-DDEF_NRF_MOSI_PIN = 35
-DDEF_NRF_SCLK_PIN = 36
-DDEF_CMT_CSB = 4
-DDEF_CMT_FCSB = 21
-DDEF_CMT_IRQ = 8
-DDEF_LED0 = 17
-DDEF_LED1 = 18
-DLED_ACTIVE_HIGH
monitor_filters =
time ; Add timestamp with milliseconds for each new line
esp32_exception_decoder