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....
  • 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
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
Page Index Toggle Pages: 1
Send Topic Print
Shared code across multiple solutions (Read 1027 times)

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

Please Register or Login to the Forum to see File Attachments
IP Logged
Visual Micro

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

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.


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