From a4ff415714c2ccca095afc5e4f679b9e62fa5326 Mon Sep 17 00:00:00 2001 From: Hector PHARAM Date: Fri, 21 Apr 2023 21:26:20 +0200 Subject: [PATCH] Added h5.cmake file --- cmake/stm32/h5.cmake | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cmake/stm32/h5.cmake diff --git a/cmake/stm32/h5.cmake b/cmake/stm32/h5.cmake new file mode 100644 index 00000000000..9018013b0c4 --- /dev/null +++ b/cmake/stm32/h5.cmake @@ -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 +)