Comments (11)
@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.
@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.
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 ESP32-S3
configured wrong?
from devicescript.
@mmoskal is it possible adding pins 35-37
in this commit was a mistake?
from devicescript.
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.
Possibly related / similar? microsoft/devicescript-esp32#13
from devicescript.
@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.
Feel free to contribute back into this repo if it easier for you. Thanks for circling back!
from devicescript.
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.
@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
from devicescript.
Feel free to ignore it and do a PR with the board.json and picture. Thanks!
from devicescript.
Related Issues (20)
- bme680 iaq is really gas HOT 1
- C driver device sometimes decides to not restart
- tool install fails because of missing name in package.json
- in codespace, connect url uses wrong port
- start dev server lazily
- only show icon in status bar when inactive
- M5Stack support HOT 3
- No DeviceScript Managers found HOT 28
- name of new project is "./"
- > The startAccelerometer returns a client that is already bound to your server so you don't need the "const a .... " line. You can simply remove it. HOT 3
- Error: spawn wmic ENOENT windows 11 HOT 1
- "error can't alloc pcb" occurs when calling fetch API. HOT 1
- TLS support on RP2040! HOT 1
- RGB Pins occupied by PSRAM HOT 2
- fetch is not defined HOT 4
- Device firmware is outdated, but no newer firmware is available HOT 3
- Unfinished javascript spec HOT 1
- Cardputer Keyboard? HOT 7
- Drawn image is shown with interlaced horizontal black lines? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devicescript.