optional: warn about functions with high stack usage
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user