Page 1 of 1

Error migration from v5.4 to v5.5.1 in function gpio_hal_iomux_func_sel()

Posted: Thu Dec 04, 2025 2:05 am
by Baldhead
Hi,

I have used the function "gpio_hal_iomux_func_sel()" in various places in my project.

I migrated esp-idf from version 5.4 to version 5.5.1, and when I compiled the project, the function no longer exists.

Which exact function should I use to replace it ?

Example:
gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[MY_LED_IO_47], PIN_FUNC_GPIO);

gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[hw_lcd_bus_config.data_io_num], PIN_FUNC_GPIO);

NOTE:
I also use this function in drivers I've written myself, and I want to continue using my own drivers, not the ones provided by Espressif.

Chip: ESP32-S3
Esp-idf: v5.5.1

Thank's.

Re: Error migration from v5.4 to v5.5.1 in function gpio_hal_iomux_func_sel()

Posted: Thu Dec 04, 2025 7:25 am
by nopnop2002

Code: Select all

#include "hal/gpio_hal.h"

//gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[pin], PIN_FUNC_GPIO);
gpio_ll_func_sel(&GPIO, pin, PIN_FUNC_GPIO);