mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
Merge branch 'bugfix/twai_isr_iram' into 'master'
hal: fix CONFIG_TWAI_ISR_IN_IRAM for C3, hide TWAI menu for C2 See merge request espressif/esp-idf!16881
This commit is contained in:
@@ -86,6 +86,7 @@ menu "Driver configurations"
|
|||||||
endmenu # SPI Configuration
|
endmenu # SPI Configuration
|
||||||
|
|
||||||
menu "TWAI configuration"
|
menu "TWAI configuration"
|
||||||
|
depends on SOC_TWAI_SUPPORTED
|
||||||
|
|
||||||
config TWAI_ISR_IN_IRAM
|
config TWAI_ISR_IN_IRAM
|
||||||
bool "Place TWAI ISR function into IRAM"
|
bool "Place TWAI ISR function into IRAM"
|
||||||
|
@@ -14,11 +14,8 @@ entries:
|
|||||||
cpu_hal (noflash)
|
cpu_hal (noflash)
|
||||||
soc_hal (noflash)
|
soc_hal (noflash)
|
||||||
wdt_hal_iram (noflash)
|
wdt_hal_iram (noflash)
|
||||||
if IDF_TARGET_ESP32C3 = n && IDF_TARGET_ESP32H2 = n && IDF_TARGET_ESP32C2 = n:
|
if TWAI_ISR_IN_IRAM = y:
|
||||||
if TWAI_ISR_IN_IRAM = y:
|
twai_hal_iram (noflash)
|
||||||
twai_hal_iram (noflash)
|
|
||||||
else:
|
|
||||||
twai_hal_iram (default)
|
|
||||||
if IDF_TARGET_ESP32 = n:
|
if IDF_TARGET_ESP32 = n:
|
||||||
spi_flash_hal_gpspi (noflash)
|
spi_flash_hal_gpspi (noflash)
|
||||||
systimer_hal (noflash)
|
systimer_hal (noflash)
|
||||||
|
Reference in New Issue
Block a user