Skip to content

Cmake files to compile project for msp launchpad

License

Notifications You must be signed in to change notification settings

charterchap/msp430-cmake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a minimal cmake project to compile a msp430 program to MSP launchpad using msp430-gcc/mspdebug toolchain. It is composed of a cmake toolchain file (generic-msp430-gcc.cmake), an example CMakeLists.txt demonstrates how to use it to compile and upload a simple application (led blink). See also my AVR version, from which this code is derived (https://github.com/descampsa/avr-cmake)

Basic usage:

$ mkdir build
$ cd build
$ cmake ..
$ make example #compile example
$ make upload_example #upload to launchpad

The LEDs should blink alternately once per second if everything went right.

About

Cmake files to compile project for msp launchpad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 83.0%
  • C 17.0%