Possible to use C++17

Meh, using the standard espressif32 platform isn’t nice since they’re so behind the current version.

Try using

[env:esp32doit-devkit-v1]
platform = https://github.com/Jason2866/platform-espressif32.git
board = esp32doit-devkit-v1
framework = arduino
build_flags =
    -std=gnu++17
build_unflags =
    -std=gnu++11

instead.

(After saving the `platformio.ini´, the task refreshing will take some minutes because it has to download tons of stuff)

1 Like