Go Down

Topic: FREE: Arduino plugin for Atmel Studio (Read 17063 times) previous topic - next topic

visualmicro

#15
May 24, 2013, 02:36 pm Last Edit: May 24, 2013, 04:09 pm by Visual Micro Reason: 1
@obiwanjacobi

Yes, we have some help and are working on unit test solution (s) which will hopefully be available during the next few weeks.

However, Atmel Studio is not yet as full featured as Visual Studio, because you know VS I think you will prefer it.

Atmel are keen to make this the best solution so I hope the next 12 months sees some improvements in areas such as:- Intellisense, enable/disable code based on compiler -defines, support for virtual folders ++

This might not be very useful for many but the plugin already supports SITL (software in the loop) using cygwin and the gcc compiler to produce windows console apps. The only group that I know of making use of this currently is the diydrones.com community that have a huge arduino project that can also compile for HAL and SITL.

EDIT: would love to see your projects, if you don't mind emailing to info [at] visualmicro.com. They will remain private.
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

visualmicro

#16
Jun 03, 2013, 03:38 am Last Edit: Jun 04, 2013, 10:12 pm by Visual Micro Reason: 1
I've been exploring the VisualAssistX snippets in Atmel Studio and have to say that I like it! This seems an ideal way to insert frequently used Arduino code, create standard file headers and manipulate code/text.






Snippets can be assigned short cuts and/or given meaningful names, keywords can be included to provide varying degrees of intelligence. After inserting a snippet, VisualAssistX will provide additional code refraction options such as automatically declaring the required local or global variables.
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

C2

I'm giving it a try as a newb. I have not selected the 30-day debug trial, but have a question about standard debugging features, if any.

Can you use the debug tools (like watch a variable) from the dropdown menu without the optional USB debugger? My code compiles when I start debuggin, but I do not have a micro so it stops when it tries to upload and it does not step into the program...

Also, can the IDE highlight the open and close brackets?

How to see or what is intellesense? i.e., I type "volatile" and think valid variable types should pop-up, is that right? They don't.

visualmicro

#18
Jun 06, 2013, 01:56 pm Last Edit: Jun 06, 2013, 04:44 pm by Visual Micro Reason: 1
Hi C2,

I will try to answer your questions but please join the visualmicro.com forum for more help.

Quote
Can you use the debug tools (like watch a variable) from the dropdown menu without the optional USB debugger?


EDIT: Yes you can watch variables and expressions when debugging with the Arduino connected.

You do not have your Arduino connected? As a newbie I think the answer is "No". We are working on making the Atmel Simulator easier to use with Arduino, you can read how to try the Simulator here but I think it is too complicated at the moment for a newbie and some experts :)

Quote
can the IDE highlight the open and close brackets


I think so, please look at the VisualAssixtX menu options. VisualAssistX provides many useful features and is responsible for intellisense and code/syntax color/highlight

Quote
How to see or what is intellisense? i.e., I type "volatile" and think valid variable types should pop-up, is that right?


Yes, this should be automatic!

This sounds like an installer issue. You could try to run the installer again and click repair but I recommend installing version 1305.21 of Visual Micro from our download site. On the download site click DOWNLOADS>(beta channel)

Thanks
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

C2

Thanks VM!

Simulator:
I was able to set up the simulator. Now I have two instances of AStudio open. I think I just need the simulator and I notice that my sketch is part of the project as a .cpp. It appears to run, but since I don't know how to use the software, I'm not sure where to go from here. I was able to Step into and keep stepping through the code and libraries, etc., and that is exactly what I wanted to do. I'll jut have to read up on using AStudio.

Intellesense:
I might just not understand how it is supposed to work. For example, on a new line I can hit Ctrl-Space and a pop-up appears with a number of elements, "Serial" is not among them. Ctrl-J does not seem to do anything, but I think it once did produce a pop-up...

visualmicro

Hi,

Yes the Sim of for people who already know how to use it, at the moment :)

Intellisense

CTRL+J works in Visual Studio not Atmel Studio, we still have some docs on visualmicro.com to update.

Atmel Studio intellisense is automatic, same as Visual Studio 2012.

If you type part of the word volatile you should see a list, for example "volat", there are plenty of intellisense short cut keys and options in Atmel Studio. Take a look at the VisualAssistX menu. VisualAssistX is the intellisense engine of Atmel Studio.
Arduino for Microsoft Visual Studio Pro and Atmel Studio 6.1 http://www.visualmicro.com
Arduino Debugger http://www.visualmicro.com/post/2012/05/05/Debug-Arduino-Overview.aspx

C2

Thanks, the new version fixed Intellisense.

Go Up