diff options
| author | hathach <[email protected]> | 2024-11-18 23:00:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-11-18 23:02:17 +0700 |
| commit | d37707d6dd6147511cfaa10f21bdc4e28f2cdf69 (patch) | |
| tree | 2a05c8046b69e6ee43758aff7be48d3f997cd8ad /hw | |
| parent | dab600bea2bb5ff426e69f10aafa6332f7c8507e (diff) | |
move handle ep slave/dma wihtin compiler macro
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/family_support.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake index aa5e037d1..57fa63261 100644 --- a/hw/bsp/family_support.cmake +++ b/hw/bsp/family_support.cmake @@ -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 |
