-
Notifications
You must be signed in to change notification settings - Fork 996
add board: esp32c3-supermini #4518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Not sure if this is intended design or not, but when I include a 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! |
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