Hello all new teensy 3.0 owner!

Status
Not open for further replies.

Derangedgamer123

Active member
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!
 
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:

http://www.baeyens.it/eclipse/Install.html
http://forum.pjrc.com/threads/1474-Anyone-using-Eclipse-for-development

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

http://embedxcode.weebly.com/
http://embedxcode.weebly.com/download.html
http://forum.pjrc.com/threads/169-embedXcode-Teensy-3-0-on-Xcode

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

http://visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx

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.
 
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......
 
"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?
 
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.
 
Status
Not open for further replies.
Back
Top