Remove unused gpio_af from codegen

This commit is contained in:
Thales Fragoso 2021-06-24 19:23:51 -03:00
parent 409884be2a
commit 210104e6dc
2 changed files with 0 additions and 5 deletions

View file

@ -33,10 +33,6 @@ if len(c) > 1:
with open(f'{data_path}/chips/{chip_name}.yaml', 'r') as f:
chip = yaml.load(f, Loader=SafeLoader)
# ======= load GPIO AF
with open(f'{data_path}/gpio_af/{chip["gpio_af"]}.yaml', 'r') as f:
af = yaml.load(f, Loader=SafeLoader)
# ======= Generate!
with open(output_file, 'w') as f:
singletons = [] # USART1, PA5, EXTI8

View file

@ -19,7 +19,6 @@ pub struct Chip {
pub cores: Vec<Core>,
pub flash: u32,
pub ram: u32,
pub gpio_af: String,
pub packages: Vec<Package>,
}