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 Add an Arduino Library project type (Read 3104 times)
Marc Jacobi
Junior Member
**
Offline


Posts: 28
Location: Netherlands
Joined: Feb 28th, 2012
Add an Arduino Library project type
Sep 4th, 2015 at 12:52pm
Print Post  
Add a new project type to VisualMicro that supports creating an Arduino Library.

Includes:
- Folders (utility/src, examples and extras)
- library.properties file
- zip as part of build step

[2c]
Marc
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Add an Arduino Library project type
Reply #1 - Sep 8th, 2015 at 2:16am
Print Post  
Thanks. You can do some of that with the latest version for vs2012-2015. The rest is in the pipleline

Create any new sketch then right click the project name in the solution tree and selected "Add>New Arduino Library". This will show you how to include a new library inside the test project. You can add your own libs manually as long as they comply to the arduino rules. Vm creates a v2 format lib with src folder. utility is for v1 format.

You can also place copies of existing libs within the special "_micro-api\libraries" sub folder, This allows you to modify existing libs prior to copy back to sketchbook/libraries or wherever they belong.

Libraries in "_micro-api\libraries" are compiled in exactly the same way a std library. Therefore they are #included in a sketch in the same way we would a std library (without path). 

If you create a new library folder below a sketch you might have to do action such as compile or save the project before intellisense will recognize it.

Interested to hear what you think, see release notes for a little more info.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint