mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
esp32s3-usbserial: added usbserial printing
This commit is contained in:
@@ -4,6 +4,7 @@ package runtime
|
||||
|
||||
import (
|
||||
"device/esp"
|
||||
"machine"
|
||||
)
|
||||
|
||||
// This is the function called on startup after the flash (IROM/DROM) is
|
||||
@@ -71,6 +72,9 @@ func main() {
|
||||
clearbss()
|
||||
}
|
||||
|
||||
// Initialize UART.
|
||||
machine.InitSerial()
|
||||
|
||||
// Initialize main system timer used for time.Now.
|
||||
initTimer()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user