完全没有报错了

This commit is contained in:
zqm
2026-04-03 09:43:49 +08:00
parent 3fdd9f7817
commit cf7ae28b1b
50 changed files with 5415 additions and 3533 deletions

View File

@@ -1,4 +1,4 @@
idf_component_register(SRCS "my_usb_project.c" "../rust_app/rust_app_wrapper.c" "stack_note.S"
idf_component_register(SRCS "my_usb_project.c" "../rust_app/rust_app_wrapper.c"
INCLUDE_DIRS "."
PRIV_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../rust_app")

View File

@@ -77,7 +77,7 @@ void app_main(void)
.xCoreID = 0,
},
.descriptor = {
.device = (const uint8_t *) &desc_device,
.device = &desc_device,
.qualifier = NULL,
.string = hid_string_descriptor,
.string_count = sizeof(hid_string_descriptor) / sizeof(hid_string_descriptor[0]),

View File

@@ -1,3 +0,0 @@
.section .note.GNU-stack,"",%progbits