Closed
Description
Board
every board with a S3
Device Description
plain dev board
Hardware Configuration
nothing connected
Version
v3.0.0
IDE Name
ArduinoIDE, Platdormio
Operating System
MacOS Ventura
Flash frequency
80 Mhz
PSRAM enabled
no
Upload speed
115200
Description
Just calling the function ESP.getFlashChipMode()
leads to a crash.
The reason for the crash is the wrong definition in soc.h
https://github.com/espressif/esp32-arduino-libs/blob/7649dd7dd99882cf0ec1015b2c2db1d6c4d70f2d/esp32s3/include/soc/esp32s3/include/soc/soc.h#L37
correct would be
#define REG_SPI_BASE(i) (((i)==2) ? (DR_REG_SPI2_BASE) : (DR_REG_SPI0_BASE - ((i) * 0x1000))) // GPSPI2 and GPSPI3
Sketch
none
Debug Message
none
Other Steps to Reproduce
thelastoutpostworkshop/gpio_viewer@ed3a520
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.