解决看门狗异常
This commit is contained in:
@@ -1 +1 @@
|
|||||||
2ec9e87a984fde25990341f1c9b27fdc D:/Projects/trunk/JoyD/ESP32/my_usb_project/build/my_usb_project.bin
|
36041ac19d4285eaabcbe85252d449f3 D:/Projects/trunk/JoyD/ESP32/my_usb_project/build/my_usb_project.bin
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
e4dd0cc8b7f65da4aed971ea6fde9ec5e9e9770c
|
81f91b648971eee89408e0c120415d533d52914b
|
||||||
|
|||||||
@@ -120,3 +120,5 @@
|
|||||||
15 132 7967177583820428 D:/Projects/trunk/JoyD/ESP32/my_usb_project/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
15 132 7967177583820428 D:/Projects/trunk/JoyD/ESP32/my_usb_project/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
||||||
18 128 7967177854402774 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
18 128 7967177854402774 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
||||||
18 128 7967177854402774 D:/Projects/trunk/JoyD/ESP32/my_usb_project/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
18 128 7967177854402774 D:/Projects/trunk/JoyD/ESP32/my_usb_project/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
||||||
|
25 209 7967243525037285 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
||||||
|
25 209 7967243525037285 D:/Projects/trunk/JoyD/ESP32/my_usb_project/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 3e73059819fce7a4
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -562,10 +562,14 @@ SECTIONS
|
|||||||
_rodata_start = ABSOLUTE(.);
|
_rodata_start = ABSOLUTE(.);
|
||||||
*(.rodata_desc .rodata_desc.*) /* Should be the first. App version info. DO NOT PUT ANYTHING BEFORE IT! */
|
*(.rodata_desc .rodata_desc.*) /* Should be the first. App version info. DO NOT PUT ANYTHING BEFORE IT! */
|
||||||
*(.rodata_custom_desc .rodata_custom_desc.*) /* Should be the second. Custom app version info. DO NOT PUT ANYTHING BEFORE IT! */
|
*(.rodata_custom_desc .rodata_custom_desc.*) /* Should be the second. Custom app version info. DO NOT PUT ANYTHING BEFORE IT! */
|
||||||
|
/* Create an empty gap within this section. Thanks to this, the end of this
|
||||||
|
|
||||||
|
* section will match .flah.rodata's begin address. Thus, both sections
|
||||||
|
|
||||||
|
* will be merged when creating the final bin image. */
|
||||||
|
. = ALIGN(ALIGNOF(.flash.rodata));
|
||||||
} >default_rodata_seg
|
} >default_rodata_seg
|
||||||
. = ALIGN(0x10000);
|
. = ALIGN(0x10000);
|
||||||
. = ALIGN(0x10000);
|
|
||||||
. = ALIGN(0x10000);
|
|
||||||
.flash.rodata : ALIGN(0x10)
|
.flash.rodata : ALIGN(0x10)
|
||||||
{
|
{
|
||||||
_flash_rodata_start = ABSOLUTE(.);
|
_flash_rodata_start = ABSOLUTE(.);
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -35276,8 +35276,7 @@ LOAD D:/DiskC/ProgramFiles/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20250707/xt
|
|||||||
.rodata_desc 0x3c020020 0x100 esp-idf/esp_app_format/libesp_app_format.a(esp_app_desc.c.obj)
|
.rodata_desc 0x3c020020 0x100 esp-idf/esp_app_format/libesp_app_format.a(esp_app_desc.c.obj)
|
||||||
0x3c020020 esp_app_desc
|
0x3c020020 esp_app_desc
|
||||||
*(.rodata_custom_desc .rodata_custom_desc.*)
|
*(.rodata_custom_desc .rodata_custom_desc.*)
|
||||||
0x3c030000 . = ALIGN (0x10000)
|
0x3c020120 . = ALIGN (ALIGNOF (.flash.rodata))
|
||||||
0x3c030000 . = ALIGN (0x10000)
|
|
||||||
|
|
||||||
.flash.rodata 0x3c020120 0xb618
|
.flash.rodata 0x3c020120 0xb618
|
||||||
0x3c020120 _flash_rodata_start = ABSOLUTE (.)
|
0x3c020120 _flash_rodata_start = ABSOLUTE (.)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "1.2",
|
"version": "1.2",
|
||||||
"project_name": "my_usb_project",
|
"project_name": "my_usb_project",
|
||||||
"project_version": "e4dd0cc-dirty",
|
"project_version": "81f91b6-dirty",
|
||||||
"project_path": "D:/Projects/trunk/JoyD/ESP32/my_usb_project",
|
"project_path": "D:/Projects/trunk/JoyD/ESP32/my_usb_project",
|
||||||
"idf_path": "D:/DiskC/ProgramFiles/Espressif/frameworks/esp-idf-v5.2.6",
|
"idf_path": "D:/DiskC/ProgramFiles/Espressif/frameworks/esp-idf-v5.2.6",
|
||||||
"build_dir": "D:/Projects/trunk/JoyD/ESP32/my_usb_project/build",
|
"build_dir": "D:/Projects/trunk/JoyD/ESP32/my_usb_project/build",
|
||||||
|
|||||||
@@ -16,9 +16,8 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
|
|||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
extern "C" fn rust_app_main() {
|
extern "C" fn rust_app_main() {
|
||||||
loop {
|
// 初始化代码
|
||||||
core::hint::spin_loop();
|
return;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[export_name = "rust_usb_callback"]
|
#[export_name = "rust_usb_callback"]
|
||||||
|
|||||||
Reference in New Issue
Block a user