driver: gpio: esp32: move config to iram
Make gpio configuration in IRAM area to speed up access. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
213142db21
commit
2742eb4dc7
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ static inline bool gpio_pin_is_output_capable(uint32_t pin)
|
|||
return ((BIT(pin) & SOC_GPIO_VALID_OUTPUT_GPIO_MASK) != 0);
|
||||
}
|
||||
|
||||
static int gpio_esp32_config(const struct device *dev,
|
||||
static int IRAM_ATTR gpio_esp32_config(const struct device *dev,
|
||||
gpio_pin_t pin,
|
||||
gpio_flags_t flags)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue