Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
Visual Micro >> Atmel Studio 7.0 >> Shared code across multiple solutions
https://www.visualmicro.com/forums/YaBB.pl?num=1509464255

Message started by timiadu_cph on Oct 31st, 2017 at 3:37pm

Title: Shared code across multiple solutions
Post by timiadu_cph on 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 :)
img.PNG (12 KB | )

Title: Re: Shared code across multiple solutions
Post by Visual Micro on 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-Development.aspx



Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2019. All Rights Reserved.