From ba860d72a96932608bb2b13a2f32ebda0087905a Mon Sep 17 00:00:00 2001 From: Liza Chevalier Date: Wed, 29 Oct 2025 11:17:00 -0500 Subject: compilers: add Microchip XC32 compiler The Microchip XC32 compiler is a GCC-based compiler implemented using existing GNU compiler classes. As the XC32 version and GCC version do not match mixins have been implemented to override versions used in versions checks where applicable. --- cross/xc32.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cross/xc32.txt (limited to 'cross') diff --git a/cross/xc32.txt b/cross/xc32.txt new file mode 100644 index 000000000..dd3d026b8 --- /dev/null +++ b/cross/xc32.txt @@ -0,0 +1,17 @@ +# This file assumes that path to the Microchip XC32 toolchain is added +# to the environment(PATH) variable, so that Meson can find XC32 while building. + +[binaries] +c = 'xc32-gcc' +cpp = 'xc32-g++' +ar = 'xc32-ar' +bin2hex = 'xc32-bin2hex' + +[host_machine] +system = 'baremetal' +cpu_family = 'pic32' +cpu = 'pic32' +endian = 'little' + +[properties] +needs_exe_wrapper = true -- cgit v1.2.3