diff --git a/build_targets/families.py b/build_targets/families.py index badb7c98..51292cd1 100644 --- a/build_targets/families.py +++ b/build_targets/families.py @@ -108,8 +108,10 @@ def ld_flags(self) -> List[str]: ] def dependencies(self) -> List[BuildDependency]: - return [ + cmsis_deps = [ CMSISDependency(components=['Core']), CMSISDeviceSTM32F1Dependency(), - TinyUSBDependency(), + ] + return cmsis_deps + [ + TinyUSBDependency(dependencies=cmsis_deps), ]