mirror of
https://github.com/hathach/tinyusb.git
synced 2026-02-07 00:25:25 +00:00
@ -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
|
||||
|
||||
Reference in New Issue
Block a user