Adam Greig 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c83552eadc 
							
						 
					 
					
						
						
							
							stm32: fix DAC examples  
						
						... 
						
						
						
						The DAC driver defaults to enabling the channel trigger, but leaves it
at the default value of TIM6 TRGO, then performs a software trigger
after writing the new output value. We could change the trigger
selection to software trigger, but for this example it's simpler to just
disable the trigger. 
						
						
					 
					
						2023-07-22 12:57:49 +01:00 
						 
				 
			
				
					
						
							
							
								Mathias 
							
						 
					 
					
						
						
						
						
							
						
						
							60b2f075dc 
							
						 
					 
					
						
						
							
							Merge branch 'main' of  https://github.com/embassy-rs/embassy  into embassy-stm32/rcc-rtc-l4  
						
						
						
						
					 
					
						2023-07-03 19:33:26 +02:00 
						 
				 
			
				
					
						
							
							
								Mathias 
							
						 
					 
					
						
						
						
						
							
						
						
							d372df7ddb 
							
						 
					 
					
						
						
							
							L4: Switch to MSI to prevent problems with PLL configuration, and enable power to AHB bus clock to allow RTC to run  
						
						
						
						
					 
					
						2023-07-01 12:16:23 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6eb46c419c 
							
						 
					 
					
						
						
							
							Merge pull request  #1565  from JuliDi/main  
						
						... 
						
						
						
						Implement DMA for DAC on STM32 
						
						
					 
					
						2023-06-29 08:54:28 +00:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d5898c11eb 
							
						 
					 
					
						
						
							
							remove need for StaticCell in dac_dma example for stm32l4  
						
						
						
						
					 
					
						2023-06-28 16:40:50 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							02f367f733 
							
						 
					 
					
						
						
							
							attempt at fixing ci  
						
						
						
						
					 
					
						2023-06-28 15:28:10 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f2e7a23148 
							
						 
					 
					
						
						
							
							attempt at fixing ci  
						
						
						
						
					 
					
						2023-06-28 15:25:57 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							27a89019ad 
							
						 
					 
					
						
						
							
							add doc  
						
						
						
						
					 
					
						2023-06-28 15:21:24 +02:00 
						 
				 
			
				
					
						
							
							
								JuliDi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							91c31d5e43 
							
						 
					 
					
						
						
							
							Update DAC examples, add DAC + DMA example  
						
						
						
						
					 
					
						2023-06-28 11:58:25 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							219ef5b37a 
							
						 
					 
					
						
						
							
							stm32/otg: add VBUS detection.  
						
						... 
						
						
						
						Fixes  #1442 . 
					
						2023-06-27 12:52:37 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							558918651e 
							
						 
					 
					
						
						
							
							stm32: update stm32-metapac.  
						
						
						
						
					 
					
						2023-06-19 03:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								xoviat 
							
						 
					 
					
						
						
						
						
							
						
						
							316be179af 
							
						 
					 
					
						
						
							
							stm32: move to bind_interrupts  
						
						... 
						
						
						
						disable lora functionality for now 
						
						
					 
					
						2023-05-24 17:29:56 -05:00 
						 
				 
			
				
					
						
							
							
								Dirk Stolle 
							
						 
					 
					
						
						
						
						
							
						
						
							0584312ef0 
							
						 
					 
					
						
						
							
							Fix some typos  
						
						
						
						
					 
					
						2023-05-08 23:25:01 +02:00 
						 
				 
			
				
					
						
							
							
								Mathieu Dupont 
							
						 
					 
					
						
						
						
						
							
						
						
							4ce1c5f27d 
							
						 
					 
					
						
						
							
							Add MCO support for L4 and F4 families  
						
						
						
						
					 
					
						2023-04-03 16:41:25 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							b2c6dc45e3 
							
						 
					 
					
						
						
							
							Fix examples broken by the macro fix.  
						
						
						
						
					 
					
						2023-03-08 09:17:01 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							3af991ab63 
							
						 
					 
					
						
						
							
							usb: unify ControlHandler+DeviceStateHandler, route all control requests to all handlers.  
						
						... 
						
						
						
						- Allows classes to handle vendor requests.
- Allows classes to use a single handler for multiple interfaces.
- Allows classes to access the other events (previously only `reset` was available). 
						
						
					 
					
						2023-02-08 00:17:08 +01:00 
						 
				 
			
				
					
						
							
							
								chemicstry 
							
						 
					 
					
						
						
						
						
							
						
						
							1af102a1aa 
							
						 
					 
					
						
						
							
							stm32 otg: add examples.  
						
						
						
						
					 
					
						2023-01-11 17:58:15 +01:00 
						 
				 
			
				
					
						
							
							
								Guillaume MICHEL 
							
						 
					 
					
						
						
						
						
							
						
						
							9cac649fcf 
							
						 
					 
					
						
						
							
							stm32: Add support for read_until_idle on UART  
						
						
						
						
					 
					
						2022-10-26 19:06:18 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							5daa173ce4 
							
						 
					 
					
						
						
							
							Split embassy-time from embassy-executor.  
						
						
						
						
					 
					
						2022-08-18 01:22:30 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							2e85eaf7d5 
							
						 
					 
					
						
						
							
							examples Remove the fn config() idiom.  
						
						... 
						
						
						
						It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that
it's gone, it makes more sense to build the config in main directly. 
						
						
					 
					
						2022-08-17 22:25:58 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							fc6e1e06b3 
							
						 
					 
					
						
						
							
							Remove HAL initialization from #[embassy::main] macro.  
						
						
						
						
					 
					
						2022-08-17 22:16:46 +02:00 
						 
				 
			
				
					
						
							
							
								chemicstry 
							
						 
					 
					
						
						
						
						
							
						
						
							6498324b58 
							
						 
					 
					
						
						
							
							Implement I2C pullup configuration  
						
						
						
						
					 
					
						2022-08-09 22:13:35 +03:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a0f1b0ee01 
							
						 
					 
					
						
						
							
							Split embassy crate into embassy-executor, embassy-util.  
						
						
						
						
					 
					
						2022-07-29 23:40:36 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a8703b7598 
							
						 
					 
					
						
						
							
							Run rustfmt.  
						
						
						
						
					 
					
						2022-06-12 22:22:31 +02:00 
						 
				 
			
				
					
						
							
							
								Henrik Alsér 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e10fc2bada 
							
						 
					 
					
						
						
							
							Async shared bus for SPI & I2C + rename embassy-traits ( #769 )  
						
						... 
						
						
						
						* Rename embassy-traits to embassy-embedded-hal
* Rename embassy-traits to embassy-embedded-hal
* Add shared bus for SPI and I2C
* rustfmt
* EHA alpha 1
* Rename embedded-traits in examples
* rustfmt
* rustfmt
Co-authored-by: Henrik Alsér <henrik@mindbite.se> 
						
						
					 
					
						2022-05-26 18:54:58 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							fc32b3750c 
							
						 
					 
					
						
						
							
							Remove embassy_hal_common::usb.  
						
						... 
						
						
						
						The replacement is `embassy-usb`. There's a WIP driver for stm32 USBD in #709 ,
there's no WIP driver for stm32 USB_OTG. This means we're left without
USB_OTG support for now.
Reason for removing is I'm going to soon remove `embassy::io`, and
USB uses it. I don't want to spend time maintaining "dead" code
that is going to be removed. Volunteers welcome, either to update
old USB to the new IO, or write a USB_OTG driver fo the new USB. 
						
						
					 
					
						2022-05-04 01:41:37 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							3251a21fb7 
							
						 
					 
					
						
						
							
							Switch to crates.io embedded-hal, embedded-hal-async.  
						
						... 
						
						
						
						This temporarily removes support for the async UART trait, since it's
not yet in embedded-hal-async. 
						
						
					 
					
						2022-04-22 19:58:24 +02:00 
						 
				 
			
				
					
						
							
							
								Philip A Reimer 
							
						 
					 
					
						
						
						
						
							
						
						
							8f6fccf012 
							
						 
					 
					
						
						
							
							fix clock in l4 rng example  
						
						
						
						
					 
					
						2022-04-11 21:06:22 -06:00 
						 
				 
			
				
					
						
							
							
								Philip A Reimer 
							
						 
					 
					
						
						
						
						
							
						
						
							d8860c0b80 
							
						 
					 
					
						
						
							
							add stm32l4 hsi48 and usb example  
						
						
						
						
					 
					
						2022-04-09 14:55:03 -06:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							82803bffda 
							
						 
					 
					
						
						
							
							Use embassy/defmt-timestamp-uptime in all examples.  
						
						
						
						
					 
					
						2022-04-02 04:35:06 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							9bad9365dc 
							
						 
					 
					
						
						
							
							Update rust nightly, embedded-hal 1.0, embedded-hal-async.  
						
						
						
						
					 
					
						2022-03-11 00:38:07 +01:00 
						 
				 
			
				
					
						
							
							
								Grant Miller 
							
						 
					 
					
						
						
						
						
							
						
						
							ed84d753c7 
							
						 
					 
					
						
						
							
							Update examples  
						
						
						
						
					 
					
						2022-03-08 17:12:50 -06:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							550da471be 
							
						 
					 
					
						
						
							
							stm32: Remove OptionalPin  
						
						... 
						
						
						
						The idea behind OptionalPin has a few problems:
- you need to impl the signal traits for NoPin which is a bit weird https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L413-L416 
- you can pass any combination of set/unset pins, which needs checking at runtime  https://github.com/embassy-rs/embassy/blob/master/embassy-stm32/src/dcmi.rs#L130 
The replacement is to do multiple `new` constructors for each combination of pins you want to take. 
						
						
					 
					
						2022-02-10 02:38:10 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							0719b05d63 
							
						 
					 
					
						
						
							
							traits: migrate Delay to embedded-hal 1.0+async, remove Rng and Flash.  
						
						
						
						
					 
					
						2022-01-27 00:08:02 +01:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							4032fc0655 
							
						 
					 
					
						
						
							
							Support unstable-trait feature for stm32  
						
						
						
						
					 
					
						2022-01-26 22:39:06 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							889d757ab8 
							
						 
					 
					
						
						
							
							stm32/spi: expose all functionality as inherent methods.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							97ab859f00 
							
						 
					 
					
						
						
							
							stm32/i2c: expose all functionality as inherent methods.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							c949519714 
							
						 
					 
					
						
						
							
							stm32/usart: expose all functionality as inherent methods.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							b526addf7b 
							
						 
					 
					
						
						
							
							stm32/exti: expose all functionality as inherent methods.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							58fc64722c 
							
						 
					 
					
						
						
							
							stm32/gpio: expose all functionality as inherent methods.  
						
						
						
						
					 
					
						2022-01-19 17:59:55 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							cdc66e110f 
							
						 
					 
					
						
						
							
							stm32/rcc: remove builders on Config.  
						
						... 
						
						
						
						This makes API consistent with other Config structs in Embassy, where
the convention is to not use builders. 
						
						
					 
					
						2022-01-04 13:31:30 +01:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							3811c0a401 
							
						 
					 
					
						
						
							
							Add adapter for implementing async traits for blocking types  
						
						... 
						
						
						
						This allows writing drivers relying on async traits, while still
functioning with implementations that already implement the embedded-hal
traits.
Add examples to stm32l4 for using this feature. 
						
						
					 
					
						2021-12-17 12:54:51 +01:00 
						 
				 
			
				
					
						
							
							
								bors[bot] 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							01e5376b25 
							
						 
					 
					
						
						
							
							Merge  #456  
						
						... 
						
						
						
						456: Fix L4 clock setup for MSI and PLL to allow RNG operation r=Dirbaio a=lulf
Example is tested on STM32L475VG.
Co-authored-by: Ulf Lilleengen <lulf@redhat.com> 
						
						
					 
					
						2021-10-26 11:59:14 +00:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							e55726964d 
							
						 
					 
					
						
						
							
							Fix clock setup for MSI and PLL to allow RNG opereation  
						
						... 
						
						
						
						Add RNG example using PLL as clock source. 
						
						
					 
					
						2021-10-26 13:45:53 +02:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							f8ebc967a9 
							
						 
					 
					
						
						
							
							Add implementation of async trait for STM32 I2C v2  
						
						... 
						
						
						
						* Add DMA read implementation for I2C v2
* Add example using DMA for I2C 
						
						
					 
					
						2021-10-21 12:30:02 +02:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							9e461b771a 
							
						 
					 
					
						
						
							
							Add i2c example for L4  
						
						
						
						
					 
					
						2021-10-20 10:11:34 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							de016e8456 
							
						 
					 
					
						
						
							
							Remove trait_alias, allow(incomplete_features).  
						
						... 
						
						
						
						trait_alias seems unused. no idea why it's there. 
						
						
					 
					
						2021-09-03 17:00:58 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							2c992f7010 
							
						 
					 
					
						
						
							
							stm32: move dbgmcu stuff to toplevel config setting, defaulting to true.  
						
						
						
						
					 
					
						2021-08-19 23:50:19 +02:00 
						 
				 
			
				
					
						
							
							
								Ben Gamari 
							
						 
					 
					
						
						
						
						
							
						
						
							f4950c4449 
							
						 
					 
					
						
						
							
							examples: Consistently use unwrap! in favor of .unwrap()  
						
						... 
						
						
						
						Unfortunately errors from `embedded_graphics` and `core` doesn't provide
the necessary instances currently. 
						
						
					 
					
						2021-08-05 22:39:59 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							0ea6a2d890 
							
						 
					 
					
						
						
							
							time: replace dyn clock/alarm with a global Driver trait  
						
						
						
						
					 
					
						2021-08-05 19:14:09 +02:00