mirror of
https://github.com/hathach/tinyusb.git
synced 2026-02-16 19:05:59 +00:00
more warning fix
This commit is contained in:
3
.github/workflows/ci_set_matrix.py
vendored
3
.github/workflows/ci_set_matrix.py
vendored
@ -34,8 +34,7 @@ family_list = {
|
||||
"ra": ["arm-gcc"],
|
||||
"rp2040": ["arm-gcc"],
|
||||
"rx": ["rx-gcc"],
|
||||
"samd11 saml2x": ["arm-gcc", "arm-clang"],
|
||||
"samd21": ["arm-gcc", "arm-clang"],
|
||||
"samd11 samd2x_l2x": ["arm-gcc", "arm-clang"],
|
||||
"samd5x_e5x samg": ["arm-gcc", "arm-clang"],
|
||||
"stm32c0 stm32f0 stm32f1 stm32f2 stm32f3": ["arm-gcc", "arm-clang", "arm-iar"],
|
||||
"stm32f4": ["arm-gcc", "arm-clang", "arm-iar"],
|
||||
|
||||
@ -186,9 +186,13 @@ function(family_configure_example TARGET RTOS)
|
||||
target_sources(${TARGET} PUBLIC
|
||||
${TOP}/src/portable/mentor/musb/dcd_musb.c
|
||||
)
|
||||
target_compile_options(${TARGET} PRIVATE
|
||||
-Wno-error=strict-prototypes
|
||||
)
|
||||
|
||||
# warnings caused by MSDK headers
|
||||
target_compile_options(${TARGET} PRIVATE -Wno-error=strict-prototypes)
|
||||
if (${MAX_DEVICE} STREQUAL "max78002")
|
||||
target_compile_options(${TARGET} PRIVATE -Wno-error=redundant-decls)
|
||||
endif ()
|
||||
|
||||
target_link_libraries(${TARGET} PUBLIC board_${BOARD})
|
||||
|
||||
# Flashing
|
||||
|
||||
Reference in New Issue
Block a user