luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.74k stars 465 forks source link

[FEATURE REQUEST]ESP32-S2 support #490

Closed luc-github closed 3 years ago

luc-github commented 4 years ago

I got my ESP32-S2 boards, one is ESP32-S2-Saola-1M, the other one is a LILYGO ESP32-S2 V1.1

I still do not plan to use idf and esp32-arduino has specific branch under devt - so I will check when I have time

a good comparaison table can be found here : https://www.reddit.com/r/esp32/comments/cny0tb/esp32s2_vs_esp32_comparison_table/

I think in mid term esp32-S2 will replace esp8266 but not in short term so there is no hurry IMHO

Also several nice features are not yet ported to esp32 core like https://github.com/esp8266/Arduino/pull/7459 and some others.

luc-github commented 3 years ago

ESP32 core 2.0 should be based on IDF-release/v4.2 so I will add branch IDF-release/v4.2 to Platform IO for starting to test S2 board

EDIT: Seems I am not able to add an esp32-arduino branch in PIO - so use arduino ide until it is PlatformIO

luc-github commented 3 years ago

looking at IDF-release/v4.2 branch seems more is supported and so coming:

#if CONFIG_IDF_TARGET_ESP32
#elif CONFIG_IDF_TARGET_ESP32S2
#elif CONFIG_IDF_TARGET_ESP32S3
#elif CONFIG_IDF_TARGET_ESP32C3

I will use these define to do sanity check with features like USB native on esp32 vs ESP32-s2, they will be completed when I got the new boards in future (S3 and C3)

luc-github commented 3 years ago

ok seems ok now compilations issues are fixed

ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x8
load:0x3ffe6108,len:0x620
load:0x4004c000,len:0xa40
load:0x40050000,len:0x284c
entry 0x4004c190
M117 Setup wifi
M117 Connecting
M117 192.168.1.116
M117 192.168.1.116
chip id: 15591
CPU Freq: 240 Mhz
CPU Temp: 112.8 C
free mem: 62.28 KB
SDK: v4.3-dev-2398-g2bfdd036b-dirty
flash size: 4.00 MB
size for update: 1.87 MB
FS type: LittleFS
FS usage: 104.00 KB/192.00 KB
baud: 115200
sleep mode: none
wifi: ON
hostname: esp3d
HTTP port: 80
Telnet port: 23
WebDav port: 8181
sta: ON
mac: 7C:DF:A1:00:E7:3C
SSID: WIFI_OFFICE_A2G
signal: 100 %
phy mode: 11n
channel: 11
ip mode: dhcp
ip: 192.168.1.116
gw: 192.168.1.1
msk: 255.255.255.0
DNS: 192.168.1.1
ap: OFF
mac: 7C:DF:A1:00:E7:3D
serial: ON
notification: OFF
Target Fw: marlin
FW ver: 3.0.0.a90
FW arch: ESP32

So I close topic ^_^ I am sure issues will pop when more testing

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.