toit
toit copied to clipboard
Add support for ESP32-S3
I have a few questions as follows:
- To add the support for ESP32-S3, some toolchain changes for sure.
- How about the Toit-fork of esp-idf? Perhaps some updates there are required too?
- How to approach the USB stack for esp32-s3 both in Toit and esp-idf?
@erikcorry do you have some information?
Start to build esp-idf examples with its built-in tinyUSB and load it to esp32s3 dev board. Will update as it goes.
I merged a CL that removed Xtensa-specific things from cmpctmalloc. I hope it now compiles on RISCV.
Hi @un01s! We've upgraded to ESP-IDF v4.4 which may (or may not) make this easier to make progress on.
@erikcorry But ESP32-S3 has no RISC Processor or? The RISC is ESP32-C3 (Single Core)
https://en.wikipedia.org/wiki/ESP32#ESP32-C3 https://en.wikipedia.org/wiki/ESP32#ESP32-S3
@nivoc: you are correct.
The biggest problem with the S3 is that Espressif only supports it with CMake. However, Toit still uses the old (deprecated) make approach.
The code should mostly work (except that some Pin constants would likely need to be adapted). There is one user of Toit who runs successfully on the S3 (with a few hacks to get the build system working).
S3 support has landed :)