Skip to content

Commit 922fd1a

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

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf

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

6666
CONFIG_STM32H7_BOOT_M4_AT_INIT=n
67+
68+
CONFIG_FILE_SYSTEM=y
69+
CONFIG_FILE_SYSTEM_MKFS=y
70+
CONFIG_DISK_ACCESS=y
71+
CONFIG_DISK_DRIVER_FLASH=y
72+
73+
CONFIG_FILE_SYSTEM_LITTLEFS=y
74+
CONFIG_FS_LITTLEFS_PROG_SIZE=4096
75+
CONFIG_FS_LITTLEFS_CACHE_SIZE=4096
76+
77+
CONFIG_FAT_FILESYSTEM_ELM=y
78+
CONFIG_FS_FATFS_EXFAT=n
79+
CONFIG_FS_FATFS_MKFS=y
80+
CONFIG_FS_FATFS_LFN=y
81+
CONFIG_FS_FATFS_LFN_MODE_HEAP=y
82+
CONFIG_FS_FATFS_CODEPAGE=437
83+
CONFIG_FS_FATFS_MIN_SS=4096
84+
CONFIG_FS_FATFS_MAX_SS=4096
85+
CONFIG_FS_FATFS_MAX_LFN=255
86+
CONFIG_FS_FATFS_FSTAB_AUTOMOUNT=y
87+
CONFIG_FS_FATFS_CUSTOM_MOUNT_POINTS="wlan,ota"

variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,3 +529,7 @@
529529
dac-resolution = <12>;
530530
};
531531
};
532+
533+
/* Include common flash filesystem configuration */
534+
qspi_flash: &n25q128a1 {};
535+
#include "../common/arduino_flash_fs.dtsi"

0 commit comments

Comments
 (0)