aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/runtime_nxpmk66f18.go
diff options
context:
space:
mode:
authorsago35 <[email protected]>2022-03-29 08:25:04 +0900
committerRon Evans <[email protected]>2022-06-01 07:56:25 +0200
commit39805bca4598e3a3ad312a388a008c8d9f989eb2 (patch)
treeac03b2f534d650d551558160d2536e3b04323126 /src/runtime/runtime_nxpmk66f18.go
parent97842b367c0fc92499f73b9b63014247906f9190 (diff)
downloadtinygo-39805bca4598e3a3ad312a388a008c8d9f989eb2.tar.gz
tinygo-39805bca4598e3a3ad312a388a008c8d9f989eb2.zip
os, runtime: enable os.Stdin for baremetal target
Diffstat (limited to 'src/runtime/runtime_nxpmk66f18.go')
-rw-r--r--src/runtime/runtime_nxpmk66f18.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/runtime/runtime_nxpmk66f18.go b/src/runtime/runtime_nxpmk66f18.go
index 05643d71a..28c019e55 100644
--- a/src/runtime/runtime_nxpmk66f18.go
+++ b/src/runtime/runtime_nxpmk66f18.go
@@ -231,6 +231,16 @@ func putchar(c byte) {
machine.PutcharUART(machine.UART0, c)
}
+func getchar() byte {
+ // dummy, TODO
+ return 0
+}
+
+func buffered() int {
+ // dummy, TODO
+ return 0
+}
+
func exit(code int) {
abort()
}