chore: move _embdemo to _demo

This commit is contained in:
Haolan
2025-09-15 10:57:31 +08:00
parent 18e036568d
commit 4b2e1e777c
6 changed files with 1563 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package main
import (
_ "unsafe"
"github.com/goplus/lib/c"
)
//go:linkname WriteByte C.board_uart_write_char
func WriteByte(b byte)
//go:linkname sleep sleep
func sleep(c c.Int)