Hei everyone,
I developed a basic template project for Eclipse. As I develop in both Linux and Windows, I wanted it to compile as easy as possible on both systems.
https://github.com/TimJay/teensy_template
All you need to do to get going are these steps:
1. Install GNU ARM Eclipse Plug-in from http://gnuarmeclipse.livius.net/blog/plugins-install/ into Eclipse CDT (I use 4.4/Luna)
2. Add an environment variable 'TEENSYDUINO_ROOT' pointing to the teensyduino directory (the arduino directory with teensyduino applied)
3. Clone the git repository 'https://github.com/TimJay/teensy_template.git'
4. Copy the 'teensy_template' directory to your workspace
5. Rename the directory and any occurences in '.project' and '.cproject' if you like.
6. Copy the directory '$TEENSYDUINO_ROOT/hardware/teensy/cores/teensy3' into the project root as 'teensy3'
7. Import project into Eclipse workspace
(8. On Linux link 'make' and 'echo' into '$TEENSYDUINO_ROOT/hardware/tools/arm-none-eabi/bin' (the project only uses that folder as 'PATH'))
It would be nice to get some feedback if this works for you out there. Hope this is of help.
Cheers
Tim
I developed a basic template project for Eclipse. As I develop in both Linux and Windows, I wanted it to compile as easy as possible on both systems.
https://github.com/TimJay/teensy_template
All you need to do to get going are these steps:
1. Install GNU ARM Eclipse Plug-in from http://gnuarmeclipse.livius.net/blog/plugins-install/ into Eclipse CDT (I use 4.4/Luna)
2. Add an environment variable 'TEENSYDUINO_ROOT' pointing to the teensyduino directory (the arduino directory with teensyduino applied)
3. Clone the git repository 'https://github.com/TimJay/teensy_template.git'
4. Copy the 'teensy_template' directory to your workspace
5. Rename the directory and any occurences in '.project' and '.cproject' if you like.
6. Copy the directory '$TEENSYDUINO_ROOT/hardware/teensy/cores/teensy3' into the project root as 'teensy3'
7. Import project into Eclipse workspace
(8. On Linux link 'make' and 'echo' into '$TEENSYDUINO_ROOT/hardware/tools/arm-none-eabi/bin' (the project only uses that folder as 'PATH'))
It would be nice to get some feedback if this works for you out there. Hope this is of help.
Cheers
Tim
Last edited: