diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f92eed..80f1055 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,4 +23,12 @@ idf_component_register( ${dependencies} ) -target_compile_options(${COMPONENT_TARGET} PRIVATE -Wno-unused-function -Wno-deprecated-declarations -Wno-missing-field-initializers) +target_compile_options(${COMPONENT_TARGET} + PRIVATE + -fstack-reuse=all + -fstack-protector-all + -Wno-unused-function + -Wno-deprecated-declarations + -Wno-missing-field-initializers + -Wno-parentheses +)