[binaries]
c = ['msp430-unknown-elf-gcc', '-nostdlib', '-mlarge', '-mdata-region=none']
cpp = ['msp430-unknown-elf-g++', '-nostdlib', '-mlarge', '-mdata-region=none']
ar = 'msp430-unknown-elf-ar'
as = 'msp430-unknown-elf-as'
nm = 'msp430-unknown-elf-nm'
strip = 'msp430-unknown-elf-strip'
exe_wrapper = ['env', 'run-msp430']

[host_machine]
system = 'zephyr'
cpu_family = 'msp430'
cpu = 'msp430'
endian = 'little'

[properties]
skip_sanity_check = true
librt = ['-lmul_none', '-lgcc']
default_alignment = 2
default_flash_addr  = '0x00010000'
default_flash_size  = '0x000e0000'
default_ram_addr    = '0x00001c00'
default_ram_size    = '0x00004000'
default_stack_size  = '0x00000400'
default_noflash_flash_addr = '0x00010000'
default_noflash_flash_size = '0x00000100'
default_noflash_ram_addr   = '0x00010100'
default_noflash_ram_size   = '0x000dff00'
additional_sections = ['init', 'vector']
default_init_addr = '0x00005c00'
default_init_size = '0x0000a3c0'
default_init_contents = ['KEEP (*(.text.init.enter))', 'KEEP (*(.data.init.enter))', 'KEEP (*(SORT_BY_NAME(.init) SORT_BY_NAME(.init.*)))']

default_vector_addr = '0x0000ffc0'
default_vector_size = '0x00000040'
default_vector_contents = ['KEEP (*(.rodata.vector*))']
