Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 2.12 KB

README.md

File metadata and controls

38 lines (30 loc) · 2.12 KB

msp430 Debug Blink with Clion

Template and instructions to debug msp430 using the gcc compiler and Clion

Requirements

Steps to Make it Work

Tested with macOS (M1).

  1. Create a debug CSStudio project. alt
  2. Configure compiler output files on project properties. alt alt
  3. Run one (at least) the debug on CCStudio to generate makefile.
  4. Open the project folder with Clion.
  5. Import the makefile with Clion (file inside debug folder). I recommend to improve the make file to include options to flach the mcu (take a look to the code of this repo).
  6. Configure the toolchain on Clion. alt
  7. Configure Embedded GDB Server from Clion setting. alt
  8. Done. Ready to debug. alt

Useful Resources