Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6852e05c59 
							
						 
					 
					
						
						
							
							Merge pull request  #822  from embassy-rs/remove-authors  
						
						... 
						
						
						
						Remove the authors field from Cargo.tomls 
						
						
					 
					
						2022-06-18 17:33:29 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3fd4ee34ec 
							
						 
					 
					
						
						
							
							Merge pull request  #821  from embassy-rs/defmt-trace  
						
						... 
						
						
						
						Add env DEFMT_LOG=trace to all examples. 
						
						
					 
					
						2022-06-18 02:24:25 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							1f746e0939 
							
						 
					 
					
						
						
							
							Remove the authors field from Cargo.tomls  
						
						... 
						
						
						
						It currently contains whoever was first to write some code for the crate,
even if many more people have contributed to it later.
The field is "sort of" deprecated, it was made optional recently:
https://rust-lang.github.io/rfcs/3052-optional-authors-field.html 
Due the the reasons listed there I believe removing it is better than
setting it to generic fluff like "The Embassy contributors". 
						
						
					 
					
						2022-06-18 02:16:40 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							88e36a70bd 
							
						 
					 
					
						
						
							
							Update to 2021 edition. ( #820 )  
						
						
						
						
					 
					
						2022-06-18 02:15:48 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							dd99356062 
							
						 
					 
					
						
						
							
							Add env DEFMT_LOG=trace to all examples.  
						
						
						
						
					 
					
						2022-06-18 01:59:12 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a8703b7598 
							
						 
					 
					
						
						
							
							Run rustfmt.  
						
						
						
						
					 
					
						2022-06-12 22:22:31 +02:00 
						 
				 
			
				
					
						
							
							
								Will Glynn 
							
						 
					 
					
						
						
						
						
							
						
						
							962fabe5c9 
							
						 
					 
					
						
						
							
							examples/stm32*, tests/stm32: specify time-tick-32768hz  
						
						
						
						
					 
					
						2022-05-31 16:14:23 -05:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							6320e30adf 
							
						 
					 
					
						
						
							
							Update embedded-hal-async to 0.1.0-alpha.1  
						
						
						
						
					 
					
						2022-05-29 22:34:08 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							340eb4eead 
							
						 
					 
					
						
						
							
							stm32: add rust stable support  
						
						
						
						
					 
					
						2022-02-12 02:45:52 +01: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 
							
						 
					 
					
						
						
						
						
							
						
						
							79f60adbfb 
							
						 
					 
					
						
						
							
							stm32: add time-driver-any cargo feature that automatically picks one available timer.  
						
						
						
						
					 
					
						2022-01-24 00:24:53 +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 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							2bc105803a 
							
						 
					 
					
						
						
							
							Make exti an optional feature  
						
						... 
						
						
						
						* Add embassy-stm32 build with exti
* Add exti to examples 
						
						
					 
					
						2022-01-12 14:28:10 +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 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							3332c40705 
							
						 
					 
					
						
						
							
							examples: remove unused deps.  
						
						
						
						
					 
					
						2021-11-29 02:07:48 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							9b17b3d721 
							
						 
					 
					
						
						
							
							Remove unused deps  
						
						
						
						
					 
					
						2021-11-15 20:13:22 +01:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							c2da498263 
							
						 
					 
					
						
						
							
							Update to defmt 3.0ish.  
						
						... 
						
						
						
						Lots of gitrevs deps. 
						
						
					 
					
						2021-11-15 11:09:08 -05:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							2221e1fa93 
							
						 
					 
					
						
						
							
							Replace rustflags with build.rs extra-link-args.  
						
						... 
						
						
						
						Rustflags apply to ALL the crates in the graph, while we only need
them for the toplevel crate which is the only one getting linked.
Rustflags are not equal for all crates, this caused cargo to re-build the
same dependency crate multiple times uselessly. After this change, deps
are reused more, making builds faster.
Note that this only applies when sharing the target/ dir for multiple crates
in the repo which is not the default. 
						
						
					 
					
						2021-11-07 23:52:11 +01:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							f12b70535b 
							
						 
					 
					
						
						
							
							Adjust for STM32U5.  
						
						
						
						
					 
					
						2021-11-02 12:05:24 -04: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 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							c79485c286 
							
						 
					 
					
						
						
							
							Support for STM32L1  
						
						... 
						
						
						
						* Add RCC
* Fix more issues with dash in chip names
* Update stm32-data version
* Add blinky and spi example 
						
						
					 
					
						2021-09-21 14:50:23 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							f2623e7e9b 
							
						 
					 
					
						
						
							
							Update lots of deps  
						
						
						
						
					 
					
						2021-09-11 01:35:23 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							b1d631d639 
							
						 
					 
					
						
						
							
							stm32/time: add Cargo features to choose tim2/tim3  
						
						
						
						
					 
					
						2021-08-05 19:14:09 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							0ea6a2d890 
							
						 
					 
					
						
						
							
							time: replace dyn clock/alarm with a global Driver trait  
						
						
						
						
					 
					
						2021-08-05 19:14:09 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							07d4b196f7 
							
						 
					 
					
						
						
							
							Update nightly, remove removed features.  
						
						
						
						
					 
					
						2021-08-04 19:48:14 +02:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							0d02342b2d 
							
						 
					 
					
						
						
							
							Rename bread -> read_blocking  
						
						
						
						
					 
					
						2021-08-04 08:34:30 +02:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							6ff0614cb6 
							
						 
					 
					
						
						
							
							Add uart::Read DMA-based implementation  
						
						... 
						
						
						
						* Rename existing read() to bread() (blocking) 
						
						
					 
					
						2021-08-03 15:31:24 +02:00 
						 
				 
			
				
					
						
							
							
								Ben Gamari 
							
						 
					 
					
						
						
						
						
							
						
						
							3420cbf744 
							
						 
					 
					
						
						
							
							examples: Drop build-std = ["core"]  
						
						... 
						
						
						
						Previously the cargo configurations of all of the example projects had
`build-std = ["core"]`, which forces compilation of `core` as a
code-size optimisation. However, this is strictly unnecessary and will
currently break for users who do not use `rustup` directly (e.g. nix
users). 
						
						
					 
					
						2021-07-31 13:01:15 -04:00 
						 
				 
			
				
					
						
							
							
								Timo Kröger 
							
						 
					 
					
						
						
						
						
							
						
						
							895781d0d1 
							
						 
					 
					
						
						
							
							stm32l4: Fix examples crate name  
						
						
						
						
					 
					
						2021-07-29 18:14:01 +02:00