[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

PIO / VSCode RSS feed
Forum Index » tcMenu Designer UI
Author Message
tom_tav


Joined: Jan 18, 2021
Messages: 18
Offline
Maybe my coffee is not working right now but i got stuck smilie

I moved an old INO based project to PlatformIO.

Now in TCMenu Designer (OS X, latest version) i see all installed libraries as 0.0.0 installed. In general settings i unchecked "Im using Arduino IDE...."

Pio is using the .pio folder in my project folder for the libdeps, all needed libraries are there. How do i tell TCMenu Designer to use this dir (its not selectable by GUI due to the .pio is hidden on OS X in the file select dialog)


P.S. Something else: for "open recent" function ... it would be cool to see the full path there, not only the filename.
tom_tav


Joined: Jan 18, 2021
Messages: 18
Offline
One more thing, in the output there is still INO mentioned, even when INO files dont exist and the "use CPP main instead of INO file" option is enabled (see step 17 & 1 smilie:


1 - Starting ARDUINO32 generate into : /.../BugTest2
2 - Writing out header file: /.../BugTest2/BugTest2_menu.h
3 - Finished processing header file.
4 - Writing out source CPP file: /.../BugTest2/BugTest2_menu.cpp
5 - Finished processing source file.
6 - Checking if any plugin files need removal because of plugin changes
7 - Adding all files required by selected plugins
8 - Copy plugin file: ${UNO_OR_FULL}/tcMenuLiquidCrystal.cpp
9 - Copy plugin file: ${UNO_OR_FULL}/tcMenuLiquidCrystal.h
10 - Making adjustments to /.../BugTest2/BugTest2_main.cpp
11 - No existing sketch, generating an empty one
12 - Running sketch setup adjustments: setupMenu();
14 - Running sketch setup adjustments: taskManager.runLoop();
16 - Adding new callback to sketch for: TestSubMenu id(1)
17 - INO Previously existed, backup existing file
18 - Writing out changes to INO sketch file
19 - Process has completed, make sure the code in your IDE is up-to-date.
20 - You may need to close the project and then re-open it to pick up changes..
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
P.S. Something else: for "open recent" function ... it would be cool to see the full path there, not only the filename.


It used to do that, but we changed to use just the file name as it sometimes created very long paths that were difficult to read, but noted, I guess with duplicates it is difficult to know which.

I moved an old INO based project to PlatformIO.


Great, I use platformIO myself but with CLion IDE instead of VSCode. So as you can imagine, it is well supported!

Now in TCMenu Designer (OS X, latest version) i see all installed libraries as 0.0.0 installed. In general settings i unchecked "Im using Arduino IDE...."


If you don't have global libraries any more, just turn on the "I'm not using Arduino IDE option". These days, I question if the library checker is still even needed, all Arduino IDEs, platformIO and most mbed tools manage lib versions.

Pio is using the .pio folder in my project folder for the libdeps, all needed libraries are there. How do i tell TCMenu Designer to use this dir (its not selectable by GUI due to the .pio is hidden on OS X in the file select dialog)


As above.

in the output there is still INO mentioned, even when INO files dont exist


Ignore that, it's just the logging, assume it is referring to your C++ file. I mainly use C++ main for my own projects, other than examples. Even one of the examples, EspAmplifier uses a C++ main.



tom_tav


Joined: Jan 18, 2021
Messages: 18
Offline
Oh yes, i didnt think about the fact that the Library checker is just that, a checker smilie I agree with you that its not needed anymore for 3rd party IDEs.
 
Forum Index » tcMenu Designer UI
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.