Files
ESPEasy/pre_memanalyze.py
T
Gijs Noorlander 523541e7f5 [MemAnalyzer] Fix MemAnalyzer.py script to work with USES_.... defines
The MemAnalyzer tool was not able to perform a proper analysis of the current builds, since we introduced the `USES_P001` syntax of defines to determine what should be included and what not.
2019-09-02 00:49:31 +02:00

22 lines
465 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",
("WEBSERVER_RULES_DEBUG", "0")
])