Closed
Description
Basic Infos
- This issue complies with the issue POLICY doc.
- I have read the documentation at readthedocs and the issue is not addressed there.
- I have tested that the issue is present in current master branch (aka latest git).
- I have searched the issue tracker for a similar issue.
- If there is a stack dump, I have decoded it.
- I have filled out all fields below.
Platform
- Hardware: [ESP-12]
- Core Version: [latest git hash or date]
- Development Env: [Platformio]
- Operating System: [Windows]
Settings in IDE
- Module: [Generic ESP8266 Module]
- Flash Mode: [dio]
- Flash Size: [4MB]
- lwip Variant: [v2 Lower Memory|Higher Bandwidth]
- Reset Method: [nodemcu]
- Flash Frequency: [40Mhz]
- CPU Frequency: [80Mhz]
- Upload Using: [OTA|SERIAL]
- Upload Speed: [115200] (serial upload only)
Problem Description
Trying to build the 'staging' version of the esp8266/Arduino code and my compiler keeps complaining about not recognizing the -std=c17
flag.
xtensa-lx106-elf-gcc: error: unrecognized command line option '-std=c17'
Tried in PlatformIO several things, like changing the platform
version.
The current version I'm having (which is not working):
platform = [email protected]
platform_packages =
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
build_flags = ${esp82xx_2_6_x.build_flags}
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191122
-Wno-deprecated-declarations
-std=gnu99
-std=c++11
build_unflags = -std=c17
-std=gnu++17
So my question is, what should be done to make it compile in Windows?
By the way, tried it in Linux and without any extras installed (not tested any) it will also not compile there.
Metadata
Metadata
Assignees
Labels
No labels