summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32f4
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-28 00:15:39 +0700
committerhathach <[email protected]>2025-10-28 00:15:39 +0700
commitcc597d5cd55ee447d4f97b7f2a19d95c333426f5 (patch)
treed46de040b70a6f271a25ea335872b03e30fe164b /hw/bsp/stm32f4
parentd55e074a36de0331006fca1a19a241e98f9bd7e1 (diff)
disable warning for startup file
Diffstat (limited to 'hw/bsp/stm32f4')
-rw-r--r--hw/bsp/stm32f4/family.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/bsp/stm32f4/family.cmake b/hw/bsp/stm32f4/family.cmake
index 327bf7bf3..b37196cfc 100644
--- a/hw/bsp/stm32f4/family.cmake
+++ b/hw/bsp/stm32f4/family.cmake
@@ -120,7 +120,9 @@ function(family_configure_example TARGET RTOS)
set_source_files_properties(${CMAKE_CURRENT_FUNCTION_LIST_DIR}/family.c PROPERTIES COMPILE_FLAGS "-Wno-missing-prototypes")
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})