Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The latest stable ESP-IDF version is
5.1.1
so reading the issues and Pull Request I added the necessary changes for the code to support5.X.X
and4.X.X
.#17 I took in consideration both message in the pull request
#18 I added the information provided by @KikyTokamuro in this issue
I only have installed ESP-IDF v5.1.1 so I haven't test if this changes work in ESP-IDF v4.X.X, but it should.
Also adding the information in the Readme allows people to understand everything easily
I was able to compile console, sd_mmc, and spiffs, though, I only tested with the board the spiffs example.
For the case of sd_spi example I could not make it work because of changes between version
4.X.X
and5.X.X
of ESP-IDF like changingsdspi_slot_config_t
tosdspi_device_config_t
, which changes the structure and haven't search more on it.I have been using ESP-IDF Visual Studio Code Extension
v1.6.5
for the compilation and for it to work I had to change the main/CMakeLists.txt file commenting the lineidf_build_component(esp32-idf-sqlite3)
. Also, the file CMakeLists.txt (in root) had to be updated, commenting the lineinclude($ENV{IDF_PATH}/tools/cmake/idf.cmake)
and decommentinginclude($ENV{IDF_PATH}/tools/cmake/project.cmake)
. I also updated the cmake minimum version to 3.16 because the examples from ESP-IDF have that versionEdit: I was able to test successfully console and sd_mmc examples