Hacker News new | ask | show | jobs
by rkagerer 1110 days ago
No ESP32-S3?

This looks great but needs a non-frictiony way to bolt together with some C or assembly code where needed. Not sure about JADAC, and wondering how hard it would be to write libraries / servers / whatever for sensors, DMA, ADC, etc.

Also note docs say "Serial, SPI, PWM are not supported yet at the DeviceScript level."

2 comments

SPI is now supported (though only on ESP32 right now; PRs are welcome elswhere!), just fixed the docs. DMA is typically bundled with some other driver (like SPI).

We do support ADC - there is even a funky way of exposing these nicely as Jacdac servers so they show on debugging dashboards [0]

As for S3, PRs are welcome! :)

[0] https://microsoft.github.io/devicescript/developer/servers/a...

It’s odd that the S3 isn’t supported when the S2 is the same LX7 based core and as far as ESP-IDF bring up is concerned it’s pretty much just some io_mux_reg and other definitions (at least when I ported Nesper to the S3 from the original ESP32 project)

Though it also seems like it doesn’t use both of the LX7 cores:

> and at most one fiber runs at any given time