move handle ep slave/dma wihtin compiler macro

This commit is contained in:
hathach
2024-11-18 23:00:16 +07:00
parent dab600bea2
commit d37707d6dd
2 changed files with 141 additions and 126 deletions

View File

@@ -289,6 +289,11 @@ function(family_add_tinyusb TARGET OPT_MCU RTOS)
)
endif ()
# compile define from command line
if(DEFINED CFLAGS_CLI)
target_compile_options(${TARGET}-tinyusb PUBLIC ${CFLAGS_CLI})
endif()
endfunction()
# Add bin/hex output