Skip to content

Commit

Permalink
Added h5.cmake file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hish15 committed Apr 21, 2023
1 parent 5d70c43 commit a4ff415
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions cmake/stm32/h5.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
set(STM32_H5_TYPES
H503xx H562xx H563xx H573xx
)

set(STM32_H5_TYPE_MATCH
"H503.." "H562.." "H563.." "H573.."
)
set(STM32_H5_RAM_SIZES
32K 640K 640K 640K
)
set(STM32_H5_CCRAM_SIZES
0K 0K 0K 0K
)

stm32_util_create_family_targets(H5)

target_compile_options(STM32::H5 INTERFACE
-mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb
)

target_link_options(STM32::H5 INTERFACE
-mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb
)

0 comments on commit a4ff415

Please sign in to comment.