-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Add Support for Adafruit ESP32-S3 and ESP32-S2 Feather Boards #68512
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
Comments
Hello, I’ve been looking to see if I can leverage board xiao_esp32s3 or esp32s3_devkitm, as the Adafruit esp32s3 Feather also uses ESP32-S3-Mini-1 SoC. If so, I expect the changes to add support for the Adafruit esp32s3 boards may be relatively small. I’ll be available for any testing if needed. |
Just ran a few quick tests. It looks like I’ll be able use board xiao_esp32s3 for some initial tests with the Adafruit ESP32S3 Feather boards. I expected esp32s3_devkitm boards to work with the Adafruit esp32s3 boards as both are ESP32-S3-Mini-1 but no. Perhaps some mismatch flash in the Flash partitions. Anyway, for now I’ll override GPIOs and I2C in an overlay to conduct some tests using xiao_esp32s3 and provide some updates. |
You should be able to get that working adding overlays and necessary configs. You are welcome to submit a PR to bring support to this boards. |
Yes - xiao_esp32s3 board works! @sylvioalves - Any reason why esp32s3_ devkitm didn’t work? The esp32s3 TFT Feather is 4MB Flash and 2MB PSRAM. |
I've setup a new board Added and tested:
Items remaining to configure & test
I've run some test with the regulator binding, see below. There is 3.26V at the I2C STEMMA connector, SDA and SCK pins also have valid signal levels. This means that the firmware is sending I2C data correctly continuously to the display, as expected. Given that the first 2 errors are How do I check and modify the order of I2C, SSD1306, Regulator priorities in Zephyr? I think once this is done, the display will work. Thanks. Regulator binding in
Code snippet for output below:
espressif monitor output:
Output on regulator disable. Re-enabling the regulator stops the the I2C transfer errors.
|
Hi, I started last week to port the Adafruit ESP32-S2 TFT Feather because it was laying around at work and I was curious if I am able to get it work and today I stumbled over this thread. At present I was able to successfully add and test (btw: I was really lucky as I saw the LED blinking and the NeoPixel running 😊, so I think I am on the right path to success):
For the rest of the on-board peripherals I almost have everything together but not yet commited and pushed, because I am unsure if it is working, because I have a little bit of a show stopper which is the Serial-Out over USB. No matter what I do or try, I am not getting it to work, or to show up as a Serial on my System (WSL2 Ubuntu) Furthermore I am not sure if I got all the pins and corresponding functions correctly. My branch can be viewed here: Thanks for @leonrinkel I "stole" the |
Thanks to the awesome work done by @leonrinkel I was able to get the display working. List of working and tested features/peripherals for Adafruit ESP32-S2 TFT Feather:
If I am able to get the UART and/or USB working over USB I will create a PR. Most likely and from what I already read, I would need to wait if it will be added to the SoC, if thats the case, it is what it is.
Regarding the Battery Monitor I actually don't know how I should proceed, because there are two versions out there, a driver for the MAX17048 already exists in zephyr, but not for the Adafruit LC709203F. Because of this, I think I will add this feature after writing the driver. Should I add two boards with the only difference that one has the LC709203F and the other the MAX17048 battery monitor, or should I add both senors in the same target, and keep them disabled. I am open for recommendations. But most likely I will add this later after the PR is merged. |
The usage of USB on ESP32-S2 for flashing and console depends on some running code. It is NOT a hardware thing, like ESP32-C3. While implemented on ESP-IDF, it is missing in Zephyr. Yes, USB-OTG would be needed and yes, it is missing. |
Thanks a lot! So it seems at least I am not stupid or overlooked something. So therefore as long as USB-OTG is not supported we are not able to use it. At least it seems that somebody will add it, or is willing to -> #29394 (comment) Btw: I started to implement a driver for the on-semi LC709203F. |
So I am glad to inform you guys that I added Support for All Adafruit ESP32-S2 Feather XXX Dev-Boards, I only need to write the If someone has access to the following boards and could test them it would be very helpful:
|
Is your feature request related to a problem? Please describe.
This is a request to add support for the very popular family of
Adafruit ESP32-S3 Feather
andESP32-S2 Feather
boards.As we already have support for the
Xtensa ESP32-S3 and ESP32-S2 SoCs
, I'm hoping it would be relatively less effort to add support for theAdafruit ESP32-S3 & ESP32-S2 Feather
boards.Describe the solution you'd like
I'd like to see a common board definition to support these
Adafruit ESP32-S3 & ESP32-S2 Feather
boards. Folks can then add their own overlays to support the board variants that come with on-board TFT, fuel gauge, sensors, or Flash/PSRAM.Describe alternatives you've considered
Currently there isn't any support for the
Adafruit ESP32-S3 & ESP32-S2 Feather
boards.Additional context
Here is a list of the current
Adafruit ESP3-S3 & ESP32-S2 Feather
boards that this request will be able to support.Adafruit ESP32-S3 Feather
Adafruit ESP32-S2 Feather
The text was updated successfully, but these errors were encountered: