fix(h7): no LTO for system_clock.c (#6548)

Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
Raphael Coeffic
2025-08-24 11:11:45 +02:00
committed by GitHub
co-authored by raphaelcoeffic
parent d1d59b5cb2
commit e8eb0690ed
4 changed files with 8 additions and 5 deletions
@@ -8,12 +8,12 @@ include_directories(${CMSIS_DIR}/Include)
if(CPU_TYPE STREQUAL STM32H7RS)
include_directories(${CMSIS_DIR}/Device/ST/STM32H7RS/Include)
set(CMSIS_SRC
set(CMSIS_SRC ${CMSIS_SRC}
targets/common/arm/stm32/h7/system_stm32h7rsxx.c
)
else()
include_directories(${CMSIS_DIR}/Device/ST/STM32H7xx/Include)
set(CMSIS_SRC
set(CMSIS_SRC ${CMSIS_SRC}
targets/common/arm/stm32/h7/system_stm32h7xx.c
)
endif()