Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Shared code across multiple solutions (Read 846 times)
timiadu_cph
Newbies
*
Offline



Posts: 4
Shared code across multiple solutions
Oct 31st, 2017 at 3:37pm
 
I am making  drivers for a master-slave communications system. Both master and slave will have shared code (I have made one solution for master, and one for slave). How/where can I place the code shared between the two solutions? (See image). I have tried some ideas, but the projects will not compile
Thanks guys Smiley
Back to top
 

img.PNG (12 KB | )
img.PNG
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: Shared code across multiple solutions
Reply #1 - Oct 31st, 2017 at 6:29pm
 
Hi,

To do this with arduino you normally need to create an arduino library by following the arduino guidelines.

Visual Micro in Visual Studio provides shared projects but not in atmel studio. Visual studio is free for most so I recommend that.

http://www.visualmicro.com/post/2017/01/16/Arduino-Cross-Platform-Library-Develo...


Back to top
« Last Edit: Oct 31st, 2017 at 6:30pm by Visual Micro »  
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print