Skip to content

Commit 64a75e2

Browse files
committed
Do not require fatfs to be enabled for the sdmmc API to be available
1 parent 83dd311 commit 64a75e2

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.37.2] - 2026-03-10
9+
10+
### Fixed
11+
- An issue with the sdmmc component and CMake build
12+
813
## [0.37.1] - 2026-03-10
914

1015
### Fixed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "esp-idf-sys"
3-
version = "0.37.1"
3+
version = "0.37.2"
44
authors = ["Alexey Arbuzov <aarbuzov@termt.com>", "sapir <yasapir@gmail.com>", "Ivan Markov <ivan.markov@gmail.com>", "Dominik Gschwind <dominik.gschwind99@gmail.com>"]
55
edition = "2021"
66
resolver = "2"

src/include/esp-idf/bindings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@
240240
#endif
241241

242242
#ifdef ESP_IDF_COMP_FATFS_ENABLED
243+
#ifdef ESP_IDF_COMP_VFS_ENABLED
243244
#include "esp_vfs_fat.h"
245+
#endif
244246
#include "diskio_impl.h"
245247
#include "diskio_rawflash.h"
246248
#include "diskio_sdmmc.h"
@@ -502,11 +504,9 @@
502504
#include "driver/sdmmc_types.h"
503505
#include "driver/sdspi_host.h"
504506
#endif
505-
#if ESP_IDF_VERSION_MAJOR > 5
506507
#if defined(ESP_IDF_COMP_SDMMC_ENABLED)
507508
#include "sdmmc_cmd.h"
508509
#endif
509-
#endif
510510

511511
// Sigma-delta
512512
#if ESP_IDF_VERSION_MAJOR < 6

0 commit comments

Comments
 (0)