-
Notifications
You must be signed in to change notification settings - Fork 124
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
ESP32-S3 possibly incorrect flash pins (M5Stack Cardputer) #679
Comments
Even the Espressif ESP32-S3 board here has a pin 35 in the image so this isn't something unique to the M5Stamp, right? https://github.com/microsoft/devicescript/blob/main/compiler/src/boards.json#L593C21-L593C129 I don't know what a "flash" pin is 😭, does M5Stamp need it's own Arch? Or is the |
@mmoskal is it possible adding pins |
Perhaps this line from the docs clarifies something, this is wayy new to me 🙃🤯 https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/gpio.html
|
Possibly related / similar? microsoft/devicescript-esp32#13 |
@pelikhan Hey! Thanks for your work on this project! Obviously I'm excited to get js running on this thing, I don't think many people have (most of the code out there is in c++ via arduino) and I'm really glad this project exists. Just would love to know if my guesses above as to what's going on is correct, if so does a new release need to be made (something out of my hands), or is it possible I can override the flash pins arch config from userland? |
@reggi thank you for digging info on |
@mmoskal thanks for handling this so quickly! I wanted to report that I reflashed (with a custom board that I should put in a package) the device and got the LCD working! I'll be making a package specifically for the cardputer, if anyone has any trouble on here with anything tag me! |
Feel free to contribute back into this repo if it easier for you. Thanks for circling back! |
Using https://microsoft.github.io/jacdac-docs/tools/device-registration/ we can register that M5 board so that it gets a nice icon in the dashboard. |
@pelikhan this wants a PAT, and I really don't wanna do that 🙃, is there another way? Can I just manually make a PR? Like this one: https://github.com/microsoft/jacdac/pull/1349/files |
Feel free to ignore it and do a PR with the board.json and picture. Thanks! |
I'm trying to get the m5stack cardputer running with device script. It has a
ESP32-S3 chip
and a bunch of pins, I'm specifically running into this issue here, while trying to get the screen working via theST7789Driver
, I'm trying to reverse engineer this c++ code of the current pin configuration for this LCDThis is my code (stolen from the docs here drivers/st7789):
In order to get my device working I flashed it with this board config esp32s3_devkit_m but pin 35 isn't on here, in fact many pins:
This also might prove useful for future travelers (source):
And more info on the M5Stamp here (source):
Creating a custom board with pin 35 set is giving me this error, also happens when I try to flash :
I feel like this is inheriting the flash info from the arch here: https://github.com/microsoft/devicescript-esp32/blob/main/boards/esp32s3/arch.json#L16
Is it possible to overwrite this in the board config somehow? Am I on the right track? Is this possible?
Relates to #647
The text was updated successfully, but these errors were encountered: