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 serial upload of C/C++ project to arduino? (Read 4521 times)
Christoph Rackwitz
Newbies
*
Offline


Posts: 3
Joined: Sep 26th, 2015
serial upload of C/C++ project to arduino?
Sep 26th, 2015 at 5:22am
Print Post  
Hi!

I'm wondering what to do to get my existing C project uploaded to the Arduino. Currently, I'm using avrdude in an "External Tool" where the COM port and everything is fixed. That's inconvenient though.

Is it possible to have all the upload functionality I get for Arduino (.ino) projects also for C and C++ projects targeted at Arduinos?
« Last Edit: Sep 26th, 2015 at 5:23am by Christoph Rackwitz »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: serial upload of C/C++ project to arduino?
Reply #1 - Sep 27th, 2015 at 7:31pm
Print Post  
Hi,

Are you using Visual Studio or Atmel Studio?

Thanks
  
Back to top
IP Logged
 
Christoph Rackwitz
Newbies
*
Offline


Posts: 3
Joined: Sep 26th, 2015
Re: serial upload of C/C++ project to arduino?
Reply #2 - Sep 27th, 2015 at 9:21pm
Print Post  
it's Atmel Studio 6.2 (this subforum)
« Last Edit: Sep 27th, 2015 at 9:22pm by Christoph Rackwitz »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: serial upload of C/C++ project to arduino?
Reply #3 - Sep 27th, 2015 at 9:35pm
Print Post  
Oh sorry, answering too many messages Smiley

No Visual Micro does not currently allow for that. We have a lot of new features to assist Atmel C++ projects ready for release but Atmel are doing a lot of things themselves for Atmel Studio 7 which will be released shortly.

Atmel released a beta of AS 7 with some tools such as easier upload via bootloaders and an arduino converter. The beta is based on VS2013 but from what I understand the release will be based on VS2015. I want to avoid supporting anything that Atmel could take responsibility for or that could cause confusion for users that will be unsure who supports the product. For this reason I am waiting to see what happens.

By the way

The new release of Visual Micro is already available for Vs2012-2015 which supports code in sub folders and allows many of the "restrictive but simple" Arduino rules to be broken. These features will be replicated to AS 6.2 during the next week or two and might remove the need for you to use a C++ project but I know there are many other reasons why you would want to do that. 
  
Back to top
IP Logged
 
Christoph Rackwitz
Newbies
*
Offline


Posts: 3
Joined: Sep 26th, 2015
Re: serial upload of C/C++ project to arduino?
Reply #4 - Sep 27th, 2015 at 10:42pm
Print Post  
sounds nice. I'll be waiting for all the goodness.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint