@@ -86,7 +86,7 @@ def build(env):
86
86
((target ["family" ] == "f4" ) and target ["name" ] in ["46" , "69" , "79" ])
87
87
88
88
if target .family in ["h7" ]:
89
- if target .name in ["a0" , " a3" , "b0" , "b3" ]:
89
+ if target .name in ["a3" , "b0" , "b3" ]:
90
90
properties ["cfgr_prescaler" ] = "CDCFGR1"
91
91
else :
92
92
properties ["cfgr_prescaler" ] = "D1CFGR"
@@ -96,7 +96,7 @@ def build(env):
96
96
properties ["cfgr_prescaler" ] = "CFGR"
97
97
98
98
if target .family in ["h7" ]:
99
- if target .name in ["a0" , " a3" , "b0" , "b3" ]:
99
+ if target .name in ["a3" , "b0" , "b3" ]:
100
100
properties ["cfgr2" ] = "CDCFGR2"
101
101
else :
102
102
properties ["cfgr2" ] = "D2CFGR"
@@ -115,9 +115,9 @@ def build(env):
115
115
else :
116
116
properties ["ccipr1" ] = "CCIPR"
117
117
118
- properties ["d1" ] = ("CD" if target .name in ["a0" , " a3" , "b0" , "b3" ] else "D1" ) \
118
+ properties ["d1" ] = ("CD" if target .name in ["a3" , "b0" , "b3" ] else "D1" ) \
119
119
if target .family == "h7" else ""
120
- properties ["d2" ] = ("CD" if target .name in ["a0" , " a3" , "b0" , "b3" ] else "D2" ) \
120
+ properties ["d2" ] = ("CD" if target .name in ["a3" , "b0" , "b3" ] else "D2" ) \
121
121
if target .family == "h7" else ""
122
122
properties ["cfgr3" ] = ("SRDCFGR" if target .name in ["a0" , "a3" , "b0" , "b3" ] else "D3CFGR" )
123
123
properties ["d3" ] = ("SRD" if target .name in ["a0" , "a3" , "b0" , "b3" ] else "D3" )
0 commit comments