Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lib/smooth/include/smooth/core/filesystem/MMCSDCard.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ limitations under the License.
#pragma once

#include "SDCard.h"

#ifndef SOC_SDMMC_HOST_SUPPORTED
#pragma GCC error "Your chip does not support SDMMC_HOST. See https://github.com/PerMalmberg/Smooth/issues/171"

#pragma message("Target system is:" CONFIG_IDF_TARGET)
#pragma message( \
"SoC caps documentation: https://docs.espressif.com/projects/esp-idf/en/latest/" CONFIG_IDF_TARGET \
"/api-reference/system/soc_caps.html")
#endif

#include "driver/sdmmc_host.h"

namespace smooth::core::filesystem
Expand Down