summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32f3
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-28 00:38:34 +0700
committerhathach <[email protected]>2025-10-28 11:10:29 +0700
commit113a763bc3fe861ac7c20075b2ad29bb51f6fd01 (patch)
treeaaab97d17689aff79b6b4b0ae2794464701313b3 /hw/bsp/stm32f3
parenta12806a6cd65b11476cde69628f92f64978f1c64 (diff)
fix warning with strict prototypes warnings
Diffstat (limited to 'hw/bsp/stm32f3')
-rw-r--r--hw/bsp/stm32f3/family.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/stm32f3/family.cmake b/hw/bsp/stm32f3/family.cmake
index c2896ff90..7c9e97e62 100644
--- a/hw/bsp/stm32f3/family.cmake
+++ b/hw/bsp/stm32f3/family.cmake
@@ -89,11 +89,11 @@ function(family_configure_example TARGET RTOS)
if (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
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
+ set_source_files_properties(${STARTUP_FILE_${CMAKE_C_COMPILER_ID}} PROPERTIES
SKIP_LINTING ON
COMPILE_OPTIONS -w)
+
# Flashing
family_add_bin_hex(${TARGET})
family_flash_stlink(${TARGET})