UART ISR in IRAM config?

A6ESPF
Posts: 28
Joined: Tue Dec 10, 2019 12:16 pm

UART ISR in IRAM config?

Postby A6ESPF » Mon Jan 30, 2023 10:12 am

When enabling the CONFIG_UART_ISR_IN_IRAM option, I get the following log message when booting the board:

Code: Select all

I (241961) uart: ESP_INTR_FLAG_IRAM flag not set while CONFIG_UART_ISR_IN_IRAM is enabled, flag updated
What does it mean exactly? Is there something I need to do to get rid of the message and set the required flag by default?

sdt991
Posts: 3
Joined: Thu May 25, 2023 5:50 pm

Re: UART ISR in IRAM config?

Postby sdt991 » Tue Jun 06, 2023 9:18 pm

It's just a warning that the caller of `uart_driver_install()` did not specify the `ESP_INTR_FLAG_IRAM` flag, while the ISR is placed into IRAM by the sdkconfig option `CONFIG_UART_ISR_IN_IRAM=y`

https://github.com/espressif/esp-idf/bl ... 4-L1531C54

You could add the `ESP_INTR_FLAG_IRAM` flag when calling `uart_driver_install()` or just ignore it.

Who is online

Users browsing this forum: chegewara and 64 guests