Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 9 of 9

Thread: IDE for Teensy

  1. #1
    Junior Member
    Join Date
    Jun 2014
    Posts
    8

    IDE for Teensy

    What do people use as an IDE for Teensy 3.1. Arduino 1.0.5?

    Can Atmel Studio 6 be adapted to compile for the Teensy?

    P.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    24,006
    Arduino 1.0.5 is the most common choice.

    There's a product called "Visual Micro" that allows Teensy to be used with Atmel Studio. It's not made by PJRC.

    Here's the website:

    http://www.visualmicro.com/

  3. #3
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    I use Atmel Studio 6 with the Visual Micro Plugin (both free) for both Teensy 2/AVR and Teensy 3.1.
    Excellent.
    http://forum.pjrc.com/threads/25757-...ght=boards.txt
    my post about putting a few lines in the Teensy3 boards.txt file to avoid having Teensy-specific settings in the Studio project.
    Last edited by stevech; 06-18-2014 at 08:09 PM.

  4. #4

  5. #5
    Junior Member
    Join Date
    Jun 2014
    Posts
    8
    thanks all. I installed Atmel studio and visual micro but I am having problems compiling. I am getting the "mk20dx256 not supported by Atmel Studio error".

    I have three directories in C:\Program Files (x86)\Arduino\hardware\: arduino, teensy and tools.

    Is there another configuration setting in Atmel studio to tell it where the teensy folder is?

    Update:

    In the C:\Program Files (x86)\Arduino\hardware\arduino\boards.txt file I inserted the settings from the Teensy boards.txt file but now the studio is not finding the libraries in this folder: C:\Program Files (x86)\Arduino\hardware\teensy\cores\teensy3

    How do I tell Atmel that these libraries are there?
    Last edited by psepa; 06-24-2014 at 09:36 AM.

  6. #6
    Junior Member
    Join Date
    Jun 2014
    Posts
    8
    Quote Originally Posted by stevech View Post
    I use Atmel Studio 6 with the Visual Micro Plugin (both free) for both Teensy 2/AVR and Teensy 3.1.
    Excellent.
    http://forum.pjrc.com/threads/25757-...ght=boards.txt
    my post about putting a few lines in the Teensy3 boards.txt file to avoid having Teensy-specific settings in the Studio project.
    Thanks! this worked.

  7. #7
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    Good. I've been using Atmel Studio 6.1 with AVR and Teensy for quite a while. It's great. No longer need Arduino's IDE.

  8. #8
    I was going to look into any Eclipse options but I just pulled down the Visual Micro plugin for Visual Studio 2010 - got some simple sketches to run right off. A more complex sketch apparently needs some config...getting all missing libraries, scope issues. Nothing that RTFM can't solve hopefully.
    I'll probably switch over to that as I use VS2010 quite a bit.

  9. #9
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    I have been doing complex compilations with Visual Micro and have not had to alter its config. It uses the Arduino 1.0.5 GCC command line so it just works, for me.

    Eclipse for Teensy 3 - I tried very hard to use it. I used it a lot last year for Python. But, sadly, there's just not a clear, concise and simple way to get it running for T3.
    Visual Micro w/Studio, being free, is better for me - much more sophisticated, easy to use.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •