Context-aware strapping pin warnings based on pin direction #3473
Unanswered
FredM67
asked this question in
Builder features or enhancements
Replies: 1 comment 1 reply
-
|
The fact that you're using it for output doesn't matter because electronically it's still connected to active peripherals (specifically if it's a relay there must be at least a powered transistor directly connected to the pin; which can actually behave like a pull-up or pull-down from the pin perspective, depending on the resistors around the transistor, or the transistor's internal impedance aswell). So the warning is legit, because it makes you aware of this potential risk. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the enhancement
Problem
Currently, ESPHome shows strapping pin warnings for all uses of strapping pins, regardless of whether the pin is configured as input or output. This leads to unnecessary warnings in cases where there's actually no risk.
Background
ESP32 strapping pins are sampled during boot to configure chip behavior (boot mode, flash voltage, JTAG, etc.). The key distinction is:
Use cases
Current behavior
Shows: GPIO12 is a strapping pin and should be avoided...
Visual examples
No response
Anything else?
If accepted, I'm ready to implement this new feature.
Beta Was this translation helpful? Give feedback.
All reactions