File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ MCU_SERIES = F7
1010MCU_VARIANT = STM32F746xx
1111MCU_PACKAGE = LQFP144
1212
13- LLD_COMMON = boards/common_tcm.ld
13+ LD_COMMON = boards/common_tcm.ld
1414LD_FILE = boards/STM32F746xG_fs.ld
Original file line number Diff line number Diff line change 3131
3232#define FLASH_PAGE_SIZE (0x4000)
3333
34+ // H7 and F7 MPU definitions
35+ #define CPY_FLASH_REGION_SIZE ARM_MPU_REGION_SIZE_2MB
36+ #define CPY_ITCM_REGION_SIZE ARM_MPU_REGION_SIZE_64KB
37+ #define CPY_DTCM_REGION_SIZE ARM_MPU_REGION_SIZE_128KB
38+ #define CPY_SRAM_REGION_SIZE ARM_MPU_REGION_SIZE_512KB
39+ #define CPY_SRAM_SUBMASK 0x00
40+ #define CPY_SRAM_START_ADDR 0x24000000
41+
3442#define HSE_VALUE ((uint32_t)12000000)
3543#define BOARD_HAS_LOW_SPEED_CRYSTAL (0)
Original file line number Diff line number Diff line change 3434#define FLASH_SIZE (0x100000)
3535#define FLASH_PAGE_SIZE (0x4000)
3636
37+ // H7 and F7 MPU definitions
38+ #define CPY_FLASH_REGION_SIZE ARM_MPU_REGION_SIZE_1MB
39+ #define CPY_ITCM_REGION_SIZE ARM_MPU_REGION_SIZE_16KB
40+ #define CPY_DTCM_REGION_SIZE ARM_MPU_REGION_SIZE_128KB
41+ #define CPY_SRAM_REGION_SIZE ARM_MPU_REGION_SIZE_256KB
42+ #define CPY_SRAM_SUBMASK 0x00
43+ #define CPY_SRAM_START_ADDR 0x20010000
44+
3745// Lower frequency to allow external RAM use
3846#define HSE_VALUE ((uint32_t)25000000)
3947#define LSE_VALUE ((uint32_t)32768)
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ MCU_SERIES = F7
1010MCU_VARIANT = STM32F746xx
1111MCU_PACKAGE = TFBGA216
1212
13- LD_COMMON = boards/common_default .ld
13+ LD_COMMON = boards/common_tcm .ld
1414LD_FILE = boards/STM32F746xG_fs.ld
You can’t perform that action at this time.
0 commit comments