Browse Source

another try to compile successfully

pull/958/head
lumapu 1 year ago
parent
commit
2e71401d09
  1. 18
      src/platformio.ini
  2. 2
      src/publisher/pubMqtt.h

18
src/platformio.ini

@ -30,7 +30,7 @@ lib_deps =
bblanchon/ArduinoJson @ ^6.21.2 bblanchon/ArduinoJson @ ^6.21.2
https://github.com/JChristensen/Timezone @ ^1.2.4 https://github.com/JChristensen/Timezone @ ^1.2.4
olikraus/U8g2 @ ^2.34.17 olikraus/U8g2 @ ^2.34.17
zinggjm/GxEPD2 @ ^1.5.0 zinggjm/GxEPD2 @ ^1.5.2
[env:esp8266-release] [env:esp8266-release]
@ -98,9 +98,9 @@ monitor_filters =
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory
[env:esp32-wroom32-release] [env:esp32-wroom32-release]
platform = espressif32@>=6.1.0 platform = espressif32@6.1.0
board = lolin_d32 board = lolin_d32
build_flags = -D RELEASE -std=gnu++14 build_flags = -D RELEASE -std=gnu++17
build_unflags = -std=gnu++11 build_unflags = -std=gnu++11
monitor_filters = monitor_filters =
;default ; Remove typical terminal control codes from input ;default ; Remove typical terminal control codes from input
@ -109,10 +109,10 @@ monitor_filters =
esp32_exception_decoder esp32_exception_decoder
[env:esp32-wroom32-release-prometheus] [env:esp32-wroom32-release-prometheus]
platform = espressif32@>=6.1.0 platform = espressif32@6.1.0
board = lolin_d32 board = lolin_d32
build_flags = -D RELEASE build_flags = -D RELEASE
-std=gnu++14 -std=gnu++17
-DENABLE_PROMETHEUS_EP -DENABLE_PROMETHEUS_EP
build_unflags = -std=gnu++11 build_unflags = -std=gnu++11
monitor_filters = monitor_filters =
@ -122,7 +122,7 @@ monitor_filters =
esp32_exception_decoder esp32_exception_decoder
[env:esp32-wroom32-debug] [env:esp32-wroom32-debug]
platform = espressif32@>=6.1.0 platform = espressif32@6.1.0
board = lolin_d32 board = lolin_d32
build_flags = -DDEBUG_LEVEL=DBG_DEBUG build_flags = -DDEBUG_LEVEL=DBG_DEBUG
-DDEBUG_ESP_CORE -DDEBUG_ESP_CORE
@ -131,7 +131,7 @@ build_flags = -DDEBUG_LEVEL=DBG_DEBUG
-DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_HTTP_SERVER
-DDEBUG_ESP_OOM -DDEBUG_ESP_OOM
-DDEBUG_ESP_PORT=Serial -DDEBUG_ESP_PORT=Serial
-std=gnu++14 -std=gnu++17
build_unflags = -std=gnu++11 build_unflags = -std=gnu++11
build_type = debug build_type = debug
monitor_filters = monitor_filters =
@ -140,13 +140,13 @@ monitor_filters =
log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory
[env:opendtufusionv1-release] [env:opendtufusionv1-release]
platform = espressif32@>=6.1.0 platform = espressif32@6.1.0
board = esp32-s3-devkitc-1 board = esp32-s3-devkitc-1
upload_protocol = esp-builtin upload_protocol = esp-builtin
upload_speed = 115200 upload_speed = 115200
debug_tool = esp-builtin debug_tool = esp-builtin
debug_speed = 12000 debug_speed = 12000
build_flags = -D RELEASE -std=gnu++14 build_flags = -D RELEASE -std=gnu++17
build_unflags = -std=gnu++11 build_unflags = -std=gnu++11
monitor_filters = monitor_filters =
;default ; Remove typical terminal control codes from input ;default ; Remove typical terminal control codes from input

2
src/publisher/pubMqtt.h

@ -564,7 +564,7 @@ class PubMqtt {
void sendIvData() { void sendIvData() {
bool anyAvail = processIvStatus(); bool anyAvail = processIvStatus();
if (mLastAnyAvail != anyAvail) if (mLastAnyAvail != anyAvail)
mSendList.push(RealTimeRunData_Debug); // makes shure that total values are calculated mSendList.push(RealTimeRunData_Debug); // makes sure that total values are calculated
if(mSendList.empty()) if(mSendList.empty())
return; return;

Loading…
Cancel
Save