espradio: implement support for wifi/BLE on the ESP32-C3

This is a work in progress. It does not yet work.
This commit is contained in:
Ayke van Laethem
2024-01-25 15:27:43 +01:00
parent 8642886f73
commit 8b3d323f1b
89 changed files with 21250 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
package main
import (
"time"
"tinygo.org/x/drivers/espradio"
)
func main() {
time.Sleep(time.Second * 1)
println("initializing radio...")
err := espradio.Enable(espradio.Config{
Logging: espradio.LogLevelVerbose,
})
if err != nil {
println("could not enable radio:", err)
} else {
println("enabled radio successfully")
}
}