VS Arduino
Visual Micro >> General Board >> Working with Teensy
https://www.visualmicro.com/forums/YaBB.pl?num=1370300581

Message started by Cas55 on Jun 3rd, 2013 at 11:03pm

Title: Working with Teensy
Post by Cas55 on Jun 3rd, 2013 at 11:03pm
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?

Title: Re: Working with Teensy
Post by Visual Micro on Jun 3rd, 2013 at 11:10pm
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

Title: Re: Working with Teensy
Post by Cas55 on Jun 4th, 2013 at 8: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

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.