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

Baldhead
Posts: 515
Joined: Sun Mar 31, 2019 5:16 am
Location: Brazil

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

Postby Baldhead » Thu Dec 04, 2025 2:05 am

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.

nopnop2002
Posts: 347
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

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

Postby nopnop2002 » Thu Dec 04, 2025 7:25 am

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);

Who is online

Users browsing this forum: Bing [Bot], Bytespider, Google [Bot], PerplexityBot, Qwantbot, Semrush [Bot] and 4 guests