Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit 59d08c2

Browse files
committed
dev_table: add device family H7
Based on AN2606 rev 31 and RM0433 rev 2 http://www.st.com/resource/en/reference_manual/dm00314099.pdf Actually device STM32H74xxx/75xxx has two RAM areas. The second one 0x24034000-0x24080000 is not reported here. The option bytes are not memory mapped, so not accessible. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
1 parent 12bfd33 commit 59d08c2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

dev_table.c

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@
3636
*/
3737

3838
/* fixed size pages */
39-
static uint32_t p_128[] = { SZ_128, 0 };
40-
static uint32_t p_256[] = { SZ_256, 0 };
41-
static uint32_t p_1k[] = { SZ_1K, 0 };
42-
static uint32_t p_2k[] = { SZ_2K, 0 };
39+
static uint32_t p_128[] = { SZ_128, 0 };
40+
static uint32_t p_256[] = { SZ_256, 0 };
41+
static uint32_t p_1k[] = { SZ_1K, 0 };
42+
static uint32_t p_2k[] = { SZ_2K, 0 };
43+
static uint32_t p_128k[] = { SZ_128K, 0 };
4344
/* F2 and F4 page size */
4445
static uint32_t f2f4[] = { SZ_16K, SZ_16K, SZ_16K, SZ_16K, SZ_64K, SZ_128K, 0 };
4546
/* F4 dual bank page size */
@@ -94,6 +95,8 @@ const stm32_dev_t devices[] = {
9495
{0x452, "STM32F72xxx/73xxx" , 0x20004000, 0x20040000, 0x08000000, 0x08080000, 1, f2f4 , 0x1FFF0000, 0x1FFF001F, 0x1FF00000, 0x1FF0EDC0, 0},
9596
{0x449, "STM32F74xxx/75xxx" , 0x20004000, 0x20050000, 0x08000000, 0x08100000, 1, f7 , 0x1FFF0000, 0x1FFF001F, 0x1FF00000, 0x1FF0EDC0, 0},
9697
{0x451, "STM32F76xxx/77xxx" , 0x20004000, 0x20080000, 0x08000000, 0x08200000, 1, f7 , 0x1FFF0000, 0x1FFF001F, 0x1FF00000, 0x1FF0EDC0, 0},
98+
/* H7 */
99+
{0x450, "STM32H74xxx/75xxx" , 0x20004100, 0x20020000, 0x08000000, 0x08200000, 1, p_128k, 0 , 0 , 0x1FF00000, 0x1FF1E800, 0},
97100
/* L0 */
98101
{0x425, "STM32L031xx/041xx" , 0x20001000, 0x20002000, 0x08000000, 0x08008000, 32, p_128 , 0x1FF80000, 0x1FF8001F, 0x1FF00000, 0x1FF01000, 0},
99102
{0x417, "STM32L05xxx/06xxx" , 0x20001000, 0x20002000, 0x08000000, 0x08010000, 32, p_128 , 0x1FF80000, 0x1FF8001F, 0x1FF00000, 0x1FF01000, F_NO_ME},

0 commit comments

Comments
 (0)