add cmake RTOS=zephyr (default noos) for zephyr build

This commit is contained in:
hathach
2025-01-24 15:06:05 +07:00
parent 201b9707b9
commit b53801a8ac
61 changed files with 100 additions and 116 deletions

View File

@@ -101,7 +101,7 @@ function(family_configure_example TARGET RTOS)
)
# Add TinyUSB target and port source
family_add_tinyusb(${TARGET} OPT_MCU_${FAMILY_MCUS} ${RTOS})
family_add_tinyusb(${TARGET} OPT_MCU_${FAMILY_MCUS})
target_sources(${TARGET}-tinyusb PUBLIC
${TOP}/src/portable/synopsys/dwc2/dcd_dwc2.c
${TOP}/src/portable/synopsys/dwc2/hcd_dwc2.c