Merge pull request #157 from msamsonoff/stm32f0-adc
Special case handling for STM32F0 ADC peripheral
This commit is contained in:
commit
a52fd6ad73
@ -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