bevice / msp430_cmake_template

Yet another MSP430 template for CMake build system. With CLion support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MSP430 Cmake Template Project

Requirements

Settings

Set environment variable MSP430_FIND_ROOT_PATH to the installed msp430-gcc-opensource toolchain, eg:

export MSP430_FIND_ROOT_PATH=~/toolchains/msp430_gcc
export PATH="${MSP430_FIND_ROOT_PATH}/bin:${PATH}"

in ~/.profile file

Extras

Simple bash script for easy create new project:

#!/bin/bash
git clone git@github.com:bevice/msp430_cmake_template.git $1
cd $1
git remote remove origin
sed -i '' -e   "s/msp430_project_template/$1/g" CMakeLists.txt
echo "# $1 #" > readme.md

Command: ~/bin/create_msp430_project test will clone the template into test directory, remove origin repository, rename project to "test" and clean this file

About

Yet another MSP430 template for CMake build system. With CLion support


Languages

Language:CMake 95.5%Language:C 4.5%