Hello, and thank you for your attention to my question!
Excuse me for my bad English, I'll try to explain everything in detail.
For the purity of the experiment I installed everything from scratch, namely:
1. Arduino IDE 1.0.3, from here -
http://arduino.cc/en/Main/Software;
2. Teensyduino, Version 1.12, from here -
http://www.pjrc.com/teensy/td_download.html;
3. Install Teensyduino software in Arduino IDE folder;
4. Try to compile project for Teensy 3.0 board under Arduino IDE - all compiled, flushed to the doard and works!
5. Download Visual Micro Plugin (1301.14), from here -
http://visualmicro.codeplex.com/releases/view/100355 6. Install under MS Visual Studio 2012
o.k.
I start Visual Studio 2012, go to Tools/Options/Visual Micro
I so this picture:
https://docs.google.com/file/d/0B-_e-jRDz7k0WDR0S0xRMjJIZGM/edit?usp=sharing o.k.,I put the settings for the export to Teensy
https://docs.google.com/file/d/0B-_e-jRDz7k0SzN4cURsSklTeDQ/edit?usp=sharing https://docs.google.com/file/d/0B-_e-jRDz7k0Yms1eFlsMzJxdEU/edit?usp=sharing and try to compile...
I get the following compiler errors:
Compiling 'x' for 'Teensy 3.0'
Build folder:
file://D:\....\x
SketchLibFolders
C:\Program Files (x86)\Arduino-1.0.3\hardware\teensy\cores\teensy3;c:\program files (x86)\arduino-1.0.3\hardware\tools\avr\avr\include\;c:\program files (x86)\arduino-1.0.3\hardware\tools\avr\avr\include\avr\;c:\program files (x86)\arduino-1.0.3\hardware\tools\avr\avr\;c:\program files (x86)\arduino-1.0.3\hardware\tools\avr\lib\gcc\avr\4.3.2\include\;
Summary: Header=1 Prototypes=13 Imports=0
Additional Defines: FCPU=96000000;USBSERIAL;LAYOUTUSENGLISH ;VISUALMICRO_COMPILER_VER=1;
Architecture Tools: C:\Program Files (x86)\Arduino-1.0.3\hardware\tools\arm-none-eabi\bin\
C:\Program Files (x86)\Arduino-1.0.3\hardware\tools\arm-none-eabi\bin\arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mcpu=cortex-m4 -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -felide-constructors -std=gnu++0x -mthumb -nostdlib -D__MK20DX128__ -fno-rtti -DFCPU=96000000 -DUSBSERIAL -DLAYOUTUSENGLISH= -DVISUALMICRO_COMPILER_VER=1 -I"C:\Program Files (x86)\Arduino-1.0.3\hardware\teensy\cores\teensy3" "D:\Users\.....\AppData\Local\VMicro\Arduino\Builds\x\x.cpp" -o "D:\Users\......\AppData\Local\VMicro\Arduino\Builds\x\x.cpp.o"
wiring.h : In file included from
WProgram.h : from
arduino.h : from
x.ino : from
core_pins.h : : In function 'void delayMicroseconds(uint32_t)':
core_pins.h : 'n' was not declared in this scope
WProgram.h : In file included from
arduino.h : from
x.ino : from
HardwareSerial.h : : In member function 'void HardwareSerial::begin(uint32_t)':
HardwareSerial.h : 'F_CPU' was not declared in this scope
HardwareSerial.h : : In member function 'void HardwareSerial2::begin(uint32_t)':
HardwareSerial.h : 'F_CPU' was not declared in this scope
HardwareSerial.h : : In member function 'void HardwareSerial3::begin(uint32_t)':
HardwareSerial.h : 'F_BUS' was not declared in this scope
usb_keyboard.h : In file included from
WProgram.h : from
arduino.h : from
x.ino : from
keylayouts.h : : At global scope:
keylayouts.h : 'KEYCODE_TYPE' does not name a type
keylayouts.h : 'KEYCODE_TYPE' does not name a type
x.ino : : In function 'void loop()':
x.ino : Warning: unused variable 'me' [-Wunused-variable]
x.ino : : At global scope:
x.ino : 'void HT1632C_Send_Data(int, byte, byte)' defined but not used [-Wunused-function]
Error compiling
if I try to compile for Arduino Leonardo, no problem: What i'm doing wrong?