@@ -86,7 +86,7 @@ def build(env):
8686 ((target ["family" ] == "f4" ) and target ["name" ] in ["46" , "69" , "79" ])
8787
8888 if target .family in ["h7" ]:
89- if target .name in ["a0" , " a3" , "b0" , "b3" ]:
89+ if target .name in ["a3" , "b0" , "b3" ]:
9090 properties ["cfgr_prescaler" ] = "CDCFGR1"
9191 else :
9292 properties ["cfgr_prescaler" ] = "D1CFGR"
@@ -96,7 +96,7 @@ def build(env):
9696 properties ["cfgr_prescaler" ] = "CFGR"
9797
9898 if target .family in ["h7" ]:
99- if target .name in ["a0" , " a3" , "b0" , "b3" ]:
99+ if target .name in ["a3" , "b0" , "b3" ]:
100100 properties ["cfgr2" ] = "CDCFGR2"
101101 else :
102102 properties ["cfgr2" ] = "D2CFGR"
@@ -115,9 +115,9 @@ def build(env):
115115 else :
116116 properties ["ccipr1" ] = "CCIPR"
117117
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" ) \
119119 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" ) \
121121 if target .family == "h7" else ""
122122 properties ["cfgr3" ] = ("SRDCFGR" if target .name in ["a0" , "a3" , "b0" , "b3" ] else "D3CFGR" )
123123 properties ["d3" ] = ("SRD" if target .name in ["a0" , "a3" , "b0" , "b3" ] else "D3" )
0 commit comments