1[binaries] 2c = ['ccache', 'riscv64-unknown-elf-gcc', '-nostdlib'] 3ar = 'riscv64-unknown-elf-ar' 4as = 'riscv64-unknown-elf-as' 5nm = 'riscv64-unknown-elf-nm' 6strip = 'riscv64-unknown-elf-strip' 7# only needed to run tests 8exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-riscv "$@"', 'run-riscv'] 9 10[host_machine] 11system = 'unknown' 12cpu_family = 'riscv32' 13cpu = 'riscv32' 14endian = 'little' 15 16[properties] 17c_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac_zicsr', '-mabi=ilp32'] 18c_link_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac', '-mabi=ilp32'] 19skip_sanity_check = true 20default_flash_addr = '0x80000000' 21default_flash_size = '0x00200000' 22default_ram_addr = '0x80200000' 23default_ram_size = '0x00200000' 24