Ensure consistent order for dmamuxes.
This commit is contained in:
parent
2e8c0bc791
commit
ac50274c95
@ -1009,7 +1009,7 @@ def parse_dma():
|
|||||||
dmamux_file = 'L4PQ'
|
dmamux_file = 'L4PQ'
|
||||||
if ff.startswith('STM32L4S'):
|
if ff.startswith('STM32L4S'):
|
||||||
dmamux_file = 'L4RS'
|
dmamux_file = 'L4RS'
|
||||||
for mf in glob('data/dmamux/{}_*.yaml'.format(dmamux_file)):
|
for mf in sorted(glob('data/dmamux/{}_*.yaml'.format(dmamux_file))):
|
||||||
with open(mf, 'r') as yaml_file:
|
with open(mf, 'r') as yaml_file:
|
||||||
y = yaml.load(yaml_file)
|
y = yaml.load(yaml_file)
|
||||||
mf = removesuffix(mf, '.yaml')
|
mf = removesuffix(mf, '.yaml')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user