diff options
author | sago35 <[email protected]> | 2022-03-29 08:25:04 +0900 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-06-01 07:56:25 +0200 |
commit | 39805bca4598e3a3ad312a388a008c8d9f989eb2 (patch) | |
tree | ac03b2f534d650d551558160d2536e3b04323126 /src/runtime/runtime_nxpmk66f18.go | |
parent | 97842b367c0fc92499f73b9b63014247906f9190 (diff) | |
download | tinygo-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.go | 10 |
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() } |