Skip to content
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

Misleading directions in user_setup_select.h to use of USER_SETUP_LOADED #3154

Open
WombatHollow opened this issue Feb 3, 2024 · 2 comments
Labels

Comments

@WombatHollow
Copy link

In file user_setup_select.h there is this statement with comments

#ifndef USER_SETUP_LOADED //  Lets PlatformIO users define settings in
                          //  platformio.ini, see notes in "Tools" folder.

The comments suggest there is an alternate means to define user_setup in the platformio.ini file which would be great as it removes the need to edit this file, and then loose those edits when tft_eSPI gets updates .

But there are no notes in the "Tools" folder nor have I found out how to do this in platformio.ini (Yes I could in Main.ccp add a #include to my specific setup file, and a #define USER_SETUP_LOADED but I thought there is an issue with libraries seeing #defines made in main.ccp)

Development Configuration is

  • platformio running on VSCode and compiling to Arduino framework. All at latest version for 3 Feb 2024.

Target Hardware

  • TTGO T-Display (not that it is relevant to this problem)
@wassfila
Copy link

wassfila commented Feb 4, 2024

I suggested the alternate means (which would be great) here #3161 and we happen to use the same display for which I created the example so you could use it by pointing your lib_deps to this fork https://github.com/ESP32Home/TFT_eSPI

@Bodmer
Copy link
Owner

Bodmer commented Feb 5, 2024

The info has moved to the docs folder:
https://github.com/Bodmer/TFT_eSPI/tree/master/docs/PlatformIO

I will update the comments at some point.

@Bodmer Bodmer added the To Do label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants