Skip to content

Implement coryking c0f7ec8 commit.#920

Open
darkgrue wants to merge 1 commit into
Makuna:masterfrom
darkgrue:issue-895-gpio_hal_iomux_func_sel-not-declared
Open

Implement coryking c0f7ec8 commit.#920
darkgrue wants to merge 1 commit into
Makuna:masterfrom
darkgrue:issue-895-gpio_hal_iomux_func_sel-not-declared

Conversation

@darkgrue

Copy link
Copy Markdown

Submitting this as a PR to hopefully get it committed.

Replace deprecated gpio_hal_iomux_func_sel() with gpio_iomux_out() for ESP-IDF 5.5+.

  • ESP-IDF 5.5.0 removed gpio_hal_iomux_func_sel().
  • Use gpio_iomux_out() for ESP-IDF 5.5+.
  • Maintain backward compatibility with #ifdef for older versions.
  • Fixes compilation error with pioarduino platform (ESP-IDF 5.5.1).

Tested with:

  • pioarduino platform (ESP-IDF 5.5.1, Arduino Core 3.3.4).
  • ESP32-S3 boards (Lolin S3 Mini, Seeed XIAO ESP32S3).

Resolves: #895

Replace deprecated `gpio_hal_iomux_func_sel()` with `gpio_iomux_out()` for ESP-IDF 5.5+.

- ESP-IDF 5.5.0 removed `gpio_hal_iomux_func_sel()`.
- Use `gpio_iomux_out()` for ESP-IDF 5.5+.
- Maintain backward compatibility with `#ifdef` for older versions.
- Fixes compilation error with pioarduino platform (ESP-IDF 5.5.1).

Tested with:
- pioarduino platform (ESP-IDF 5.5.1, Arduino Core 3.3.4).
- ESP32-S3 boards (Lolin S3 Mini, Seeed XIAO ESP32S3).

Resolves: Makuna#895
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gpio_hal_iomux_func_sel was not declared in this scope;

1 participant