Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Core and user libraries (Read 2065 times)
Roland Rutsaert
Junior Member
**
Offline


Posts: 11
Location: Belgium
Joined: Apr 22nd, 2013
Core and user libraries
Jul 12th, 2014 at 5:19pm
Print Post  
Hello,


I have stored my (homemade) user libraries on an external disc during the time that i did a reinstallation of the complete environment ( Atmel Studio, Visual Micro and Arduino IDE ). 
Now i want to install them back so that i can run my good old sketches again.

Can you advise me the correct location ( file ) where i have to install my core and user libraries?

Thanks and regards

Roland
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Core and user libraries
Reply #1 - Jul 12th, 2014 at 6:32pm
Print Post  
Thanks for the question

Visual Micro uses the same library locations that are published by Arduino for use in the Arduino Ide. This is an example of the reason why Visual Micro is compatible with the Arduino Ide. It allows the vast reference resources on http://www.arduino.cc to be used as a development guide.

By default the library locations are [arduinoide]/libraries and [sketchbook folder]/libraries although some versions of Arduino also allow libraries below the hardware folder. Visual Micro allows for all these locations.

The sketch book folder defaults to documents/arduino therefore user libraries will be placed in documents/arduino/libraries

Your libraries, file names and folder names must conform to the Arduino specification. The most important and useful rule to follow is that the name of a library folder must be the same as a .h file within the library folder.

For example

documents/libraries/libName/libName.h

You can override the sketch book folder in the Visual Micro Ide > locations window (see the optional location below each applications path). Or you can alter it in the Arduino Ide and then click "tools>visual micro>reload tool chains"
« Last Edit: Jul 12th, 2014 at 6:39pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint