Skip to content

In port ESP32, why is pin GPIO 20 not valid? #9375

Discussion options

You must be logged in to vote

The line you mentioned explains what's going on:

    #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 3, 2)
    {{&machine_pin_type}, GPIO_NUM_20},
    #else
    {{NULL}, -1},
    #endif

It needs to be compiled with IDF 4.4+

Unfortunately we still use IDF 4.2 for the releases due to an issue with memory fragmentation on the higher IDF versions. You can compile it yourself though, and as long as you're not using SSL it will be fine. (More info at #8940)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mitchb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment