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-zephyr-eabi-gcc', '-nostdlib']
7ar = 'arm-zephyr-eabi-ar'
8as = 'arm-zephyr-eabi-as'
9nm = 'arm-zephyr-eabi-nm'
10strip = 'arm-zephyr-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 = 'zephyr'
16cpu_family = 'arm'
17cpu = 'arm'
18endian = 'little'
19
20[properties]
21skip_sanity_check = true
22default_flash_addr = '0x00000000'
23default_flash_size = '0x00400000'
24default_ram_addr   = '0x20000000'
25default_ram_size   = '0x00200000'
26
27custom_mem_config_thumb_v8_1_m_main_mve_hard = 'mps3_an547'
28custom_mem_config_thumb_v8_m_main_dp_hard = 'mps3_an547'
29custom_mem_config_thumb_v8_m_main_dp_softfp = 'mps3_an547'
30
31separate_boot_flash_mps3_an547 = true
32default_boot_flash_addr_mps3_an547 = '0x00000000'
33default_boot_flash_size_mps3_an547 = '0x00080000'
34default_flash_addr_mps3_an547 = '0x01000000'
35default_flash_size_mps3_an547 = '0x00200000'
36default_ram_addr_mps3_an547 = '0x60000000'
37default_ram_size_mps3_an547 = '0x01000000'
38
39custom_mem_config_thumb_v8_m_base_nofp = 'mps2_an505'
40custom_mem_config_thumb_v8_m_main_nofp = 'mps2_an505'
41custom_mem_config_thumb_v8_m_main_fp_hard = 'mps2_an505'
42custom_mem_config_thumb_v8_m_main_fp_softfp = 'mps2_an505'
43
44separate_boot_flash_mps2_an505 = true
45default_boot_flash_addr_mps2_an505 = '0x10000000'
46default_boot_flash_size_mps2_an505 = '0x10000400'
47default_flash_addr_mps2_an505 = '0x10000400'
48default_flash_size_mps2_an505 = '0x103ffc00'
49default_ram_addr_mps2_an505 = '0x80000000'
50default_ram_size_mps2_an505 = '0x01000000'
51