MSP-GCC in VS code

VS code is one of the most used IDEs and configuring it to program a msp430 was easier as I expected. So let start blink a led from from vs code.

  • Take any blink.c either from the net or from our older posts and copy it to you working folder.
  • Configure the c/c++, so mainly it has to find your msp gcc compiler. This is an example configuration:
  • Test it by trying to find the definition of a symbol.
  • Let’s build the blinker using cmake For this we need following files
  • CMakePresets.json
  • toolchain.cmake
  • CMakeLists.txt

and that is it… for now. Next step we need to ship the elf to the mcu 😉

Subscribe to get last updates.

×