diff --git a/ESP32/my_usb_project/main/CMakeLists.txt b/ESP32/my_usb_project/main/CMakeLists.txt index 69af8b9..d8a4462 100644 --- a/ESP32/my_usb_project/main/CMakeLists.txt +++ b/ESP32/my_usb_project/main/CMakeLists.txt @@ -1,4 +1,4 @@ -idf_component_register(SRCS "my_usb_project.c" "../rust_app/rust_app_wrapper.c" +idf_component_register(SRCS "my_usb_project.c" "../rust_app/rust_app_wrapper.c" "stack_note.S" INCLUDE_DIRS "." PRIV_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../rust_app") diff --git a/ESP32/my_usb_project/main/stack_note.S b/ESP32/my_usb_project/main/stack_note.S new file mode 100644 index 0000000..61a6f9e --- /dev/null +++ b/ESP32/my_usb_project/main/stack_note.S @@ -0,0 +1,3 @@ + + .section .note.GNU-stack,"",%progbits +