[binaries] c = ['ccache', 'riscv64-unknown-elf-gcc', '-nostdlib'] ar = 'riscv64-unknown-elf-ar' as = 'riscv64-unknown-elf-as' nm = 'riscv64-unknown-elf-nm' strip = 'riscv64-unknown-elf-strip' # only needed to run tests exe_wrapper = ['sh', '-c', 'test -z "$PICOLIBC_TEST" || run-riscv "$@"', 'run-riscv'] [host_machine] system = 'unknown' cpu_family = 'riscv32' cpu = 'riscv32' endian = 'little' [properties] c_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac', '-mabi=ilp32'] c_link_args = ['-msave-restore', '-fshort-enums', '-march=rv32imac', '-mabi=ilp32'] skip_sanity_check = true default_flash_addr = '0x80000000' default_flash_size = '0x00200000' default_ram_addr = '0x80200000' default_ram_size = '0x00200000'