Fix DMA channels for L4 DAC
This commit is contained in:
parent
023558fcfe
commit
bc03bf3914
@ -839,7 +839,13 @@ def parse_chips():
|
|||||||
for p in peris:
|
for p in peris:
|
||||||
chs = []
|
chs = []
|
||||||
for dma in chip_dmas:
|
for dma in chip_dmas:
|
||||||
if peri_chs := dma_channels[dma]['peripherals'].get(p['name']):
|
peri_chs = dma_channels[dma]['peripherals'].get(p['name'])
|
||||||
|
|
||||||
|
# DAC1 is sometimes interchanged with DAC
|
||||||
|
if not peri_chs and p['name'] == "DAC1":
|
||||||
|
peri_chs = dma_channels[dma]['peripherals'].get("DAC")
|
||||||
|
|
||||||
|
if peri_chs:
|
||||||
chs.extend([
|
chs.extend([
|
||||||
ch
|
ch
|
||||||
for ch in peri_chs
|
for ch in peri_chs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user