meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.39k stars 828 forks source link

[Feature Request]: Create DIY variant.h / pin definitions for ESP32-S3 #2347

Closed sgofferj closed 1 year ago

sgofferj commented 1 year ago

Platform

ESP32

Description

The ESP32-S3 is quite a bit different from the ESP32-noS's. Some of the pins in the DIY variant.h for ESP32 can't be used.

Espressif documentation:

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.

I'm working on a board with an ESP32-S3 at the moment. While I am using a variant.h from another project which also uses an ESP32-S3, I'd feel more comfortable, if there was some "official" guidance on the pin use for the S3.

markbirss commented 1 year ago

@sgofferj Which specific ESP32-S3 board you tried/using ?

I have DIY SX1280 variant currently using (e-Ink and Oled) https://www.wemos.cc/en/latest/s3/s3_pro.html https://www.wemos.cc/en/latest/s3/s3.html

and (the screens broken so removed) https://www.aliexpress.com/item/1005005059421229.html

Im waiting for some other ESP32-S3 boards in Pico form factor also

sgofferj commented 1 year ago

I'm designing my own with an ESP32-S3-WROOM-U and an ebyte E900.

markbirss commented 1 year ago

Ok, i already shared my DIY layout which should guide pins you can use. I find it best to prototype on boards, since you dont know what to expect just drawing up a PCB

markbirss commented 1 year ago

@sgofferj here is some guidance on DIY Targets i added https://github.com/meshtastic/firmware/pull/2391

sgofferj commented 1 year ago

Thanks, I'll look into it. I opened the issue because I wanted to avoid having to build my own version of Meshtastic. Whipping up a board design is task enough for me :rofl:

caveman99 commented 1 year ago

DIY targets added