Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0fb248

Browse files
committed
variants/arduino_portenta_c33_r7fa6m5bh3cfc: Enable file system support.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent4e8ce0c commitc0fb248

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

‎variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.conf‎

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ CONFIG_FPU=y
2222
CONFIG_USERSPACE=n
2323
CONFIG_ARM_MPU=n
2424

25-
CONFIG_SHELL_STACK_SIZE=32768
25+
CONFIG_SHELL_STACK_SIZE=8192
2626
CONFIG_MAIN_STACK_SIZE=32768
2727
CONFIG_LLEXT_HEAP_SIZE=128
28-
CONFIG_HEAP_MEM_POOL_SIZE=65536
28+
CONFIG_HEAP_MEM_POOL_SIZE=32768
2929
CONFIG_ISR_STACK_SIZE=8192
3030
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=8192
3131
CONFIG_IDLE_STACK_SIZE=8192
@@ -99,3 +99,24 @@ CONFIG_BT_BUF_ACL_RX_SIZE=255
9999
CONFIG_BT_BUF_CMD_TX_SIZE=255
100100
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
101101
CONFIG_BT_MAX_CONN=4
102+
103+
CONFIG_FILE_SYSTEM=y
104+
CONFIG_FILE_SYSTEM_MKFS=y
105+
CONFIG_DISK_ACCESS=y
106+
CONFIG_DISK_DRIVER_FLASH=y
107+
108+
CONFIG_FILE_SYSTEM_LITTLEFS=y
109+
CONFIG_FS_LITTLEFS_PROG_SIZE=4096
110+
CONFIG_FS_LITTLEFS_CACHE_SIZE=4096
111+
112+
CONFIG_FAT_FILESYSTEM_ELM=y
113+
CONFIG_FS_FATFS_EXFAT=n
114+
CONFIG_FS_FATFS_MKFS=y
115+
CONFIG_FS_FATFS_LFN=y
116+
CONFIG_FS_FATFS_LFN_MODE_HEAP=y
117+
CONFIG_FS_FATFS_CODEPAGE=437
118+
CONFIG_FS_FATFS_MIN_SS=4096
119+
CONFIG_FS_FATFS_MAX_SS=4096
120+
CONFIG_FS_FATFS_MAX_LFN=255
121+
CONFIG_FS_FATFS_FSTAB_AUTOMOUNT=y
122+
CONFIG_FS_FATFS_CUSTOM_MOUNT_POINTS="wlan,ota"

‎variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.overlay‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
};
2323
};
2424

25+
&flash1 {
26+
// Conflicts with "storage" partition
27+
/delete-node/ partitions;
28+
};
2529

2630
&sci7 {
2731
pinctrl-0 = <&sci7_default>;
@@ -294,3 +298,7 @@
294298
<&ioport0 0 0>;
295299
};
296300
};
301+
302+
/* Include common flash filesystem configuration */
303+
qspi_flash: &at25sf128a {};
304+
#include "../common/arduino_flash_fs.dtsi"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp