summaryrefslogtreecommitdiff
path: root/hw/bsp/lpc17
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-01-25 16:08:40 +0700
committerhathach <[email protected]>2025-01-25 16:08:40 +0700
commit6b3a5957c2e84a093854eaf6afea352d67324136 (patch)
tree6c7ec3a6d7d894ee6d4f791ec8cc20ed3e05f1a4 /hw/bsp/lpc17
parentdc514c6230975eceb359644d4b60a1a99a5218bf (diff)
cmake remove EXAMPLE-tinyusb target as library
Diffstat (limited to 'hw/bsp/lpc17')
-rw-r--r--hw/bsp/lpc17/family.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/bsp/lpc17/family.cmake b/hw/bsp/lpc17/family.cmake
index 7e7f036de..771a0f405 100644
--- a/hw/bsp/lpc17/family.cmake
+++ b/hw/bsp/lpc17/family.cmake
@@ -87,15 +87,14 @@ function(family_configure_example TARGET RTOS)
# Add TinyUSB target and port source
family_add_tinyusb(${TARGET} OPT_MCU_LPC175X_6X)
- target_sources(${TARGET}-tinyusb PUBLIC
+ target_sources(${TARGET} PUBLIC
${TOP}/src/portable/nxp/lpc17_40/dcd_lpc17_40.c
${TOP}/src/portable/nxp/lpc17_40/hcd_lpc17_40.c
${TOP}/src/portable/ohci/ohci.c
)
- target_link_libraries(${TARGET}-tinyusb PUBLIC board_${BOARD})
+ target_link_libraries(${TARGET} PUBLIC board_${BOARD})
+
- # Link dependencies
- target_link_libraries(${TARGET} PUBLIC board_${BOARD} ${TARGET}-tinyusb)
# Flashing
family_add_bin_hex(${TARGET})