Skip to content

Commit 2862f29

Browse files
committed
Add rv32imf.txt to build docker
1 parent fd6c99d commit 2862f29

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[binaries]
2+
c = ['clang', '-target', 'riscv32-unknown-elf', '-march=rv32imc', '-nostdlib']
3+
ar = 'llvm-ar'
4+
strip = 'llvm-strip'
5+
6+
[host_machine]
7+
system = 'none'
8+
cpu_family = 'riscv32'
9+
cpu = 'riscv32'
10+
endian = 'little'
11+
12+
[properties]
13+
c_args = ['-Werror=double-promotion', '-Wno-unsupported-floating-point-opt', '-fshort-enums', '-mno-relax']
14+
c_link_args = ['-Wl,-z,noexecstack']
15+
skip_sanity_check = true
16+
default_flash_addr = '0x00000000'
17+
default_flash_size = '0x00400000'
18+
default_ram_addr = '0x20000000'
19+
default_ram_size = '0x00200000'

0 commit comments

Comments
 (0)