From 629333b8611fc7697ebd16868cf43947848621a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Thu, 25 Feb 2021 00:57:02 +0000 Subject: [PATCH] target: stm32f1: pass CMSIS dependencies to TinyUSB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Filipe LaĆ­ns --- build_targets/families.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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), ]