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 Atmel Studio 6.1 + Teensy 3.1 compile error (Read 3632 times)
Hesse
Newbies
*
Offline


Posts: 1
Joined: Feb 28th, 2014
Atmel Studio 6.1 + Teensy 3.1 compile error
Feb 28th, 2014 at 7:51am
Print Post  
Just a quick post if anybody knows where the problem might be

Code
Select All
Compiling 'qwe' for 'Teensy 3.1'
wiring.h:In file included from
WProgram.h:from
arduino.h:from
qwe.ino:from
core_pins.h:In function 'void delayMicroseconds(uint32_t)'
core_pins.h:785:11: error: 'n' was not declared in this scope
WProgram.h:In file included from
arduino.h:from
qwe.ino:from
HardwareSerial.h:In member function 'virtual void HardwareSerial::begin(uint32_t)'
HardwareSerial.h:147:51: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial::begin(uint32_t, uint32_t)'
HardwareSerial.h:149:21: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial2::begin(uint32_t)'
HardwareSerial.h:175:52: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial2::begin(uint32_t, uint32_t)'
HardwareSerial.h:177:22: error: 'F_CPU' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial3::begin(uint32_t)'
HardwareSerial.h:202:52: error: 'F_BUS' was not declared in this scope
HardwareSerial.h:In member function 'virtual void HardwareSerial3::begin(uint32_t, uint32_t)'
HardwareSerial.h:204:22: error: 'F_BUS' was not declared in this scope
usb_keyboard.h:In file included from
WProgram.h:from
arduino.h:from
qwe.ino:from
keylayouts.h:At global scope
keylayouts.h:5414:14: error: 'KEYCODE_TYPE' does not name a type
keylayouts.h:5415:14: error: 'KEYCODE_TYPE' does not name a type
WProgram.h:In file included from
arduino.h:from
qwe.ino:from
IntervalTimer.h:37:54: error: 'F_BUS' was not declared in this scope
IntervalTimer.h:In member function 'bool IntervalTimer::begin(IntervalTimer::ISR, unsigned int)'
IntervalTimer.h:57:23: error: 'F_BUS' was not declared in this scope
IntervalTimer.h:In member function 'bool IntervalTimer::begin(IntervalTimer::ISR, float)'
IntervalTimer.h:72:30: error: 'F_BUS' was not declared in this scope
Error compiling
 



The code contains only void setup() {} void loop() {}, nothing else. Default empty functions.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel Studio 6.1 + Teensy 3.1 compile error
Reply #1 - Feb 28th, 2014 at 12:47pm
Print Post  
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint