diff options
Diffstat (limited to 'meson/cross/armcc.txt')
-rw-r--r-- | meson/cross/armcc.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meson/cross/armcc.txt b/meson/cross/armcc.txt new file mode 100644 index 000000000..ae65c9e5e --- /dev/null +++ b/meson/cross/armcc.txt @@ -0,0 +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' + +[built-in options] +# 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 = 'bare metal' # Update with your system name - bare metal/OS. +cpu_family = 'arm' +cpu = 'Cortex-M0+' +endian = 'little' |