Skip to content

GPIO 32 can not be used #4310

Closed
Closed

Description

@ProjectProcrastinator

What happened?

I just updated to 0.15.0-b7 and now if I want to save my LED settings it says: "Sorry, pins [6,7,8,9,10,11,16,17,24,28,29,30,31,15,14,32,15,14] can't be used."

I use GPIO 32 to control an analog LED channel on my custom board using ESP32-Mini-1. It worked flawless before the update and even after the update GPIO 32 is still set for my CCT-Strip and it works. But in LED settings the 32 is red and i can not save. I don't see a reason to ban GPIO 32 from usage.

To Reproduce Bug

Update from 0.14.2 to 0.15.0-b7

Expected Behavior

Just let me save.

Install Method

Self-Compiled

What version of WLED?

0.15.0-b7

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

Sorry, pins [6,7,8,9,10,11,16,17,24,28,29,30,31,15,14,32,15,14] can't be used.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. ProjectProcrastinator commented on Nov 23, 2024

    @ProjectProcrastinator
    Author

    Ok, I just found out it was because GPIO 32 is automatically set as I2S-Pin for Digitalmic. Clears my issue but nonetheless it's irritating that these pins are set and therefore reserved if I never used AudioReactive.

    Would be better if these pins would just be -1 until one activates the feature.

  2. added
    use-as-is
    on Nov 24, 2024
  3. softhack007 commented on Nov 24, 2024

    @softhack007
    Member

    Hi,

    Yes your explanation is correct - all pins are allocated at startup. It was a design decision to also apply this rule to usermods (like audioreactive), even when the usermod is not active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buguse-as-is

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions