summaryrefslogtreecommitdiff
path: root/cross/armcc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cross/armcc.txt')
-rw-r--r--cross/armcc.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/cross/armcc.txt b/cross/armcc.txt
index 259773888..c884ffa97 100644
--- a/cross/armcc.txt
+++ b/cross/armcc.txt
@@ -1,11 +1,20 @@
+# This file assumes that path to the arm compiler toolchain is added
+# to the environment(PATH) variable, so that Meson can find
+# the armcc, armlink and armar while building.
[binaries]
c = 'armcc'
cpp = 'armcc'
ar = 'armar'
strip = 'armar'
+[properties]
+# The '--cpu' option with the appropriate target type should be mentioned
+# to cross compile c/c++ code with armcc,.
+c_args = ['--cpu=Cortex-M0plus']
+cpp_args = ['--cpu=Cortex-M0plus']
+
[host_machine]
-system = 'WINDOWS'
+system = 'bare metal' # Update with your system name - bare metal/OS.
cpu_family = 'arm'
cpu = 'Cortex-M0+'
endian = 'little'