File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,25 @@ add_custom_command(
3333 VERBATIM
3434)
3535add_custom_target (mem-variant DEPENDS "mem_variant" )
36+
37+ ##################
38+ ### ESP Matter ###
39+ ##################
40+
41+ idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-DCHIP_HAVE_CONFIG_H" APPEND )
42+
43+ # WARNING: This is just an example for using key for decrypting the encrypted OTA image
44+ # Please do not use it as is.
45+ #if(CONFIG_ENABLE_ENCRYPTED_OTA)
46+ # target_add_binary_data(light.elf "esp_image_encryption_key.pem" TEXT)
47+ #endif()
48+
49+ #if(CONFIG_IDF_TARGET_ESP32C2)
50+ # include(relinker)
51+ #endif()
52+
53+ #idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-Os;-DCHIP_HAVE_CONFIG_H" APPEND)
54+ #idf_build_set_property(C_COMPILE_OPTIONS "-Os" APPEND)
55+ # For RISCV chips, project_include.cmake sets -Wno-format, but does not clear various
56+ # flags that depend on -Wformat
57+ #idf_build_set_property(COMPILE_OPTIONS "-Wno-format-nonliteral;-Wno-format-security" APPEND)
You can’t perform that action at this time.
0 commit comments