Skip to content

Commit a4ff415

Browse files
committed
Added h5.cmake file
1 parent 5d70c43 commit a4ff415

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

cmake/stm32/h5.cmake

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
set(STM32_H5_TYPES
2+
H503xx H562xx H563xx H573xx
3+
)
4+
5+
set(STM32_H5_TYPE_MATCH
6+
"H503.." "H562.." "H563.." "H573.."
7+
)
8+
set(STM32_H5_RAM_SIZES
9+
32K 640K 640K 640K
10+
)
11+
set(STM32_H5_CCRAM_SIZES
12+
0K 0K 0K 0K
13+
)
14+
15+
stm32_util_create_family_targets(H5)
16+
17+
target_compile_options(STM32::H5 INTERFACE
18+
-mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb
19+
)
20+
21+
target_link_options(STM32::H5 INTERFACE
22+
-mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb
23+
)

0 commit comments

Comments
 (0)