MCUExpresso with Debugger Configuration?

Status
Not open for further replies.

bss_hmr

New member
Has anyone set up the Teensy Core libraries in MCUXpresso or other eclipse environment? I modified the Teensy 3.5 hardware for debugging and can successfully load the default 'hello world' program to the teensy, cannot figure out how to configure the eclipse environment to allow me to use the arduino libraries.

Thanks in advance!
 
I don't know the MCUExpresso environment but i can give you the basic steps for the GNU MCU C/C++ plugin and its probably more or less the same. First copy the entire Teensy source to a sub folder in you eclipse project and press F5 for refresh.

Example:
cp -R /usr/share/arduino/hardware/teensy/avr/cores/teensy3/* /your-eclipse-project/teesy3

Then right click in Eclipse on the directory and select properties and "C/C++ Build" and uncheck "Exclude resource from build" if it is checked. Afterwards you only have to add the directory to your compiler include path and set the correct compiler options, cpu, etc... in Project / properties / C/C++ Build / Settings. See the makefile in the teensy3 directory to get the correct options.

Good luck..
 
There is a ready to use plugin for Eclipse. It picks all needed board and compile information from a parallel existing Arduino/Teensyduino installation. Thus, you can do everything in Eclipse which will automatically follow when you update the Arduino/Teensyduino installation: http://eclipse.baeyens.it/index.shtml
 
Status
Not open for further replies.
Back
Top