mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-05 04:15:21 +02:00
spi_flash: Modify documentations
This commit is contained in:
@@ -1034,7 +1034,7 @@ For example, in the ``foo/CMakeLists.txt`` file::
|
||||
add_library(foo bar.c fizz.cpp buzz.cpp)
|
||||
|
||||
if(ESP_PLATFORM)
|
||||
# On ESP-IDF, bar.c needs to include esp_spi_flash.h from the spi_flash component
|
||||
# On ESP-IDF, bar.c needs to include esp_flash.h from the spi_flash component
|
||||
target_link_libraries(foo PRIVATE idf::spi_flash)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user