aboutsummaryrefslogtreecommitdiff
path: root/embassy-embedded-hal/src
Commit message (Collapse)AuthorAgeFilesLines
* Update embedded-hal to 1.0.0-rc.1 (#1783)Dario Nieuwenhuis2023-08-161-10/+1
|
* update embedded-hal crates.Dario Nieuwenhuis2023-07-045-276/+56
|
* Add offset and size accessors to PartitionRasmus Melchior Jacobsen2023-05-302-0/+20
|
* Fix tests.Dario Nieuwenhuis2023-05-292-6/+4
|
* Use RefCell in blocking mutexRasmus Melchior Jacobsen2023-05-271-13/+27
|
* Add BlockingPartitionRasmus Melchior Jacobsen2023-05-274-23/+159
|
* Remove runtime offset and size assertionsRasmus Melchior Jacobsen2023-05-263-20/+18
|
* Create flash partition for shared flash accessRasmus Melchior Jacobsen2023-05-265-127/+307
|
*-. Merge #1475 #1478 #1482bors[bot]2023-05-255-2/+527
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1475: Add YieldingAsync adapter r=Dirbaio a=rmja This PR calls `yield_now()` for long blocking `NorFlash` read and erase operations. The motivation for this change is to allow for other tasks on the same executor to get something done between these long running operations, for example a task that feeds a watchdog. This will allow the watchdog to have a timer relative to e.g. one sector erase, instead of all sector erase. 1478: stm32: Minor fixes in flash regions for F4 dual bank layout r=Dirbaio a=rmja This PR has the following fixes: * Ensure that `FlashRegion` instances can only be created within the embassy-stm32 crate. * Remove `Drop` trait for `AltFlashLayout`, as it is hard to use, as one cannot take the individual regions out from the struct. Instead of going back to single bank mode on `Drop`, we instead transition to single bank mode when calling `Flash::into_regions()`. * Add missing `otp_region` to the dual bank layout and implement `NorFlash` for the alternate regions. 1482: Add ConcatFlash utility r=Dirbaio a=rmja This PR adds a `ConcatFlash` utility that can be used to concatenate two `NorFlash` flashes. This is especially useful when concatenating multiple flash regions with unequal erase size. Co-authored-by: Rasmus Melchior Jacobsen <[email protected]>
| | * Add ConcatFlash utilityRasmus Melchior Jacobsen2023-05-242-0/+288
| |/ |/|
| * Move module documentationRasmus Melchior Jacobsen2023-05-222-2/+2
| |
| * Add YieldingAsync adapterRasmus Melchior Jacobsen2023-05-223-77/+239
| |
| * Yield between BlockingAsync NorFlash write and erase operationsRasmus Melchior Jacobsen2023-05-221-2/+77
| |
* | Remove debugCaleb Jamison2023-05-221-2/+0
| |
* | Add i2c transactionCaleb Jamison2023-05-221-6/+13
|/
* Update Rust nightly.Dario Nieuwenhuis2023-05-191-1/+0
|
* Remove unused `feature(type_alias_impl_trait)`.Dario Nieuwenhuis2023-05-141-4/+1
|
* Remove the _todo_embedded_hal_serial impls. EH will probably not have these ↵Dario Nieuwenhuis2023-04-151-42/+0
| | | | serial traits.
* Update embedded-hal crates.Dario Nieuwenhuis2023-04-066-142/+305
|
* Bump embedded-storage-async to 0.4Mehmet Ali Anil2023-03-061-12/+7
|
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-254-160/+102
|
* Update embedded-hal versions and explicitly pinUlf Lilleengen2022-09-293-9/+8
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+1
| | | | Removes feature(generic_associated_types)
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-224-14/+14
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-224-8/+8
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-294-14/+14
|
* Add defmt support to embassy-embedded-hal errorsMatous Hybl2022-07-241-0/+2
|
* embassy-embedded-hal: docsDario Nieuwenhuis2022-07-197-2/+59
|
* Rename XXBusDevice to XXDevice.Dario Nieuwenhuis2022-07-185-106/+106
|
* Features only on nightlyHenrik Alsér2022-07-101-2/+1
|
* CleanupHenrik Alsér2022-07-103-26/+28
|
* Add asynch mod to shared_busHenrik Alsér2022-07-107-44/+44
|
* Add embassy-embedded-hal nightly featureHenrik Alsér2022-07-092-0/+6
|
* Associated typeHenrik Alsér2022-07-095-111/+117
|
* Merge upstreamHenrik Alsér2022-07-082-6/+6
|
* Merge upstreamHenrik Alsér2022-07-082-0/+118
|\
| * Add EH 0.2 impls + example docsHenrik Alsér2022-07-062-0/+119
| |
* | Shared buses with SetConfigHenrik Alsér2022-07-085-0/+277
|/
* spi shared bus: assert/deassert CS inside the lock.Dario Nieuwenhuis2022-07-061-11/+10
|
* Mutex for SPIHenrik Alsér2022-07-061-29/+18
|
* MutexHenrik Alsér2022-07-062-44/+59
|
* Add blocking shared bus for i2c and SPIHenrik Alsér2022-07-064-2/+145
|
* Run rustfmt.Dario Nieuwenhuis2022-06-123-23/+13
|
* Async shared bus for SPI & I2C + rename embassy-traits (#769)Henrik Alsér2022-05-265-0/+488
* 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 <[email protected]>