mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
The check in the code was for #ifndef BUILD_NO_DEBUG. But even when it is defined as 0, it is still defined. So the code was still included in the binary.
20 lines
430 B
Python
20 lines
430 B
Python
Import("env")
|
|
|
|
# access to global construction environment
|
|
#print env
|
|
|
|
# Dump construction environment (for debug purpose)
|
|
#print env.Dump()
|
|
|
|
# append extra flags to global build environment
|
|
# which later will be used to build:
|
|
# - project source code
|
|
# - frameworks
|
|
# - dependent libraries
|
|
env.Append(CPPDEFINES=[
|
|
"PIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y",
|
|
"CONTROLLER_SET_NONE",
|
|
"NOTIFIER_SET_NONE",
|
|
"PLUGIN_SET_NONE"
|
|
])
|