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 Working with Teensy (Read 5268 times)
Cas55
Newbies
*
Offline


Posts: 4
Location: Rotterdam (Netherlands)
Joined: May 18th, 2013
Working with Teensy
Jun 3rd, 2013 at 11:03pm
Print Post  
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: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Working with Teensy
Reply #1 - Jun 3rd, 2013 at 11:10pm
Print Post  
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
WWW  
IP Logged
 
Cas55
Newbies
*
Offline


Posts: 4
Location: Rotterdam (Netherlands)
Joined: May 18th, 2013
Re: Working with Teensy
Reply #2 - Jun 4th, 2013 at 8:34pm
Print Post  
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
« Last Edit: Jun 4th, 2013 at 9:20pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint