mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(example/storage): Add warning for unsupported targets for SD_Card example
This commit is contained in:
parent
104d50d442
commit
2162a132f1
@ -1,2 +1,9 @@
|
||||
idf_component_register(SRCS "sd_card_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
|
||||
|
||||
if(NOT CONFIG_SOC_SDMMC_HOST_SUPPORTED)
|
||||
fail_at_build_time(sdmmc ""
|
||||
"Only ESP32 and ESP32-S3 targets are supported."
|
||||
"Please refer README.md for more details")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user