missing GPIO20

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
xtian777
Posts: 3
Joined: Thu Apr 01, 2021 6:37 am

missing GPIO20

Post by xtian777 » Thu Apr 01, 2021 6:46 am

the chip ESP32-PICO-V3-02 has a GPIO20 pin, but it is unavailable on the ESP32 port of micropython.
When I try to use it, it says that it is an invalid pin.
I understand that the WROOM dont have it, but other boards do.
How do I modify the source to include this pin as I/O?
Note that in the micropython fork named "MicroPython_ESP32_psRAM_LoBo", I can use GPIO20 as I whish...
Thanks !

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: missing GPIO20

Post by Roberthh » Thu Apr 01, 2021 6:51 am


xtian777
Posts: 3
Joined: Thu Apr 01, 2021 6:37 am

Re: missing GPIO20

Post by xtian777 » Thu Apr 01, 2021 7:03 am

Hi Roberthh,
Thanks for the quick reply.
I did modify this file already, but it gave me errors when I wanted to assign a value or direction to the pin.
What I notices just after your post, is that the lower part of the file has an irq section I didn't change.
Maybe it is where lies my error. I just modified the file ans I am compiling at the moment, so I will be settled very soon.
I'll keep you posted.

xtian777
Posts: 3
Joined: Thu Apr 01, 2021 6:37 am

[SOLVED] Re: missing GPIO20

Post by xtian777 » Thu Apr 01, 2021 7:14 am

Hi all: after modifying both parts of the file, it does work !
Thanks !!!!!!!!!! :D

Post Reply