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 error: 'SerialUSB' was not declared in this scope (Read 5114 times)
MadHattan
Newbies
*
Offline


Posts: 3
Location: Manhattan Kansas
Joined: Sep 10th, 2014
error: 'SerialUSB' was not declared in this scope
Jun 3rd, 2016 at 3:52pm
Print Post  
I am attempting to use Visual Micro with an Adafruit Feather M0.  The sample Blink code compiles and deploys perfectly with Arduino IDE but fails in Visual Micro.
      
Becca.ino:In function 'void setup()
Becca.ino:18:57: error: 'SerialUSB' was not declared in this scope
:void setup() { 
    debugger: The error shown above might be caused by invalid breakpoint syntax or the board is not yet supported for debugging (pls let us know!)
Error compiling project sources
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error: 'SerialUSB' was not declared in this scope
Reply #1 - Jun 3rd, 2016 at 5:45pm
Print Post  
Hi,

Please switch off debug by changing the tool bar from "Debug" to "Release" then it will upload same as Arduino Ide

Please confirm which feather you have so I can test debug for the board. There are a number of feathers each with a different processor.

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