diff --git a/embassy-stm32/gen.py b/embassy-stm32/gen.py index b9391d309..386c5ce17 100644 --- a/embassy-stm32/gen.py +++ b/embassy-stm32/gen.py @@ -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 diff --git a/stm32-metapac/gen/src/lib.rs b/stm32-metapac/gen/src/lib.rs index a5c061009..9e7add452 100644 --- a/stm32-metapac/gen/src/lib.rs +++ b/stm32-metapac/gen/src/lib.rs @@ -19,7 +19,6 @@ pub struct Chip { pub cores: Vec, pub flash: u32, pub ram: u32, - pub gpio_af: String, pub packages: Vec, }