diff options
| author | hathach <[email protected]> | 2025-10-28 00:15:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-28 00:15:39 +0700 |
| commit | cc597d5cd55ee447d4f97b7f2a19d95c333426f5 (patch) | |
| tree | d46de040b70a6f271a25ea335872b03e30fe164b /hw/bsp/stm32h7 | |
| parent | d55e074a36de0331006fca1a19a241e98f9bd7e1 (diff) | |
disable warning for startup file
Diffstat (limited to 'hw/bsp/stm32h7')
| -rw-r--r-- | hw/bsp/stm32h7/family.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/bsp/stm32h7/family.cmake b/hw/bsp/stm32h7/family.cmake index 840391e0b..b55f2f575 100644 --- a/hw/bsp/stm32h7/family.cmake +++ b/hw/bsp/stm32h7/family.cmake @@ -121,7 +121,9 @@ function(family_configure_example TARGET RTOS) target_link_options(${TARGET} PUBLIC "LINKER:--config=${LD_FILE_IAR}") endif () - set_source_files_properties(${STARTUP_FILE_${CMAKE_C_COMPILER_ID}} PROPERTIES SKIP_LINTING ON) + set_source_files_properties(${STARTUP_FILE_${CMAKE_C_COMPILER_ID}} PROPERTIES + SKIP_LINTING ON + COMPILE_OPTIONS -w) # Flashing family_add_bin_hex(${TARGET}) |
