esp32: drivers: interrupt_controller: add interrupt allocation support
Add interrupt allocation support for ESP32. Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
parent
54b26ca7e8
commit
9ae5fd1b34
11 changed files with 1328 additions and 0 deletions
|
@ -6,6 +6,7 @@ config SOC_ESP32
|
|||
select XTENSA
|
||||
select CLOCK_CONTROL
|
||||
select CLOCK_CONTROL_ESP32
|
||||
select DYNAMIC_INTERRUPTS
|
||||
|
||||
if SOC_ESP32
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "soc.h"
|
||||
#include <soc/rtc_cntl_reg.h>
|
||||
#include <soc/timer_group_reg.h>
|
||||
#include <drivers/interrupt_controller/intc_esp32.h>
|
||||
#include <xtensa/config/core-isa.h>
|
||||
#include <xtensa/corebits.h>
|
||||
|
||||
|
@ -121,6 +122,7 @@ void __attribute__((section(".iram1"))) __start(void)
|
|||
#if CONFIG_SOC_FLASH_ESP32 || CONFIG_ESP_SPIRAM
|
||||
spi_flash_guard_set(&g_flash_guard_default_ops);
|
||||
#endif
|
||||
esp_intr_initialize();
|
||||
/* Start Zephyr */
|
||||
z_cstart();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue