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-none-eabi-gcc', '-nostdlib']
7cpp = ['arm-none-eabi-g++', '-nostdlib']
8ar = 'arm-none-eabi-ar'
9as = 'arm-none-eabi-as'
10nm = 'arm-none-eabi-nm'
11strip = 'arm-none-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 = 'none'
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'
31custom_mem_config_thumb_v8_1_m_main_pacbti_bp_nofp = 'mps3_an547'
32custom_mem_config_thumb_v8_1_m_main_pacbti_dp_bp_hard = 'mps3_an547'
33custom_mem_config_thumb_v8_1_m_main_pacbti_dp_bp_softfp = 'mps3_an547'
34custom_mem_config_thumb_v8_1_m_main_pacbti_fp_bp_hard = 'mps3_an547'
35custom_mem_config_thumb_v8_1_m_main_pacbti_fp_bp_softfp = 'mps3_an547'
36custom_mem_config_thumb_v8_1_m_main_pacbti_mve_bp_hard = 'mps3_an547'
37
38separate_boot_flash_mps3_an547 = true
39default_boot_flash_addr_mps3_an547 = '0x00000000'
40default_boot_flash_size_mps3_an547 = '0x00080000'
41default_flash_addr_mps3_an547 = '0x01000000'
42default_flash_size_mps3_an547 = '0x00200000'
43default_ram_addr_mps3_an547 = '0x60000000'
44default_ram_size_mps3_an547 = '0x01000000'
45
46custom_mem_config_thumb_v8_m_base_nofp = 'mps2_an505'
47custom_mem_config_thumb_v8_m_main_nofp = 'mps2_an505'
48custom_mem_config_thumb_v8_m_main_fp_hard = 'mps2_an505'
49custom_mem_config_thumb_v8_m_main_fp_softfp = 'mps2_an505'
50
51separate_boot_flash_mps2_an505 = true
52default_boot_flash_addr_mps2_an505 = '0x10000000'
53default_boot_flash_size_mps2_an505 = '0x10000400'
54default_flash_addr_mps2_an505 = '0x10000400'
55default_flash_size_mps2_an505 = '0x103ffc00'
56default_ram_addr_mps2_an505 = '0x80000000'
57default_ram_size_mps2_an505 = '0x01000000'
58