I have successfully used crosstool-ng to build a compiler that can run on the Raspberry Pi, and can generate code for a Cortex-M4 (the chip on the Teensy3.)
So far so good! The config files I ended up using are available on github:
https://github.com/jwatte/teensy-canadian
However, what I don't have yet is the correct runtime libraries to use the PJRC libraries for Wiring / Teensy3, nor to set up interrupt handlers and whatnot.
Patches welcome
So far so good! The config files I ended up using are available on github:
https://github.com/jwatte/teensy-canadian
However, what I don't have yet is the correct runtime libraries to use the PJRC libraries for Wiring / Teensy3, nor to set up interrupt handlers and whatnot.
Patches welcome