Special case handling for the STM32F0 ADC peripheral
This commit is contained in:
parent
9d99221e7e
commit
26e64bea78
@ -769,6 +769,9 @@ def parse_chips():
|
|||||||
|
|
||||||
peris = []
|
peris = []
|
||||||
for pname, pkind in peri_kinds.items():
|
for pname, pkind in peri_kinds.items():
|
||||||
|
if chip_name.startswith('STM32F0') and pname == 'ADC':
|
||||||
|
addr = get_peri_addr(defines, 'ADC1')
|
||||||
|
else:
|
||||||
addr = get_peri_addr(defines, pname)
|
addr = get_peri_addr(defines, pname)
|
||||||
if addr is None:
|
if addr is None:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user