Unable to setup GC9A01 Display with a RP2040 Pico #2502
Replies: 9 comments 1 reply
-
@Bodmer I attempted your thread at #2000 and still unsuccessful. I am unsure how the project setup should be for the pico and a GC9A01 |
Beta Was this translation helpful? Give feedback.
-
I suggest you try to run the provided examples under the Arduino IDE. This will show weather the setup configuration files are correct. Run the Read_User_Setup example to confirm the compiler is picking up the correct configuration. |
Beta Was this translation helpful? Give feedback.
-
@Bodmer I attempted that as shown below
[build] C:/Users/mytec/Documents/picow/TFT_eSPI/main.c: In function 'main': |
Beta Was this translation helpful? Give feedback.
-
Also created a new pico c sdk dir and put the TFT_eSPI folder in it and getting 2k errors |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Arduino libraries and sketches can be used with PlatformIO, there are tutorials on the website. Here is an example content for the platformio.ini file. This will need to be adapted for your use case. |
Beta Was this translation helpful? Give feedback.
-
platformio.ini
main.cpp
result
@Bodmer I see you closed the issue as you provided all you could and thank you. I will continue to try to debug but have tried this on several systems. The issue is with Thanks anyway. Thanks again for your great library! |
Beta Was this translation helpful? Give feedback.
-
There is something wrong with the software environment. Other users have it working with PlatformIO so I am unable to help. |
Beta Was this translation helpful? Give feedback.
-
Got it figured out. It was an issue with long path names in Windows. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have created an empty rp2040 pico project to which I attempted to include the
GC9A01_Defines.h
andGC9A01_Init.h
to my project however I am unable to configure this correctly to even compile.above are my user defines
I attempted to include
#include "TFT_eSPI/TFT_eSPI.h"
and attempted to remove the Arduino related setup but unsuccessful however I do not believe this is the intended use of this header file.is there a guide or set of steps to configure the library to work with the pico rp2040 and GC9a01 driver?
#include "TFT_eSPI/User_Setups/Setup200_GC9A01.h"
it is not recognizing the tft object.
I attempted to load in the
User_Setup.h
andUser_Setup_Select.h
and updated the values appropraitely but still it wont find the TFT_eSPI object so again something wrong with my setup and path structure.I am attempting this however wanted to see if there are other config that I might be missing.
Perhaps it could be something in my main
CMakeLists.txt
that needs to be added. Unsure.main.c which sit in the root of your repo that I added
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions