Open 4516N41 opened 3 weeks ago
Hello. iam facing also the same problem and i have the newest version of arduino, were u able to solve the problem ??
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: /Users/Documents/Arduino/libraries/MCUFRIEND_kbv/utility/mcufriend_shield.h: In function 'void write_8(uint16_t)': /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 | ^~~~ /Users/Documents/Arduino/libraries/MCUFRIEND_kbv/utility/mcufriend_shield.h: In function 'uint8_t read_8()': /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
Compilation error: exit status 1
I found this thread. https://github.com/Bodmer/TFT_eSPI/issues/2628 It claims to have solved the problem recently. But what I understand is that is not in any official release yet. But read it for yourself.
Sorry my mistake, It has got nothing to do with MCUFRIEND_kbv.
`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