summaryrefslogtreecommitdiffstats
path: root/cross/msp430.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:38 +0000
commit7b6e527f440cd7e6f8be2b07cee320ee6ca18786 (patch)
tree4a2738d69fa2814659fdadddf5826282e73d81f4 /cross/msp430.txt
parentInitial commit. (diff)
downloadmeson-abc1053c93e42d48e1bfeece27bb47e24257fdef.tar.xz
meson-abc1053c93e42d48e1bfeece27bb47e24257fdef.zip
Adding upstream version 1.0.1.upstream/1.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cross/msp430.txt')
-rw-r--r--cross/msp430.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/cross/msp430.txt b/cross/msp430.txt
new file mode 100644
index 0000000..839c90b
--- /dev/null
+++ b/cross/msp430.txt
@@ -0,0 +1,25 @@
+# This file assumes that path to the Texas Instruments MSP430 toolchain is added
+# to the environment(PATH) variable, so that Meson can find
+# cl430 and ar430 while building.
+[binaries]
+c = cl430
+ar = ar430
+strip = strip430
+
+[host_machine]
+system = 'baremetal'
+cpu_family = 'msp430'
+endian = 'little'
+
+[built-in options]
+c_args = [
+ '-vmsp',
+ '--printf_support=minimal']
+c_link_args = [
+ '--rom_model',
+ '-llibc.a',]
+cpp_args = []
+cpp_link_args = []
+
+[properties]
+needs_exe_wrapper = true