add board: esp32c3-supermini
Hey, I apologize for the long silence on #4212. I just picked up the project where I need this again and thought I'd give it a shot.
I've used the xiao-esp32c3 and #4454 as a reference.
After building it, I was able to run https://github.com/tinygo-org/tinygo/blob/release/src/examples/blinky1/blinky1.go successfully.
Thanks again for all the work on tinygo and thanks to @deadprogram for the friendly and helpful responses on my original issue. I'm glad I won't have to learn C++ for my project :D
resolves #4212
Not sure if this is intended design or not, but when I include a println in my blinky loop, it only blinks when there is a serial monitor attached. As soon as I stop tinygo monitor it seemingly pauses the whole loop.
package main
import (
"machine"
"time"
)
func main() {
led := machine.LED
led.Configure(machine.PinConfig{Mode: machine.PinOutput})
for {
println("high")
led.High()
time.Sleep(time.Millisecond * 1000)
println("low")
led.Low()
time.Sleep(time.Millisecond * 1000)
}
}
What's up with that git submodule build problem?
Sorry, I did not mean to close this. Git is still a mystery to me sometimes even after almost a decade.
I think I updated the branch to the latest dev and redid my changes without touching that submodule folder, not sure how that happened in the first place.
@deadprogram you said you are happy to accept this board addition PR :)
Thanks, @vaaski, now merging!