kopia lustrzana https://github.com/espressif/esp-idf
22 wiersze
330 B
ArmAsm
22 wiersze
330 B
ArmAsm
.section .text
|
|
.global irq_vector
|
|
.global reset_vector
|
|
|
|
/* The reset vector, jumps to startup code */
|
|
reset_vector:
|
|
j __start
|
|
|
|
/* Interrupt handler */
|
|
.balign 16
|
|
irq_vector:
|
|
ret
|
|
|
|
__start:
|
|
/* setup the stack pointer */
|
|
la sp, __stack_top
|
|
call ulp_riscv_rescue_from_monitor
|
|
call main
|
|
call ulp_riscv_shutdown
|
|
loop:
|
|
j loop
|