maixbit (uart): serial is working with echo example

This commit is contained in:
Yannis Huber
2020-06-16 14:55:55 +02:00
committed by Ron Evans
parent 75bcbbe6d8
commit dfab1aa717
11 changed files with 263 additions and 27 deletions
-4
View File
@@ -16,9 +16,5 @@
"ldflags": [
"--gc-sections"
],
"extra-files": [
"src/device/riscv/start.S",
"src/runtime/scheduler_tinygoriscv.S"
],
"gdb": "riscv64-unknown-elf-gdb"
}
+5
View File
@@ -1,6 +1,7 @@
{
"inherits": ["riscv"],
"llvm-target": "riscv32--none",
"build-tags": ["tinygo.riscv32"],
"cflags": [
"--target=riscv32--none",
"-march=rv32imac",
@@ -8,5 +9,9 @@
],
"ldflags": [
"-melf32lriscv"
],
"extra-files": [
"src/runtime/scheduler_tinygoriscv.S",
"src/device/riscv/start.S"
]
}
+4
View File
@@ -9,5 +9,9 @@
],
"ldflags": [
"-melf64lriscv"
],
"extra-files": [
"src/runtime/scheduler_tinygoriscv64.S",
"src/device/riscv/start64.S"
]
}