add support for CPU interrupts for ESP32-C3

This commit is contained in:
Dmitriy
2021-10-22 21:13:24 -04:00
committed by Ayke
parent b5b2600b7b
commit 43efe94041
5 changed files with 167 additions and 1 deletions
+18
View File
@@ -47,3 +47,21 @@ call_start_cpu0:
// (It appears that the linker relaxes this jump and instead inserts the
// _start function right after here).
j _start
.section .text.exception_vectors
.global _vector_table
.type _vector_table,@function
_vector_table:
.option push
.option norvc
.rept 32
j handleInterruptASM /* interrupt handler */
.endr
.option pop
.size _vector_table, .-_vector_table