mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
997c07c2ee
Previous linker script relied on nothing else using the .text section As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
24 lines
355 B
ArmAsm
24 lines
355 B
ArmAsm
.section .text.vectors
|
|
.global irq_vector
|
|
.global reset_vector
|
|
|
|
/* The reset vector, jumps to startup code */
|
|
reset_vector:
|
|
j __start
|
|
|
|
/* Interrupt handler */
|
|
.balign 16
|
|
irq_vector:
|
|
ret
|
|
|
|
.section .text
|
|
|
|
__start:
|
|
/* setup the stack pointer */
|
|
la sp, __stack_top
|
|
call ulp_riscv_rescue_from_monitor
|
|
call main
|
|
call ulp_riscv_shutdown
|
|
loop:
|
|
j loop
|