解决看门狗异常

This commit is contained in:
zqm
2026-04-01 13:57:22 +08:00
parent 81f91b6489
commit cf45b56ac6
15 changed files with 622 additions and 2532 deletions

View File

@@ -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

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
e4dd0cc8b7f65da4aed971ea6fde9ec5e9e9770c
81f91b648971eee89408e0c120415d533d52914b

View File

@@ -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
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
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

View File

@@ -562,10 +562,14 @@ SECTIONS
_rodata_start = ABSOLUTE(.);
*(.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! */
/* 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
. = ALIGN(0x10000);
. = ALIGN(0x10000);
. = ALIGN(0x10000);
.flash.rodata : ALIGN(0x10)
{
_flash_rodata_start = ABSOLUTE(.);

View File

@@ -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)
0x3c020020 esp_app_desc
*(.rodata_custom_desc .rodata_custom_desc.*)
0x3c030000 . = ALIGN (0x10000)
0x3c030000 . = ALIGN (0x10000)
0x3c020120 . = ALIGN (ALIGNOF (.flash.rodata))
.flash.rodata 0x3c020120 0xb618
0x3c020120 _flash_rodata_start = ABSOLUTE (.)

View File

@@ -1,7 +1,7 @@
{
"version": "1.2",
"project_name": "my_usb_project",
"project_version": "e4dd0cc-dirty",
"project_version": "81f91b6-dirty",
"project_path": "D:/Projects/trunk/JoyD/ESP32/my_usb_project",
"idf_path": "D:/DiskC/ProgramFiles/Espressif/frameworks/esp-idf-v5.2.6",
"build_dir": "D:/Projects/trunk/JoyD/ESP32/my_usb_project/build",

View File

@@ -16,9 +16,8 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
#[no_mangle]
extern "C" fn rust_app_main() {
loop {
core::hint::spin_loop();
}
// 初始化代码
return;
}
#[export_name = "rust_usb_callback"]