Hi Tim!
Tim@Visual Micro wrote on Jul 27
th, 2020 at 2:18pm:
The arduino cores are supplied by various authors and can be installed via Board Manager in the Arduino IDE or Visual Micro. Some cores some with additional libraries which can be overriden or isolated by copying or importing them into the project "src\_micro-api\libraries" folder.
I tried to use VM without arduino IDE (NoIDE) and install the "core code" via Micro Explorer but can't find any core code. Where are the cores locaded for installing without Arduino IDE?
As you wrote, the cores witch are supplied by the Arduino IDE are supplied by
various authors.
What prevent that core code that supplies the basic functions for almost ervey librarys to change by one of these authors by an update process cause e.g. a failure has gone public.
Of course in fact that I only use the portable Arduino IDE the core code will never be altered when I never use/start the IDE or when I copy the core code from the IDE outside and store them "stand-alone" in the Arduino IDE folder location (if that works?).
Quote:Adding or Importing a COPY of an Arduino library isolates the sources alongside the current project code, makes source control easier and gives a seperate protected version of the library sources that will not be auto updated when you update the arduino ide, use library manager.
Also the hole core code is copyed to the project and isolated from the Arduino IDE?
But I can't see the core *.cpp files in the solution explorer or in windos explorer.
They are only located at the _micro-api-readonly section (when using the show hidden files option) not at the _micro-api path.
When I copy a library to "src\_micro-api\libraries" only this library (and automatic copied core functions) is used for generating my project code?
In other words the same labeled library e.g. provided with the Arduino IDE (e.g. LiquidCrystal) which is located at the IDE path is ignored by the compiler and is NOT USED cause libraries located in the "src\_micro-api\libraries" path are first used even if they have the exact same name/label?
I also installed Visual Studio Community Edition for playing around.....
I tried to include more than one library at once but can't find a way to do this (also inm Atmel Studio).
So I done this one by one in order for using the automatic copy function with version labeling for aprox 10 libraries. The VS crashed. After restarting and restoring the project the #includes were greyed out and the "link" between were lost.
The idea behind was to generate a local library summary for using them in Atmel Studio.
Regards Rick