From af6657b43be3b11572ff5af901ff1ccd1ea234a9 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Thu, 22 Feb 2024 09:50:09 +0800 Subject: [PATCH] fix(fatfs): temp remove deprecated attribute from esp_vfs_fat_register Causes build-errors internally in CI, should deprecate after external components have been upgraded --- components/fatfs/vfs/esp_vfs_fat.h | 2 +- examples/peripherals/.build-test-rules.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/fatfs/vfs/esp_vfs_fat.h b/components/fatfs/vfs/esp_vfs_fat.h index a9ef27da7f..8bfb3d61f0 100644 --- a/components/fatfs/vfs/esp_vfs_fat.h +++ b/components/fatfs/vfs/esp_vfs_fat.h @@ -406,7 +406,7 @@ esp_err_t esp_vfs_fat_info(const char* base_path, uint64_t* out_total_bytes, uin * @deprecated Please use `esp_vfs_fat_register_cfg` instead */ esp_err_t esp_vfs_fat_register(const char* base_path, const char* fat_drive, - size_t max_files, FATFS** out_fs) __attribute__((deprecated("Please use esp_vfs_fat_register_cfg instead"))); + size_t max_files, FATFS** out_fs); /** * @deprecated Please use `esp_vfs_fat_spiflash_mount_rw_wl` instead diff --git a/examples/peripherals/.build-test-rules.yml b/examples/peripherals/.build-test-rules.yml index b5993386f8..779e60fa70 100644 --- a/examples/peripherals/.build-test-rules.yml +++ b/examples/peripherals/.build-test-rules.yml @@ -429,6 +429,7 @@ examples/peripherals/usb/device: reason: lack of runners with usb_device tag depends_components: - usb + - fatfs depends_filepatterns: - examples/peripherals/usb/device/**/* @@ -454,6 +455,7 @@ examples/peripherals/usb/host: reason: lack of runners with usb_host_flash_disk tag depends_components: - usb + - fatfs depends_filepatterns: - components/hal/usb*.c - components/hal/include/hal/usb*.h