Continuing to update clocks (unused now) and SPI

This commit is contained in:
Bob McWhirter
2021-05-12 10:46:18 -04:00
parent 7d52e1b350
commit 36c16dbef8
86 changed files with 7131 additions and 6906 deletions

View File

@ -116,7 +116,8 @@ for chip in chips.values():
f.write(f'impl_rng!({name});')
if block_mod == 'spi':
f.write(f'impl_spi!({name});')
clock = peri['clock']
f.write(f'impl_spi!({name}, {clock});')
for pin, funcs in af.items():
if pin in pins:
if func := funcs.get(f'{name}_SCK'):