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