aboutsummaryrefslogtreecommitdiff
path: root/cross/ccrx.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cross/ccrx.txt')
-rw-r--r--cross/ccrx.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/cross/ccrx.txt b/cross/ccrx.txt
new file mode 100644
index 0000000..5474bb0
--- /dev/null
+++ b/cross/ccrx.txt
@@ -0,0 +1,20 @@
+# This file assumes that path to the Renesas CC-RX toolchain is added
+# to the environment(PATH) variable, so that Meson can find
+# ccrx and rlink while building.
+[binaries]
+c = 'ccrx'
+cpp = 'ccrx'
+ar = 'rlink'
+strip = 'rlink'
+
+[properties]
+# The '--cpu' option with the appropriate target type should be mentioned
+# to cross compile c/c++ code with ccrx,.
+c_args = ['--cpu=rx600']
+cpp_args = ['--cpu=rx600']
+
+[host_machine]
+system = 'bare metal' # Update with your system name - bare metal/OS.
+cpu_family = 'rx'
+cpu = 'rx600'
+endian = 'little'