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
+19
View File
@@ -0,0 +1,19 @@
{
"inherits": ["riscv"],
"features": ["+a", "+c", "+m", "+f", "+d"],
"build-tags": ["k210", "kendryte"],
"llvm-target": "riscv64--none",
"cflags": [
"--target=riscv64--none",
"-march=rv64gc",
"-mabi=lp64d",
"-Os",
"-Werror",
"-fno-exceptions", "-fno-unwind-tables",
"-ffunction-sections", "-fdata-sections"
],
"ldflags": [
"-melf64lriscv",
"--gc-sections"
]
}