Skip to content

Commit 06b6272

Browse files
committed
Increase H7 filesystem size
1 parent 4f71bd2 commit 06b6272

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ports/stm/boards/STM32H743_fs.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ MEMORY
1212
{
1313
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K
1414
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 128K /* sector 0, 128K */
15-
FLASH_FS (r) : ORIGIN = 0x08020000, LENGTH = 128K /* sector 1, 128K */
16-
FLASH_FIRMWARE (rx) : ORIGIN = 0x08040000, LENGTH = 1792K /* sectors 6*128 + 8*128 */
15+
FLASH_FS (r) : ORIGIN = 0x08020000, LENGTH = 384K /* sector 1-3, 128K */
16+
FLASH_FIRMWARE (rx) : ORIGIN = 0x08080000, LENGTH = 1536K /* sectors 4*128 + 8*128 */
1717
DTCM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
1818
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 512K /* AXI SRAM */
1919
SRAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K /* AHB1 SRAM */

ports/stm/supervisor/internal_flash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
#ifdef STM32H743xx
8585
#define STM32_FLASH_SIZE 0x200000 //2MB
86-
#define INTERNAL_FLASH_FILESYSTEM_SIZE 0x20000 //128KiB
86+
#define INTERNAL_FLASH_FILESYSTEM_SIZE 0x60000 //384KiB
8787
#define INTERNAL_FLASH_FILESYSTEM_START_ADDR 0x08020000
8888
#endif
8989

0 commit comments

Comments
 (0)