mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-04 22:56:10 +00:00
suppress some warnings in zephyr build
This commit is contained in:
@ -121,6 +121,11 @@ if (RTOS STREQUAL zephyr)
|
||||
set(BOARD_ROOT ${TOP}/hw/bsp/${FAMILY})
|
||||
set(ZEPHYR_BOARD_ALIASES ${CMAKE_CURRENT_LIST_DIR}/zephyr_board_aliases.cmake)
|
||||
find_package(Zephyr REQUIRED HINTS ${TOP}/zephyr)
|
||||
list(REMOVE_ITEM WARN_FLAGS_GNU
|
||||
-Wredundant-decls
|
||||
-Wundef
|
||||
-Wcast-align
|
||||
)
|
||||
endif ()
|
||||
|
||||
#-------------------------------------------------------------
|
||||
|
||||
@ -76,7 +76,7 @@ SRC_C += \
|
||||
|
||||
INC += \
|
||||
$(TOP)/$(BOARD_PATH) \
|
||||
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||
$(TOP)/lib/CMSIS_6/CMSIS/Core/Include \
|
||||
$(TOP)/$(ST_CMSIS)/Include \
|
||||
$(TOP)/$(ST_HAL_DRIVER)/Inc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user