Skip to content

Commit

Permalink
target: stm32f1: pass CMSIS dependencies to TinyUSB
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <lains@riseup.net>
  • Loading branch information
FFY00 committed Feb 26, 2021
1 parent ddc7391 commit f94877b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build_targets/families.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]

0 comments on commit f94877b

Please sign in to comment.