@@ -112,11 +112,13 @@ fn generate_chip_metadata(
112112 "
113113 pub(crate) static PERIPHERALS: &[Peripheral] = {};
114114 pub(crate) static INTERRUPTS: &[Interrupt] = {};
115+ pub(crate) static INTERRUPT_GROUPS: &[InterruptGroup] = {};
115116 pub(crate) static DMA_CHANNELS: &[DmaChannel] = {};
116117 pub(crate) static PINS: &[Pin] = {};
117118 " ,
118119 metadata:: peripherals( chip, package) ,
119120 metadata:: interrupts( chip) ,
121+ metadata:: interrupt_groups( chip) ,
120122 metadata:: dma_channels( chip) ,
121123 metadata:: pins( chip, package) ,
122124 )
@@ -147,6 +149,7 @@ fn generate_chip_metadata(
147149 peripherals: PERIPHERALS,
148150 pins: PINS,
149151 interrupts: INTERRUPTS,
152+ interrupt_groups: INTERRUPT_GROUPS,
150153 dma_channels: DMA_CHANNELS,
151154 }};
152155 " ,
@@ -158,7 +161,10 @@ fn generate_chip_metadata(
158161 rustfmt ( path) ;
159162}
160163
161- fn generate_all_chips < ' a > ( out_dir : & Path , chips : impl Iterator < Item = & ' a Chip > ) -> anyhow:: Result < ( ) > {
164+ fn generate_all_chips < ' a > (
165+ out_dir : & Path ,
166+ chips : impl Iterator < Item = & ' a Chip > ,
167+ ) -> anyhow:: Result < ( ) > {
162168 let mut list = Vec :: new ( ) ;
163169
164170 for chip in chips {
0 commit comments