| 1 |
# This file assumes that path to the Microchip xc16 toolchain is added |
| 2 |
# to the environment(PATH) variable, so that Meson can find |
| 3 |
# xc16-gcc and xc16-ar while building. |
| 4 |
[binaries] |
| 5 |
c = 'xc16-gcc' |
| 6 |
ar = 'xc16-ar' |
| 7 |
strip = 'xc16-gcc' |
| 8 |
|
| 9 |
[host_machine] |
| 10 |
system = 'bare metal' |
| 11 |
cpu_family = 'dspic' |
| 12 |
cpu = '33ep64mc203' |
| 13 |
endian = 'little' |
| 14 |
|
| 15 |
[properties] |
| 16 |
needs_exe_wrapper = true |
| 17 |
|
| 18 |
[built-in options] |
| 19 |
c_args = [ |
| 20 |
'-c', |
| 21 |
'-mcpu=33EP64MC203', |
| 22 |
'-omf=elf'] |
| 23 |
c_link_args = [ |
| 24 |
'-mcpu=33EP64MC203', |
| 25 |
'-omf=elf', |
| 26 |
'-Wl,--script=p33EP64MC203.gld,'] |