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 = ['msp430-unknown-elf-gcc', '-nostdlib', '-mlarge', '-mdata-region=none'] 7cpp = ['msp430-unknown-elf-g++', '-nostdlib', '-mlarge', '-mdata-region=none'] 8ar = 'msp430-unknown-elf-ar' 9as = 'msp430-unknown-elf-as' 10nm = 'msp430-unknown-elf-nm' 11strip = 'msp430-unknown-elf-strip' 12exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-msp430 "$@"', 'run-msp430'] 13 14[host_machine] 15system = 'zephyr' 16cpu_family = 'msp430' 17cpu = 'msp430' 18endian = 'little' 19 20[properties] 21skip_sanity_check = true 22libgcc = ['-lmul_none', '-lgcc'] 23default_alignment = 2 24default_flash_addr = '0x00010000' 25default_flash_size = '0x000e0000' 26default_ram_addr = '0x00001c00' 27default_ram_size = '0x00004000' 28default_stack_size = '0x00000400' 29additional_sections = ['init', 'vector'] 30default_init_addr = '0x00005c00' 31default_init_size = '0x0000a3c0' 32default_init_contents = ['KEEP (*(.text.init.enter))', 'KEEP (*(.data.init.enter))', 'KEEP (*(SORT_BY_NAME(.init) SORT_BY_NAME(.init.*)))'] 33 34default_vector_addr = '0x0000ffc0' 35default_vector_size = '0x00000040' 36default_vector_contents = ['KEEP (*(.rodata.vector*))'] 37