完全没有报错了
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -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]),
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
||||
Reference in New Issue
Block a user