Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Working with Teensy (Read 4521 times)
Cas55
Newbies
*
Offline



Posts: 4
Rotterdam (Netherlands)
Working with Teensy
Jun 4th, 2013 at 12:03am
 
The Atmel Visual Studio and the VisualMicro plug-in are working fine with a normal Arduino UNO board. Because I have a Teensy3.0 that I want to use with a bluetooth module I tried to compile a sketch for the Teensy3 board.

I installed the TeensyDuino IDE According to http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx

But I don't know how to manually set the three Teensy defines which reflect the additional Tools menu options in the Teensyduino IDE (such as cpu speed, keyboard language).

Any ideas?
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11223
United Kingdom
Re: Working with Teensy
Reply #1 - Jun 4th, 2013 at 12:10am
 
Okay thanks,

1)

Have you installed the Atmel patch?

If not you will not be able to "View>Properties" ALT+ENTER and set any Visual Micro project properties.

You will find a link to the patch on this page

http://www.visualmicro.com/page/Arduino-for-Atmel-Studio.aspx


2)

When you can click the project name in the solution explorer and ALT+ENTER to view the properties then you are ready to add the defines that will make the Teensy compile and work with the settings you require.

I can explain what to enter in the "Project -Defines" project property if you can explain the options you have chosen for your Teensy board. These options are menu items in the Arduino IDE (keyboard language, cpu speed etc)

Thanks
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Cas55
Newbies
*
Offline



Posts: 4
Rotterdam (Netherlands)
Re: Working with Teensy
Reply #2 - Jun 4th, 2013 at 9:34pm
 
1) Yes, the atmel patch was installed previously.

2) After clicking "Blink" in the Solution Explorer window I changed in the Properties window the Blink Project Properties after scrolling down to the Micro General (Project Global) properties the Defines - Defines to: "F_CPU=96000000;USB_SERIAL;LAYOUT_US_ENGLISH"

I like to show a picture but don't know how to get it to this forum.

After this the Solution 'Blink' could be compiled
Back to top
« Last Edit: Jun 4th, 2013 at 10:20pm by Tim@Visual Micro »  
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print