my_custom_setup.h with platfromio #1145
-
The readme says
I tried this with platformio by editing the
It seems the So I changed my main.cpp to be
and changed
Got it working. But this looks a little complex and pain:( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In the Arduino environment the file path starting point for headers is the folder the header is in. So ../ moves up one directory level and expects to find your include folder, however is is not there. So you have entered the correct path by other means. As I do not use PIO I am unable to advise on this path issue. The good news is a PIO project can have a config file dedicated to that project and then the user setup file is over-ridden. [See here].(https://github.com/Bodmer/TFT_eSPI/blob/master/Tools/PlatformIO/Configuring%20options.txt) . |
Beta Was this translation helpful? Give feedback.
In the Arduino environment the file path starting point for headers is the folder the header is in. So ../ moves up one directory level and expects to find your include folder, however is is not there. So you have entered the correct path by other means. As I do not use PIO I am unable to advise on this path issue.
The good news is a PIO project can have a config file dedicated to that project and then the user setup file is over-ridden.
[See here].(https://github.com/Bodmer/TFT_eSPI/blob/master/Tools/PlatformIO/Configuring%20options.txt) .