mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
fix(interrupt): fixed wrongly reserved interrupt for wifi on H2
This commit is contained in:
parent
dbe1e41c6f
commit
94d9ab88bb
@ -10,13 +10,12 @@
|
||||
void esp_cpu_intr_get_desc(int core_id, int intr_num, esp_cpu_intr_desc_t *intr_desc_ret)
|
||||
{
|
||||
/* On the ESP32-H2, interrupt:
|
||||
* - 1 is for Wi-Fi
|
||||
* - 6 for "permanently disabled interrupt"
|
||||
*
|
||||
* Interrupts 3, 4 and 7 are unavailable for PULP CPU as they are bound to Core-Local Interrupts (CLINT)
|
||||
*/
|
||||
// [TODO: IDF-2465]
|
||||
const uint32_t rsvd_mask = BIT(1) | BIT(3) | BIT(4) | BIT(6) | BIT(7);
|
||||
const uint32_t rsvd_mask = BIT(3) | BIT(4) | BIT(6) | BIT(7);
|
||||
|
||||
intr_desc_ret->priority = 1;
|
||||
intr_desc_ret->type = ESP_CPU_INTR_TYPE_NA;
|
||||
|
@ -1,17 +1,17 @@
|
||||
CPU 0 interrupt status:
|
||||
Int Level Type Status
|
||||
0 * * Reserved
|
||||
1 * * Reserved
|
||||
2 1 Level Used: LP_RTC_TIMER
|
||||
1 1 Level Used: LP_RTC_TIMER
|
||||
2 1 Level Used: SYSTIMER_TARGET2
|
||||
3 * * Reserved
|
||||
4 * * Reserved
|
||||
5 1 Level Used: SYSTIMER_TARGET2
|
||||
5 1 Level Used: CPUFROM_CPU_0
|
||||
6 * * Reserved
|
||||
7 * * Reserved
|
||||
8 1 Level Used: CPUFROM_CPU_0
|
||||
9 1 Level Used: SYSTIMER_TARGET0
|
||||
10 1 Level Used: TG0_WDT
|
||||
11 1 Level Used: UART0
|
||||
8 1 Level Used: SYSTIMER_TARGET0
|
||||
9 1 Level Used: TG0_WDT
|
||||
10 1 Level Used: UART0
|
||||
11 * * Free
|
||||
12 * * Free
|
||||
13 * * Free
|
||||
14 * * Free
|
||||
@ -32,5 +32,5 @@ CPU 0 interrupt status:
|
||||
29 * * Free
|
||||
30 * * Free
|
||||
31 * * Free
|
||||
Interrupts available for general use: 17
|
||||
Interrupts available for general use: 18
|
||||
Shared interrupts: 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user