summaryrefslogtreecommitdiff
path: root/hw/bsp/saml2x
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/saml2x
parentdc514c6230975eceb359644d4b60a1a99a5218bf (diff)
cmake remove EXAMPLE-tinyusb target as library
Diffstat (limited to 'hw/bsp/saml2x')
-rw-r--r--hw/bsp/saml2x/family.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/bsp/saml2x/family.cmake b/hw/bsp/saml2x/family.cmake
index 37e282a18..49f2e3e75 100644
--- a/hw/bsp/saml2x/family.cmake
+++ b/hw/bsp/saml2x/family.cmake
@@ -101,13 +101,12 @@ function(family_configure_example TARGET RTOS)
# Add TinyUSB target and port source
family_add_tinyusb(${TARGET} OPT_MCU_SAML22)
- target_sources(${TARGET}-tinyusb PUBLIC
+ target_sources(${TARGET} PUBLIC
${TOP}/src/portable/microchip/samd/dcd_samd.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})