Add new kendryte k210 target definition

This commit is contained in:
Yannis Huber
2020-06-01 14:44:12 +02:00
committed by Ron Evans
parent 1a6bed3305
commit 875d36cba0
8 changed files with 59 additions and 4 deletions
+15 -1
View File
@@ -1,5 +1,19 @@
{
"inherits": ["riscv32"],
"features": ["+a", "+c", "+m"],
"build-tags": ["fe310", "sifive"]
"build-tags": ["fe310", "sifive"],
"llvm-target": "riscv32--none",
"cflags": [
"--target=riscv32--none",
"-march=rv32imac",
"-mabi=ilp32",
"-Os",
"-Werror",
"-fno-exceptions", "-fno-unwind-tables",
"-ffunction-sections", "-fdata-sections"
],
"ldflags": [
"-melf32lriscv",
"--gc-sections"
]
}