1[binaries]
2# Meson 0.53.2 doesn't use any cflags when doing basic compiler tests,
3# so we have to add -nostdlib to the compiler configuration itself or
4# early compiler tests will fail. This can be removed when picolibc
5# requires at least version 0.54.2 of meson.
6c = ['ccache', 'arm-none-eabi-gcc', '-nostdlib', '-mthumb', '-march=armv8-m.main+fp', '-mfloat-abi=hard']
7ar = 'arm-none-eabi-ar'
8as = 'arm-none-eabi-as'
9nm = 'arm-none-eabi-nm'
10strip = 'arm-none-eabi-strip'
11# only needed to run tests
12exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-arm "$@"', 'run-arm']
13
14[host_machine]
15system = 'none'
16cpu_family = 'arm'
17cpu = 'arm'
18endian = 'little'
19
20[properties]
21skip_sanity_check = true
22separate_boot_flash = true
23default_boot_flash_addr = '0x10000000'
24default_boot_flash_size = '0x10000400'
25default_flash_addr = '0x10000400'
26default_flash_size = '0x103ffc00'
27default_ram_addr   = '0x80000000'
28default_ram_size   = '0x01000000'
29