сильную raw_trap_handler объявила во freeRTOS, чтобы trap перехватывался операционной системой

This commit is contained in:
klassents committed 2025-03-27 10:32:10 +07:00
1 parent 6f84c00718
commit f2ab0fc367
2 files changed
+4 -6

No files matched your search

+2 -3
View File
@@ -112,10 +112,9 @@ SystemInit:
.section .trap_text, "ax"
// .org should be consistent with
// default mtvec value (set in scr1_arch_description.svh)
//.org 0xC0
//.org 0xC0
trap_entry:
//j raw_trap_handler
j freertos_risc_v_trap_handler
j raw_trap_handler
raw_trap_handler:
// Save registers