Allow generating pac for STM32L0
This commit is contained in:
parent
9fa5a2920f
commit
b5373a1a64
@ -15,7 +15,7 @@ os.chdir(dname)
|
|||||||
# ======= load chips
|
# ======= load chips
|
||||||
chips = {}
|
chips = {}
|
||||||
for f in sorted(glob('stm32-data/data/chips/*.yaml')):
|
for f in sorted(glob('stm32-data/data/chips/*.yaml')):
|
||||||
if 'STM32F4' not in f and 'STM32L4' not in f and 'STM32H7' not in f:
|
if 'STM32F4' not in f and 'STM32L4' not in f and 'STM32H7' not in f and 'STM32L0' not in f:
|
||||||
continue
|
continue
|
||||||
with open(f, 'r') as f:
|
with open(f, 'r') as f:
|
||||||
chip = yaml.load(f, Loader=yaml.CSafeLoader)
|
chip = yaml.load(f, Loader=yaml.CSafeLoader)
|
||||||
|
Loading…
Reference in New Issue
Block a user