@@ -3,7 +3,7 @@ authors = ["Vitaly Domnikov <oss@vitaly.codes>"]
33categories = [" embedded" , " hardware-support" , " no-std" ]
44description = " Peripheral access API for STM32G4 series microcontrollers"
55documentation = " https://docs.rs/stm32g4xx-hal"
6- edition = " 2018 "
6+ edition = " 2021 "
77keywords = [" arm" , " cortex-m" , " stm32g4xx" , " hal" ]
88license = " MIT/Apache-2.0"
99name = " stm32g4xx-hal"
@@ -86,19 +86,232 @@ usbd-serial = "0.2.2"
8686default = [" rt" ]
8787rt = [" stm32g4/rt" ]
8888usb = [" dep:stm32-usbd" ]
89- stm32g431 = [" stm32g4/stm32g431" ]
90- stm32g441 = [" stm32g4/stm32g441" ]
91- stm32g471 = [" stm32g4/stm32g471" ]
92- stm32g473 = [" stm32g4/stm32g473" ]
93- stm32g474 = [" stm32g4/stm32g474" ]
94- stm32g483 = [" stm32g4/stm32g483" ]
95- stm32g484 = [" stm32g4/stm32g484" ]
96- stm32g491 = [" stm32g4/stm32g491" ]
97- stm32g4a1 = [" stm32g4/stm32g4a1" ]
89+ stm32g431 = [" stm32g4/stm32g431" , " gpio-g43x" ]
90+ stm32g441 = [" stm32g4/stm32g441" , " gpio-g43x" ]
91+ stm32g471 = [" stm32g4/stm32g471" , " gpio-g47x" ]
92+ stm32g473 = [" stm32g4/stm32g473" , " gpio-g47x" ]
93+ stm32g474 = [" stm32g4/stm32g474" , " gpio-g47x" ]
94+ stm32g483 = [" stm32g4/stm32g483" , " gpio-g47x" ]
95+ stm32g484 = [" stm32g4/stm32g484" , " gpio-g47x" ]
96+ stm32g491 = [" stm32g4/stm32g491" , " gpio-g49x" ]
97+ stm32g4a1 = [" stm32g4/stm32g4a1" , " gpio-g49x" ]
98+
99+ gpio-g43x = [
100+ " comp1" ,
101+ " comp2" ,
102+ " comp3" ,
103+ " comp4" ,
104+ " crs" ,
105+ " fdcan1" ,
106+ " gpioa" ,
107+ " gpiob" ,
108+ " gpioc" ,
109+ " gpiod" ,
110+ " gpioe" ,
111+ " gpiof" ,
112+ " gpiog" ,
113+ " i2c1" ,
114+ " i2c2" ,
115+ " i2c3" ,
116+ " i2s" ,
117+ " i2s2" ,
118+ " i2s3" ,
119+ " ir" ,
120+ " lptim1" ,
121+ " lpuart1" ,
122+ " rcc" ,
123+ " rtc" ,
124+ " sai1" ,
125+ " spi1" ,
126+ " spi2" ,
127+ " spi3" ,
128+ " sys" ,
129+ " tim1" ,
130+ " tim15" ,
131+ " tim16" ,
132+ " tim17" ,
133+ " tim2" ,
134+ " tim3" ,
135+ " tim4" ,
136+ " tim8" ,
137+ " uart4" ,
138+ " ucpd1" ,
139+ " usart1" ,
140+ " usart2" ,
141+ " usart3" ,
142+ ]
143+ gpio-g47x = [
144+ " comp1" ,
145+ " comp2" ,
146+ " comp3" ,
147+ " comp4" ,
148+ " comp5" ,
149+ " comp6" ,
150+ " comp7" ,
151+ " crs" ,
152+ " fdcan1" ,
153+ " fdcan2" ,
154+ " fdcan3" ,
155+ " fmc" ,
156+ " gpioa" ,
157+ " gpiob" ,
158+ " gpioc" ,
159+ " gpiod" ,
160+ " gpioe" ,
161+ " gpiof" ,
162+ " gpiog" ,
163+ " hrtim1" ,
164+ " i2c1" ,
165+ " i2c2" ,
166+ " i2c3" ,
167+ " i2c4" ,
168+ " i2s" ,
169+ " i2s2" ,
170+ " i2s3" ,
171+ " ir" ,
172+ " lptim1" ,
173+ " lpuart1" ,
174+ " quadspi1" ,
175+ " rcc" ,
176+ " rtc" ,
177+ " sai1" ,
178+ " spi1" ,
179+ " spi2" ,
180+ " spi3" ,
181+ " spi4" ,
182+ " sys" ,
183+ " tim1" ,
184+ " tim15" ,
185+ " tim16" ,
186+ " tim17" ,
187+ " tim2" ,
188+ " tim20" ,
189+ " tim3" ,
190+ " tim4" ,
191+ " tim5" ,
192+ " tim8" ,
193+ " uart4" ,
194+ " uart5" ,
195+ " ucpd1" ,
196+ " usart1" ,
197+ " usart2" ,
198+ " usart3" ,
199+ ]
200+ gpio-g49x = [
201+ " comp1" ,
202+ " comp2" ,
203+ " comp3" ,
204+ " comp4" ,
205+ " crs" ,
206+ " fdcan1" ,
207+ " fdcan2" ,
208+ " gpioa" ,
209+ " gpiob" ,
210+ " gpioc" ,
211+ " gpiod" ,
212+ " gpioe" ,
213+ " gpiof" ,
214+ " gpiog" ,
215+ " i2c1" ,
216+ " i2c2" ,
217+ " i2c3" ,
218+ " i2s" ,
219+ " i2s2" ,
220+ " i2s3" ,
221+ " ir" ,
222+ " lptim1" ,
223+ " lpuart1" ,
224+ " quadspi1" ,
225+ " rcc" ,
226+ " rtc" ,
227+ " sai1" ,
228+ " spi1" ,
229+ " spi2" ,
230+ " spi3" ,
231+ " sys" ,
232+ " tim1" ,
233+ " tim15" ,
234+ " tim16" ,
235+ " tim17" ,
236+ " tim2" ,
237+ " tim20" ,
238+ " tim3" ,
239+ " tim4" ,
240+ " tim8" ,
241+ " uart4" ,
242+ " uart5" ,
243+ " ucpd1" ,
244+ " usart1" ,
245+ " usart2" ,
246+ " usart3" ,
247+ ]
248+
249+ comp1 = []
250+ comp2 = []
251+ comp3 = []
252+ comp4 = []
253+ comp5 = []
254+ comp6 = []
255+ comp7 = []
256+ crs = []
257+ fdcan1 = []
258+ fdcan2 = []
259+ fdcan3 = []
260+ fmc = []
261+ gpioa = []
262+ gpiob = []
263+ gpioc = []
264+ gpiod = []
265+ gpioe = []
266+ gpiof = []
267+ gpiog = []
268+ hrtim1 = []
269+ i2c1 = []
270+ i2c2 = []
271+ i2c3 = []
272+ i2c4 = []
273+ i2s = []
274+ i2s2 = []
275+ i2s3 = []
276+ ir = []
277+ lptim1 = []
278+ lpuart1 = []
279+ quadspi1 = []
280+ rcc = []
281+ rtc = []
282+ sai1 = []
283+ spi1 = []
284+ spi2 = []
285+ spi3 = []
286+ spi4 = []
287+ sys = []
288+ tim1 = []
289+ tim15 = []
290+ tim16 = []
291+ tim17 = []
292+ tim2 = []
293+ tim20 = []
294+ tim3 = []
295+ tim4 = []
296+ tim5 = []
297+ tim8 = []
298+ uart4 = []
299+ uart5 = []
300+ ucpd1 = []
301+ usart1 = []
302+ usart2 = []
303+ usart3 = []
304+
98305log-itm = [" cortex-m-log/itm" ]
99306log-rtt = []
100307log-semihost = [" cortex-m-log/semihosting" ]
101- defmt = [" dep:defmt" , " fugit/defmt" , " nb/defmt-0-3" , " embedded-hal/defmt-03" , " embedded-io/defmt-03" ]
308+ defmt = [
309+ " dep:defmt" ,
310+ " fugit/defmt" ,
311+ " nb/defmt-0-3" ,
312+ " embedded-hal/defmt-03" ,
313+ " embedded-io/defmt-03" ,
314+ ]
102315cordic = [" dep:fixed" ]
103316
104317[profile .dev ]
0 commit comments