optional: warn about functions with high stack usage

This commit is contained in:
Frank
2023-04-14 19:08:41 +02:00
parent 3e2a6848f9
commit 05c3e569f1

View File

@@ -916,6 +916,7 @@ build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} ${esp32.build_flagsV4} ${common_mm.build_flags_S}
-Wno-misleading-indentation -Wno-format-truncation
-Wshadow=compatible-local ;; emit warning in case a local variable "shadows" another local one
;-Wstack-usage=2732 ;; warn if a function needs more that 30% of availeable stack ("stack usage might be unbounded", "stack usage is 2824 bytes")
-D WLED_ENABLE_DMX_INPUT
lib_deps = ${esp32.lib_depsV4} ${common_mm.lib_deps_S}
board_build.partitions = ${esp32.default_partitions}