diff options
Diffstat (limited to 'platform/wavelet3d/host_sw/cross-riscv32-none-elf.txt')
| -rw-r--r-- | platform/wavelet3d/host_sw/cross-riscv32-none-elf.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/platform/wavelet3d/host_sw/cross-riscv32-none-elf.txt b/platform/wavelet3d/host_sw/cross-riscv32-none-elf.txt new file mode 100644 index 0000000..747bcac --- /dev/null +++ b/platform/wavelet3d/host_sw/cross-riscv32-none-elf.txt @@ -0,0 +1,25 @@ +[binaries] +# Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, +# so we have to add -nostdlib to the compiler configuration itself or +# early compiler tests will fail. This can be removed when picolibc +# requires at least version 0.54.2 of meson. +c = ['riscv32-none-elf-gcc', '-nostdlib'] +ar = 'riscv32-none-elf-ar' +as = 'riscv32-none-elf-as' +strip = 'riscv32-none-elf-strip' +nm = 'riscv32-none-elf-nm' + +[host_machine] +system = 'unknown' +cpu_family = 'riscv32' +cpu = 'riscv' +endian = 'little' + +[properties] +# default multilib is 64 bit +c_args = [ '-march=rv32imfc', '-mabi=ilp32f', '-mcmodel=medlow', '-fno-common' ] +skip_sanity_check = true +default_flash_addr = '0x00000000' +default_flash_size = '0x04000000' +default_ram_addr = '0x04000000' +default_ram_size = '0x1c000000' |
