PDA

View Full Version : Tutorial Request -Makefile , Non-Arduino Library/IDE programming...



Derangedgamer123
09-03-2013, 06:20 PM
Our university is about to place an order for 10 of your units!

Thanks for making a great product and I hope in the future that you get a chance to do a step by step makefile pure C code non arduino library tutorial.

Even pointers on how to go about doing this with some simple steps would be great. Either way awesome product!!!

PaulStoffregen
09-03-2013, 09:23 PM
Yes, better documentation is needed on the website for non-Arduino use of Teensy3.

I'm planning to overhaul my Teensyduino build process at some point, so as I update the software I can automatically build both Teensyduino and a non-Arduino package from the same code base. Realistically, that work isn't likely to happen until sometime next year. Too many other new things as planned in the meantime!

Even though the path isn't well documented, there is a sample makefile in hardware/teensy/cores/teensy3 within Arduino. It has comments about which directories you need to keep. The rest of Arduino you can simply delete.

There are also a few 3rd party plugins for popular (not Arduino) IDEs. Here are the links to those projects:

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

X-Code (Mac only):
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):
http://visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx