VS Arduino
Visual Micro >> General Board >> Programming in C C++
https://www.visualmicro.com/forums/YaBB.pl?num=1552565134

Message started by Trek19 on Mar 14th, 2019 at 12:05pm

Title: Programming in C C++
Post by Trek19 on Mar 14th, 2019 at 12:05pm
I want to program an ATtiny device without the Arduino overhead.
What is the best way, should I download and use the Atmel studio or is there a way of doing it in Visual Studio?



Title: Re: Programming in C C++
Post by Visual Micro on Mar 16th, 2019 at 1:46pm
Hi,

Only partially in Visual Studio. You can use the arduino/atmel toolchain in VS with Visual Micro but without the arduino core.

If you add a main.cpp to your arduino project then you override all the arduino stuff but keep the rest of the build/upload.

You can click "vMicro>Toggle Hidden Files" to see short cuts to the current arduino core. In the list will be the original main.cpp that arduino loads from. You can override any part of it however you will need to stay in release more and not attempt to debug

I the long run atmel studio might be easier for this type of project.

Hope this helps.

Title: Re: Programming in C C++
Post by Trek19 on Mar 16th, 2019 at 2:53pm
OK, thanks for the advice, I have been experimenting with Atmel Studio 7 and it seems the best option for C development.
Jim

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.