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 Mixed *.ino, *.c, *.cpp and Assembly (*.s) in Visual Studio/Micro Project (Read 2282 times)
Richard Arndt
Junior Member
**
Offline


Posts: 25
Joined: May 3rd, 2014
Mixed *.ino, *.c, *.cpp and Assembly (*.s) in Visual Studio/Micro Project
Sep 15th, 2016 at 12:53am
Print Post  
I figured out today that I can create an *.s file within a Visual Studio/Micro project "Source Files" folder, and write assembly functions to be called from the *.ino project file.  

I had done similar in the past using Atmel Studio and ported version of Arduino Core as a library.  With Atmel Studio and the Atmel ExplainMini328p (UNO clone) board I could perform embedded debugging (EDBG).  

I would like to do this with Visual Studio/Micro and Arduino UNO.  However, when I set a break point in the assembly code *.s file, it does not break.  Is there a way to do this? 

Rich 
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Mixed *.ino, *.c, *.cpp and Assembly (*.s) in Visual Studio/Micro Project
Reply #1 - Sep 15th, 2016 at 1:06pm
Print Post  
Hi

The standard debugger injects serial statements so I doubt it can operate in .S files

The new GDB system works with the EDBG on the Arduino Zero. It should also work with the Explained boards but I haven't had time to test and add the definitions. You could try doing that if you wanted. The GDB debugger is real debug like Atmel Studio

The latest releases of Visual Micro also enable you to use Arduino + Atmel 7 debugger via Atmel Studio 7

Let me know if something is of interest.

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint