Skip to content

Commit

Permalink
h5: fixed cpu core to cortex-m33
Browse files Browse the repository at this point in the history
  • Loading branch information
Hish15 committed Apr 23, 2023
1 parent 9ffdd49 commit 8bf0520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/stm32/h5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ set(STM32_H5_CCRAM_SIZES
stm32_util_create_family_targets(H5)

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

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

0 comments on commit 8bf0520

Please sign in to comment.