diff options
| author | Liza Chevalier <lizalc@pm.me> | 2025-10-29 11:17:00 -0500 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-29 12:35:55 -0700 |
| commit | ba860d72a96932608bb2b13a2f32ebda0087905a (patch) | |
| tree | d40fb1da7ea242673c6f7896c70be6ed12d6416e /cross | |
| parent | e9d255de1580235fff96e110001ce4293006caaa (diff) | |
| download | meson-ba860d72a96932608bb2b13a2f32ebda0087905a.tar.gz | |
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.
Diffstat (limited to 'cross')
| -rw-r--r-- | cross/xc32.txt | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
