PDA

View Full Version : Tool chain for teensy 3.0



mike
11-17-2012, 03:37 AM
Since this board does not use an AVR processor, what tool chains are available for Mac, Linux, and Windows to create code (.HEX) to be loaded on the ARM Cortex-M4?

JBeale
11-17-2012, 03:46 AM
There are a few GNU GCC based options, including the easiest, the Arduino environment that Paul provides. See for example:

http://forum.pjrc.com/threads/430-Teensy-3-0-quot-beta8-quot-Software

PaulStoffregen
11-17-2012, 04:33 AM
Yup, the tool chain is the same one Arduino is using, which I believe was built by the Maple folks. It's really just a very generic "arm-eabi-none" gnu toolchain.

Near the bottom of my to-do list is custom compiling the toolchain with a newer gcc version and options to (hopefully) reduce the installed size. Newlib could be built with better options, as Bill has mentioned, but long before I fiddle with custom building the toolchain, I'm going to port the AVR malloc/realloc/free to ARM.

MichaelMeissner
11-19-2012, 02:10 PM
Yup, the tool chain is the same one Arduino is using, which I believe was built by the Maple folks. It's really just a very generic "arm-eabi-none" gnu toolchain.

Near the bottom of my to-do list is custom compiling the toolchain with a newer gcc version and options to (hopefully) reduce the installed size. Newlib could be built with better options, as Bill has mentioned, but long before I fiddle with custom building the toolchain, I'm going to port the AVR malloc/realloc/free to ARM.

When you get into building the toolchain, you might want to start with downloads from linaro http://www.linaro.org, which is a consortium of people working to improve the arm toolchain and ecostructure. If you haven't done it before, building the entire toolchain can be a long process. Shoot me an email if you get stuck.