Skip to content

Commit 9800f94

Browse files
committed
variants/arduino_portenta_h7_stm32h747xx_m7: Enable file system support.
Signed-off-by: iabdalkader <[email protected]>
1 parent 529943f commit 9800f94

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.conf

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,24 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
100100
CONFIG_BT_RX_STACK_SIZE=4096
101101

102102
CONFIG_STM32H7_BOOT_M4_AT_INIT=n
103+
104+
CONFIG_FILE_SYSTEM=y
105+
CONFIG_FILE_SYSTEM_MKFS=y
106+
CONFIG_DISK_ACCESS=y
107+
CONFIG_DISK_DRIVER_FLASH=y
108+
109+
CONFIG_FILE_SYSTEM_LITTLEFS=y
110+
CONFIG_FS_LITTLEFS_PROG_SIZE=4096
111+
CONFIG_FS_LITTLEFS_CACHE_SIZE=4096
112+
113+
CONFIG_FAT_FILESYSTEM_ELM=y
114+
CONFIG_FS_FATFS_EXFAT=n
115+
CONFIG_FS_FATFS_MKFS=y
116+
CONFIG_FS_FATFS_LFN=y
117+
CONFIG_FS_FATFS_LFN_MODE_HEAP=y
118+
CONFIG_FS_FATFS_CODEPAGE=437
119+
CONFIG_FS_FATFS_MIN_SS=4096
120+
CONFIG_FS_FATFS_MAX_SS=4096
121+
CONFIG_FS_FATFS_MAX_LFN=255
122+
CONFIG_FS_FATFS_FSTAB_AUTOMOUNT=y
123+
CONFIG_FS_FATFS_CUSTOM_MOUNT_POINTS="wlan,ota"

variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,3 +388,7 @@
388388
<&adc1 13>; /* Hack for D20 */
389389
};
390390
};
391+
392+
/* Include common flash filesystem configuration */
393+
qspi_flash: &mx25l12833f {};
394+
#include "../common/arduino_flash_fs.dtsi"

0 commit comments

Comments
 (0)