Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							c8c8b89104 
							
						 
					 
					
						
						
							
							stm32: doc everything else.  
						
						
						
						
					 
					
						2023-12-19 18:03:20 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							49534cd405 
							
						 
					 
					
						
						
							
							stm32: more docs.  
						
						
						
						
					 
					
						2023-12-19 00:10:36 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							124478c5e9 
							
						 
					 
					
						
						
							
							stm32: more docs.  
						
						
						
						
					 
					
						2023-12-18 19:11:23 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							aff77d2b65 
							
						 
					 
					
						
						
							
							stm32/rng: add test.  
						
						
						
						
					 
					
						2023-10-16 05:35:29 +02:00 
						 
				 
			
				
					
						
							
							
								pbert 
							
						 
					 
					
						
						
						
						
							
						
						
							ecdd7c0e2f 
							
						 
					 
					
						
						
							
							enable clock first  
						
						
						
						
					 
					
						2023-10-12 11:04:44 +02:00 
						 
				 
			
				
					
						
							
							
								pbert 
							
						 
					 
					
						
						
						
						
							
						
						
							f65a96c541 
							
						 
					 
					
						
						
							
							STM32: combine RccPeripherals reset() and enable() to reset_and_enable()  
						
						
						
						
					 
					
						2023-10-12 11:04:19 +02:00 
						 
				 
			
				
					
						
							
							
								James Munns 
							
						 
					 
					
						
						
						
						
							
						
						
							930b8f3495 
							
						 
					 
					
						
						
							
							Add some uncontroversial derives to Error types  
						
						
						
						
					 
					
						2023-10-06 17:45:35 +02:00 
						 
				 
			
				
					
						
							
							
								Loïc Damien 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf6e06060b 
							
						 
					 
					
						
						
							
							stm32: avoid useless endian conversion in rng  
						
						
						
						
					 
					
						2023-10-02 17:20:58 +02:00 
						 
				 
			
				
					
						
							
							
								Olle Sandberg 
							
						 
					 
					
						
						
						
						
							
						
						
							fd739250ea 
							
						 
					 
					
						
						
							
							stm32: fix wait for RNG data  
						
						... 
						
						
						
						If no data was available to read then the loop would wait for an interrupt and skip to the next chunk without writing the current one.
This could cause the given slice to only be partially filled with random data.
Fixed by moving the wait to before actually writing data to the chunk. 
						
						
					 
					
						2023-08-28 11:44:05 +02:00 
						 
				 
			
				
					
						
							
							
								Lucas Granberg 
							
						 
					 
					
						
						
						
						
							
						
						
							bc156afbb2 
							
						 
					 
					
						
						
							
							fix rng ced toggling sequence on reset.  
						
						
						
						
					 
					
						2023-08-10 16:16:45 +03:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							4999b045df 
							
						 
					 
					
						
						
							
							stm32/rng: use bind_interrupts!.  
						
						
						
						
					 
					
						2023-07-31 01:41:12 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Christoph Bernack 
							
						 
					 
					
						
						
						
						
							
						
						
							d6c5c1772c 
							
						 
					 
					
						
						
							
							improve RNG polling  
						
						
						
						
					 
					
						2023-07-30 22:19:34 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Christoph Bernack 
							
						 
					 
					
						
						
						
						
							
						
						
							b65406791a 
							
						 
					 
					
						
						
							
							add RNG conditioning  
						
						
						
						
					 
					
						2023-07-30 22:16:42 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							036e6ae30c 
							
						 
					 
					
						
						
							
							Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. ( #1700 )  
						
						
						
						
					 
					
						2023-07-28 13:23:22 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							558918651e 
							
						 
					 
					
						
						
							
							stm32: update stm32-metapac.  
						
						
						
						
					 
					
						2023-06-19 03:22:12 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							8c93805ab5 
							
						 
					 
					
						
						
							
							Add rt feature to HALs, cfg out interrupt handling when not set.  
						
						
						
						
					 
					
						2023-06-08 18:57:03 +02:00 
						 
				 
			
				
					
						
							
							
								Lucas Granberg 
							
						 
					 
					
						
						
						
						
							
						
						
							2b6654541d 
							
						 
					 
					
						
						
							
							rustfmt  
						
						
						
						
					 
					
						2023-02-09 13:01:44 +02:00 
						 
				 
			
				
					
						
							
							
								Lucas Granberg 
							
						 
					 
					
						
						
						
						
							
						
						
							43d018b67f 
							
						 
					 
					
						
						
							
							Use rng_v2 cfg instead of chip specific for seed error recover hack  
						
						
						
						
					 
					
						2023-02-09 12:44:20 +02:00 
						 
				 
			
				
					
						
							
							
								Lucas Granberg 
							
						 
					 
					
						
						
						
						
							
						
						
							bab4277a86 
							
						 
					 
					
						
						
							
							hack for STM32WL, rcc reset in case of seed error  
						
						... 
						
						
						
						The STM32WL series has a more complicated rng device that gets stuck
when there is a seed error. 
						
						
					 
					
						2023-02-08 17:57:37 +02:00 
						 
				 
			
				
					
						
							
							
								Lucas Granberg 
							
						 
					 
					
						
						
						
						
							
						
						
							da6b1e8399 
							
						 
					 
					
						
						
							
							Reset rng in case of clock or seed error  
						
						
						
						
					 
					
						2023-02-08 17:52:49 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a0487380da 
							
						 
					 
					
						
						
							
							Replace futures::future::poll_fn -> core::future::poll_fn.  
						
						
						
						
					 
					
						2022-09-22 16:42:49 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							21072bee48 
							
						 
					 
					
						
						
							
							split embassy-util into embassy-futures, embassy-sync.  
						
						
						
						
					 
					
						2022-08-22 22:18:13 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a0f1b0ee01 
							
						 
					 
					
						
						
							
							Split embassy crate into embassy-executor, embassy-util.  
						
						
						
						
					 
					
						2022-07-29 23:40:36 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							4901c34d9c 
							
						 
					 
					
						
						
							
							Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral  
						
						
						
						
					 
					
						2022-07-23 14:00:19 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							8a9d2f59af 
							
						 
					 
					
						
						
							
							Update embassy-stm32  
						
						
						
						
					 
					
						2022-07-23 02:40:13 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a8703b7598 
							
						 
					 
					
						
						
							
							Run rustfmt.  
						
						
						
						
					 
					
						2022-06-12 22:22:31 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							5085100df2 
							
						 
					 
					
						
						
							
							Add embassy-cortex-m crate.  
						
						... 
						
						
						
						- Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`.
- Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore)
- Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`. 
						
						
					 
					
						2022-06-12 21:45:38 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							dd828a7a92 
							
						 
					 
					
						
						
							
							stm32: move macrotables to embassy-stm32 build.rs  
						
						
						
						
					 
					
						2022-02-26 03:23:09 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							a8bd3ab952 
							
						 
					 
					
						
						
							
							Add missing + 'd on unborrows.  
						
						
						
						
					 
					
						2022-02-10 16:06:42 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							2bbd1ddb8a 
							
						 
					 
					
						
						
							
							Remove unneeded rustfmt::skip  
						
						
						
						
					 
					
						2021-12-16 11:37:53 +01:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							ead987245d 
							
						 
					 
					
						
						
							
							embassy: Refactor module structure to remove kitchen-sink util.  
						
						
						
						
					 
					
						2021-09-11 02:35:35 +02:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							37ceae908b 
							
						 
					 
					
						
						
							
							Rename Random impl to Rng.  
						
						... 
						
						
						
						Create Random struct providing next_x(range) for all T:Rng. 
						
						
					 
					
						2021-09-01 09:39:33 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							7fa3b27cac 
							
						 
					 
					
						
						
							
							Move random utils to another trait.  
						
						
						
						
					 
					
						2021-08-30 09:55:29 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							d525f51940 
							
						 
					 
					
						
						
							
							Add a convenience next(range) to Rng.  
						
						
						
						
					 
					
						2021-08-27 16:10:01 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							dc394dd477 
							
						 
					 
					
						
						
							
							Fixes   #374 : Ensure Rng's error is defmt-able.  
						
						
						
						
					 
					
						2021-08-26 14:04:12 -04:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							9bd34429f3 
							
						 
					 
					
						
						
							
							stm32: add missing + 'a bounds on trait GATs  
						
						
						
						
					 
					
						2021-08-04 19:39:54 +02:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							7bfb763e09 
							
						 
					 
					
						
						
							
							Rename embassy-extras to embassy-hal-common  
						
						
						
						
					 
					
						2021-07-29 13:44:51 +02:00 
						 
				 
			
				
					
						
							
							
								Ulf Lilleengen 
							
						 
					 
					
						
						
						
						
							
						
						
							f3d1ac6623 
							
						 
					 
					
						
						
							
							Enable clock for RNG  
						
						
						
						
					 
					
						2021-06-09 13:54:53 +02:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							240616aa72 
							
						 
					 
					
						
						
							
							General clean-up and removal of dead code.  
						
						
						
						
					 
					
						2021-06-03 14:25:17 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							6958091b50 
							
						 
					 
					
						
						
							
							Move DAC, I2C, SPI and RNG to macro-tables.  
						
						
						
						
					 
					
						2021-06-03 13:12:38 -04:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							d8e4421fc6 
							
						 
					 
					
						
						
							
							Add stm32-metapac crate, with codegen in rust  
						
						
						
						
					 
					
						2021-05-31 02:40:58 +02:00 
						 
				 
			
				
					
						
							
							
								Lucas Kent 
							
						 
					 
					
						
						
						
						
							
						
						
							82f9242df2 
							
						 
					 
					
						
						
							
							Fix warnings for embassy-stm32 and embassy-stm32-examples  
						
						
						
						
					 
					
						2021-05-20 22:25:12 +10:00 
						 
				 
			
				
					
						
							
							
								Thales Fragoso 
							
						 
					 
					
						
						
						
						
							
						
						
							a5d473be0e 
							
						 
					 
					
						
						
							
							Fix RNG interrupt name  
						
						
						
						
					 
					
						2021-05-14 23:47:56 -03:00 
						 
				 
			
				
					
						
							
							
								Thales Fragoso 
							
						 
					 
					
						
						
						
						
							
						
						
							a130499c9a 
							
						 
					 
					
						
						
							
							Get rid of some warnings  
						
						
						
						
					 
					
						2021-05-14 23:42:12 -03:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							2569d38ab4 
							
						 
					 
					
						
						
							
							Adjust pin-names to FooPin.  
						
						... 
						
						
						
						Move common bits up to spi/mod.rs.
Isolate the RNG interrupt in a sub-module to avoid conflict with the const. 
						
						
					 
					
						2021-05-14 10:11:43 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							9e93a0999f 
							
						 
					 
					
						
						
							
							Add SPIv1, use cfg_attr to pick correct impl.  
						
						... 
						
						
						
						Add IRQ to impl_rng!() to accomodate RNG vs HASH_RNG split. 
						
						
					 
					
						2021-05-13 14:28:53 -04:00 
						 
				 
			
				
					
						
							
							
								Dario Nieuwenhuis 
							
						 
					 
					
						
						
						
						
							
						
						
							9492b8555c 
							
						 
					 
					
						
						
							
							rustfmt rng  
						
						
						
						
					 
					
						2021-05-10 01:19:07 +02:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							75fe03a7e6 
							
						 
					 
					
						
						
							
							Further clean-up and adjustments. Follow RM for FIPS.  
						
						
						
						
					 
					
						2021-05-06 16:38:53 -04:00 
						 
				 
			
				
					
						
							
							
								Bob McWhirter 
							
						 
					 
					
						
						
						
						
							
						
						
							e8898b48f9 
							
						 
					 
					
						
						
							
							Clean up the impl_rng!() argument.  
						
						... 
						
						
						
						use poll_fn instead of impl'ing a Future directly.
Return errors when error conditions exist. 
						
						
					 
					
						2021-05-06 14:58:41 -04:00