Skip to content

Commit

Permalink
A user-friendlier compilation error for SDMMC_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
paulftw authored Jun 18, 2022
1 parent 4f9dd50 commit a2adbf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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,11 @@ limitations under the License.
#pragma once

#include "SDCard.h"

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

#include "driver/sdmmc_host.h"

namespace smooth::core::filesystem
Expand Down

0 comments on commit a2adbf2

Please sign in to comment.