Signed-off-by: Zixun LI <admin@hifiphile.com>
This commit is contained in:
Zixun LI
2026-01-14 10:12:54 +01:00
parent 4ae33547e3
commit 46af312b61

View File

@ -71,6 +71,9 @@ 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")
set_source_files_properties(${STARTUP_FILE_${CMAKE_C_COMPILER_ID}} PROPERTIES
SKIP_LINTING ON
COMPILE_OPTIONS -w)
endif ()
# Flashing