energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
793 stars 673 forks source link

Implement Debugging #152

Closed rei-vilo closed 11 years ago

rei-vilo commented 11 years ago

The LaunchPads feature on-board debugger.

How to integrate it in Energia?

See question from http://forum.stellarisiti.com/topic/378-energia-latest-releases/#entry1724

rei-vilo commented 11 years ago

Pull request #192 Various IDE fixes doesn't include debugging.

For manual debug, see http://forum.43oh.com/topic/3639-debugging-with-energia/

rei-vilo commented 11 years ago

See Composer Code Studio 6 at http://processors.wiki.ti.com/index.php/CCSv6

Energia sketches support

  • Import Energia sketches (i.e. .ino files) into CCS. To learn how, follow instructions on the Highlight Section of the Welcome page of CCS.
  • It requires Energia to be installed and available as CCS uses Energia core library & framework source code as well as tool chain including compiler/linker (i.e. mspgcc).
  • Two CCS projects will be created. First project contains Energia framework files and it is a library project. Second main project contains .ino file converted to .cpp.
  • Energia perspective can be enabled when importing Energia sketch per instructions on the Welcome page of CCS or via Windows > Open Perspective > Other > CCS Energia.
  • CCS debug features may then be used to step through main project and framework source code, examine variables and use Terminal View.
xtagon commented 11 years ago

@rei-vilo Awesome! Debugging was the only thing stopping me from using Energia with my Launchpad. I can't wait to try out an Energia workflow in CCS 6.