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

Thread: Hello all new teensy 3.0 owner!

  1. #1

    Hello all new teensy 3.0 owner!

    I have 2 teensy's in the mail from the main site.

    Thank you for creating something amazing I will recommend it over most here at the engineering college in Texas.

    I do have a question for you old schoolers and those well versed in C.

    I want to program the MCU in a non-arduino IDE using C so I'm asking for any resources available.

    Whats a good place to start for a new C IDE for the teensy and what are some good sites that might help me understand C programming with the Teensy 3.0

    Suprisingly we dont have a MCU programming course at our school but we do learn about C++ programming and verilog with FPGA's.... Thanks in advance for any help!

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Arduino is really just C++ with a tiny bit of preprocessing and some extra libraries. In File > Preferences is an option to show verbose info while compiling. That will give you much more insight into how Arduino runs the compiler.

    In hardware/teensy/cores/teensy3 is a sample makefile, so you can build programs without Arduino. It has comments to guide you on which files are needed, if you want to discard the rest of Arduino.

    Currently there are 3 other IDEs supported by 3rd party plugins.

    Jantje’s Arduino Eclipse plugin supports Teensy. Here’s some links:

    Xcode (Mac only), works with the embedXcode plugin.

    Visual Studio (Windows only) is uses the Visual Micro plugin:

    I personally do not use these 3 IDEs, so I can't do much more than simply point you to these pages for more info and the plugins. All 3 plugins are maintained by 3rd parties, not PJRC, so if you really use them, please give them your support.

  3. #3
    Basically we wanted to use your MCU dev board and use a language that would possibly impress employers... no offense to Arduino's amazing setup but its hard to impress the engineering manager that you can do so much with an MCU when its an Arduino....

    Perhaps I'm looking at this the wrong way is all......

  4. #4
    "The Teensy 3.0 comes pre-flashed with a bootloader so you can program it using the on-board USB connection: No external programmer needed! You can program for the Teensy in your favorite program editor using C"

    So how would I begin to program this with my favorite program editor in C?

    Is this not possible?

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Quote Originally Posted by Derangedgamer123 View Post
    So how would I begin to program this with my favorite program editor in C?
    First, start with Arduino, even if you never intend to use it again. At the very least, you can run the blink example and know the process and your hardware is all working properly.

    Next, try using the makefile. You should be able to compile and do everything from the command line, and of course edit the code with your favorite editor.

Posting Permissions

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