Tasmota/pio-tools/add_c_flags.py
Christian Baars b5cc48dd64
ESP32: pass flashmode at build time to macro definition (#19299)
* pass flashmode at build time to macro definition

* fix 8266 builds
2023-08-12 11:31:06 +02:00

8 lines
267 B
Python

Import("env")
# General options that are passed to the C compiler (C only; not C++).
env.Append(CFLAGS=["-Wno-discarded-qualifiers", "-Wno-implicit-function-declaration"])
# General options that are passed to the C++ compiler
env.Append(CXXFLAGS=["-Wno-volatile"])