From a470835778b4a9813e8a6046e04a958755797347 Mon Sep 17 00:00:00 2001 From: Somasekhar Penugonda Date: Tue, 6 Mar 2018 14:19:16 +0530 Subject: Meson Github pull request - 3186 requested changes - Fixing flake8 error in compilers.py - [E124] closing bracket does not match visual indentation - Updating ARMCCompiler constructor in c.py to raise error as per comments --- cross/armcc.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cross/armcc.txt (limited to 'cross') diff --git a/cross/armcc.txt b/cross/armcc.txt new file mode 100644 index 0000000..2597738 --- /dev/null +++ b/cross/armcc.txt @@ -0,0 +1,11 @@ +[binaries] +c = 'armcc' +cpp = 'armcc' +ar = 'armar' +strip = 'armar' + +[host_machine] +system = 'WINDOWS' +cpu_family = 'arm' +cpu = 'Cortex-M0+' +endian = 'little' -- cgit v1.1 From e62b8109ebfef437a380f2d8cedd1565095a5574 Mon Sep 17 00:00:00 2001 From: Somasekhar Penugonda Date: Thu, 15 Mar 2018 18:33:11 +0530 Subject: Updates to CPP support and update review changes --- cross/armcc.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'cross') diff --git a/cross/armcc.txt b/cross/armcc.txt index 2597738..c884ffa 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' -- cgit v1.1