-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
ESP::getFlashChipMode crashes on ESP32S3 boards #9816
Comments
cross-posting details provided elsewhere ESP.getFlashChipMode(); // Would crash in the new version at execution. Serial.printf("Incorrect return value = 0x%X\n", SPI_CTRL_REG(0)); SPI_CTRL_REG is defined as:
In the new version we have:
before it was:
So, go back to the old version: #undef REG_SPI_BASE The NEWLY INTRODUCED FILE .....sdk/esp32s3/include/soc/esp32s3/include/soc/spi_reg.h contains at line 122:
|
Same issue in master is fixed with #9758 |
Hello, this have been fixed and is already released in version 3.0.1. Link for the release: https://github.com/espressif/arduino-esp32/releases/tag/3.0.1 For migration from v2.x to v3.x, you can refer to migration guide: https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html I am closing this issue, if you have any problems we can reopen it. |
@igrr Can you help here? The issue is in IDF. The definitions for |
@VojtechBartoska The issue is in branch release/v2.x and it is not solved there. |
@Jason2866 feel free to open a backport :) We do not guarantee that another 2.0.x will be released though. As you know, best case would be to be fixed in IDF. I have asked about it and I'm waiting a response. |
@me-no-dev Lets hope the issue will be fixed in IDF! |
see also #9748 |
Board
ESP32-S3-Matrix X1
Device Description
Waveshared ESP32-S3-Matrix X1
Hardware Configuration
no other devices
Version
v2.0.16
IDE Name
PlatformIO
Operating System
Windows 11
Flash frequency
80
PSRAM enabled
yes
Upload speed
115200
Description
Function crashes. Perhaps needs special handling like the H2 and C chips do in the main branch?
platform.ini
extends = env:esp32-s3-devkitc-1
platform = [email protected]
framework = arduino
board_upload.flash_size = 4MB
board_build.flash_mode = qio
monitor_filters = esp32_exception_decoder
board_build.partitions = tools/4MB.csv
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: