-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'GPIO' was not declared in this scope ESP32 #255
Comments
Hello. |
I have got exactly the same problem as well. GPIO doesn't seem to be defined. In file included from /Users/Documents/Arduino/libraries/MCUFRIEND_kbv/MCUFRIEND_kbv.cpp:38: exit status 1 Compilation error: exit status 1 |
I found this thread. Sorry my mistake, It has got nothing to do with MCUFRIEND_kbv. |
Followed the link @cor053 posted and implemented the addition of the include for hal/gpio_ll.h and it fixed my issue. In utility/mcufriend_shield.h after line 1025 I added the include, like as follows:
|
This above really worked. thanks for the FIX |
Hello, I have the same Problem. I use the WEMOS D1 R32 Bord with the ILI9486 Touch Display. I have two Errors, and the include of "#include "hal/gpio_ll.h" does not work. I will be very happy, when it's work again, with the new environment. With the old Version 1.x.x it's works fine. With Arduino V 2.3.2. it not work any longer. Wish you all the best, and hop someone find a solution :D |
`In file included from c:\Users\Documents\Arduino\libraries\MCUFRIEND_kbv\MCUFRIEND_kbv.cpp:38:
c:\Users\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h: In function 'void write_8(uint16_t)':
c:\Users\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1084:5: error: 'GPIO' was not declared in this scope
1084 | GPIO.out_w1tc = map_8(0xFF); //could define once as DMASK
| ^~~~
c:\Users\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h: In function 'uint8_t read_8()':
c:\Users\Documents\Arduino\libraries\MCUFRIEND_kbv\utility/mcufriend_shield.h:1090:19: error: 'GPIO' was not declared in this scope
1090 | return map_32(GPIO.in);
| ^~~~
exit status 1`
I get this error after the "Arduino Release v3.0.1 based on ESP-IDF v5.1.4" update
The text was updated successfully, but these errors were encountered: