summaryrefslogtreecommitdiff
path: root/toolchain/msp430.cmake
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2014-06-22 16:05:28 +0000
committergkostka <kostka.grzegorz@gmail.com>2014-06-22 16:05:28 +0000
commita9d50411a953b42661b8c3940e1914d87add1599 (patch)
tree0bbb64ca4e6b8e0249ffcf2fe83df2933093b3ed /toolchain/msp430.cmake
parent627b4180e0732f1274af6a97f8abeec7bb0911ad (diff)
MSP430 toolchain files
Diffstat (limited to 'toolchain/msp430.cmake')
-rw-r--r--toolchain/msp430.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/msp430.cmake b/toolchain/msp430.cmake
new file mode 100644
index 0000000..7736c29
--- /dev/null
+++ b/toolchain/msp430.cmake
@@ -0,0 +1,7 @@
+# Name of the target
+set(CMAKE_SYSTEM_NAME msp430)
+set(CMAKE_SYSTEM_PROCESSOR msp430g2210)
+
+set(MCPU_FLAGS "-mmcu=msp430g2210")
+
+include(${CMAKE_CURRENT_LIST_DIR}/common/msp430-gcc.cmake) \ No newline at end of file