Git Product home page Git Product logo

Comments (11)

reggi avatar reggi commented on June 13, 2024 1

@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?

from devicescript.

mmoskal avatar mmoskal commented on June 13, 2024 1

@reggi thank you for digging info on GPIO33~37 - I think the upcoming 2.16.2 release should fix it - it now labels the pins in question as octal-flash so should let you have the config you want!

from devicescript.

reggi avatar reggi commented on June 13, 2024

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

https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/_images/ESP32-S3_DevKitM-1_pinlayout.jpg

ESP32-S3_DevKitM-1_pinlayout

I don't know what a "flash" pin is 😭, does M5Stamp need it's own Arch? Or is the ESP32-S3 configured wrong?

from devicescript.

reggi avatar reggi commented on June 13, 2024

@mmoskal is it possible adding pins 35-37 in this commit was a mistake?

microsoft/devicescript-esp32@686d949#diff-e62f0ba616b5f5106735cfc02f64dc3c686ff8a10a1442f77c52275801e7c4c8R16

from devicescript.

reggi avatar reggi commented on June 13, 2024

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

SPI0/1: GPIO26-32 are usually used for SPI flash and PSRAM and not recommended for other uses. When using Octal Flash or Octal PSRAM or both, GPIO33~37 are connected to SPIIO4 ~ SPIIO7 and SPIDQS. Therefore, on boards embedded with ESP32-S3R8 / ESP32-S3R8V chip, GPIO33~37 are also not recommended for other uses.

from devicescript.

reggi avatar reggi commented on June 13, 2024

Possibly related / similar? microsoft/devicescript-esp32#13

from devicescript.

reggi avatar reggi commented on June 13, 2024

@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!

from devicescript.

pelikhan avatar pelikhan commented on June 13, 2024

Feel free to contribute back into this repo if it easier for you. Thanks for circling back!

from devicescript.

pelikhan avatar pelikhan commented on June 13, 2024

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.

from devicescript.

reggi avatar reggi commented on June 13, 2024

@pelikhan this wants a PAT, and I really don't wanna do that 🙃, is there another way?

Image

Can I just manually make a PR? Like this one: https://github.com/microsoft/jacdac/pull/1349/files

from devicescript.

pelikhan avatar pelikhan commented on June 13, 2024

Feel free to ignore it and do a PR with the board.json and picture. Thanks!

from devicescript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.