diff --git a/platformio.ini b/platformio.ini index c9e0ad2..7e2cc48 100644 --- a/platformio.ini +++ b/platformio.ini @@ -56,10 +56,6 @@ lib_deps = mathieucarbou/MycilaTrafficLight @ 1.0.0 https://github.com/mathieucarbou/fabianoriccardi-dimmable-light#dev build_flags = - -D BUILD_NAME=\"$PIOENV\" - -Wall -Wextra - -std=c++17 - -std=gnu++17 -D ARDUINO_LOOP_STACK_SIZE=4096 -D CONFIG_ASYNC_TCP_QUEUE_SIZE=128 -D CONFIG_ASYNC_TCP_RUNNING_CORE=1 @@ -84,6 +80,9 @@ build_flags = -D NETWORK_FREQ_RUNTIME -D WS_MAX_QUEUED_MESSAGES=64 -D YASOLR_DISABLE_BROWNOUT_DETECTOR + -Wall -Wextra + -std=c++17 + -std=gnu++17 build_unflags = -std=gnu++11 board_build.partitions = partitions.csv