-
Notifications
You must be signed in to change notification settings - Fork 918
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
add board: esp32c3-supermini #4518
base: dev
Are you sure you want to change the base?
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. |
|
||
// This file contains the pin mappings for the ESP32 supermini boards. | ||
// | ||
// - https://forum.arduino.cc/t/esp32-c3-supermini-pinout/1189850/7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// - https://forum.arduino.cc/t/esp32-c3-supermini-pinout/1189850/7 | |
// - https://www.tindie.com/products/adz1122/esp32-c3-development-board-esp32-supermini/ | |
// - https://forum.arduino.cc/t/esp32-c3-supermini-pinout/1189850/7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about using "https://dl.artronshop.co.th/ESP32-C3%20SuperMini%20datasheet.pdf" instead of the webshop URL? As alternative this is also a great option: https://www.sudo.is/docs/esphome/boards/esp32c3supermini/ they reference multiple sources and platforms, including datasheets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sure, great! I just wanted to find some "origin" not an obscure forum post.
BTW, they seem had an official github repo some time ago (referenced on that shop page), but it is now no more...
Is the board still widely available and produced/supported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know yes. Especially in China. Saw them on multiple sites, I recently got 6 of them in the mail.
@deadprogram you said you are happy to accept this board addition PR :) |
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