mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
esp32: add interrupt support (vector table, timer alarm, GPIO SetInterrupt)
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -31,6 +31,15 @@ SECTIONS
|
||||
{
|
||||
*(.literal.call_start_cpu0)
|
||||
*(.text.call_start_cpu0)
|
||||
|
||||
/* Xtensa exception/interrupt vector table — must be 0x400-aligned */
|
||||
. = ALIGN(0x400);
|
||||
*(.text.exception_vectors)
|
||||
|
||||
/* Level-1 interrupt handler */
|
||||
*(.literal._handle_level1)
|
||||
*(.text._handle_level1)
|
||||
|
||||
*(.literal .text)
|
||||
*(.literal.* .text.*)
|
||||
} >IRAM
|
||||
|
||||
Reference in New Issue
Block a user