Skip to content

Commit 1c1b328

Browse files
committed
fix(esp32_s3_usb_otg): Renamed Kconfig SD mount option
1 parent 4ce2a5f commit 1c1b328

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bsp/esp32_s3_usb_otg/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ menu "Board Support Package"
3939
help
4040
The SDMMC host will format (FAT) the uSD card if it fails to mount the filesystem.
4141

42-
config BSP_uSD_MOUNT_POINT
42+
config BSP_SD_MOUNT_POINT
4343
string "uSD card mount point"
4444
default "/sdcard"
4545
help

bsp/esp32_s3_usb_otg/esp32_s3_usb_otg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ esp_err_t bsp_sdcard_mount(void)
141141
.flags = 0,
142142
};
143143

144-
return esp_vfs_fat_sdmmc_mount(CONFIG_BSP_uSD_MOUNT_POINT, &host, &slot_config, &mount_config, &bsp_sdcard);
144+
return esp_vfs_fat_sdmmc_mount(BSP_SD_MOUNT_POINT, &host, &slot_config, &mount_config, &bsp_sdcard);
145145
}
146146

147147
esp_err_t bsp_sdcard_unmount(void)
148148
{
149-
return esp_vfs_fat_sdcard_unmount(CONFIG_BSP_uSD_MOUNT_POINT, bsp_sdcard);
149+
return esp_vfs_fat_sdcard_unmount(BSP_SD_MOUNT_POINT, bsp_sdcard);
150150
}
151151

152152
esp_err_t bsp_button_init(void)

bsp/esp32_s3_usb_otg/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.6.1"
1+
version: "1.6.2"
22
description: Board Support Package (BSP) for ESP32-S3-USB-OTG
33
url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_s3_usb_otg
44

bsp/esp32_s3_usb_otg/include/bsp/esp32_s3_usb_otg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ typedef struct {
123123
* fclose(f);
124124
* \endcode
125125
**************************************************************************************************/
126-
#define BSP_MOUNT_POINT CONFIG_BSP_SD_MOUNT_POINT
126+
#define BSP_SD_MOUNT_POINT CONFIG_BSP_SD_MOUNT_POINT
127127
extern sdmmc_card_t *bsp_sdcard;
128128

129129
/**

0 commit comments

Comments
 (0)