Can you help me a little with the #2 step of your tutorial. #154
Replies: 4 comments
-
Hi, The "include problem" is that another repository contains the definitions for the boards. PlatformIO looks for these definitions in the ./boards directory (relative to the project folder). That's why the repository needs to be checked out including the submodules so this directory will be created. These defines are in the https://github.com/rzeldent/platformio-espressif32-sunton project. There is a tight relation to the smartdisplay library and the definitions. It is also possible to copy these files to the boards directory, but this might break with a new release of the smartdisplay library. So using a submodule, these can be kept in sync by also updating the boards submodule to the matching smartdisplay version... Hope this explains a bit the reasoning behind these choices... |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer... theoretically I understood, bit practiacally I do not know what I need to do (more..) I have deleted almost everything from my computer and reinstalled EVERYTHING. (Like VSCode+Gcc+CMAKE+platformio I have opened the demo folder. Can you help me with some advice. the Platformio / bnoards Explores shows no result on esp32-2432S024C Thank you in advance |
Beta Was this translation helpful? Give feedback.
-
Finally solved!!! https://docs.platformio.org/en/latest/platforms/creating_board.html I created that boards folder into the core_dir and copied the esp32-2432S024C.json to that folder. Best regards. |
Beta Was this translation helpful? Give feedback.
-
It is a solution that works but the file will not be updated if definitions change in the future... |
Beta Was this translation helpful? Give feedback.
-
I am strugling to use/repeat your project a weeks.
I have reinstalled everything... (vscode had that "include problem")
But I do not understand well the second step of your instruczion. (It is clear I am not familiar with neither VSCode nor platformio.
I cannot find the way to add that stunton library.
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions