mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-22 09:01:08 +00:00
esp_rom: extract int matrix route and cpu ticks getter
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
#include "esp_smartconfig.h"
|
||||
#include "esp_coexist_internal.h"
|
||||
#include "esp_coexist_adapter.h"
|
||||
#include "esp_rom_sys.h"
|
||||
#include "esp32s3/rom/ets_sys.h"
|
||||
|
||||
#define TAG "esp_adapter"
|
||||
|
||||
@@ -171,7 +173,7 @@ static bool IRAM_ATTR env_is_chip_wrapper(void)
|
||||
|
||||
static void set_intr_wrapper(int32_t cpu_no, uint32_t intr_source, uint32_t intr_num, int32_t intr_prio)
|
||||
{
|
||||
intr_matrix_set(cpu_no, intr_source, intr_num);
|
||||
esp_rom_route_intr_matrix(cpu_no, intr_source, intr_num);
|
||||
}
|
||||
|
||||
static void clear_intr_wrapper(uint32_t intr_source, uint32_t intr_num)
|
||||
|
Reference in New Issue
Block a user