aboutsummaryrefslogtreecommitdiff
path: root/embassy-embedded-hal/src
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-065-7/+7
|
* more docs fixesRobin Mueller2025-09-231-1/+1
|
* Clippy fixesDion Dokter2025-09-185-19/+19
|
* Add clone impl on shared i2cDion Dokter2025-09-182-0/+36
|
* fix: remove static lifetime requirements from i2c shared bus.Preston Peranich2025-07-311-4/+4
|
* Impl multiwrite flash for yielding asyncDion Dokter2025-07-281-0/+5
|
* Impl multiwrite trait for concat flashDion Dokter2025-07-281-2/+20
|
* Impl multiwrite flash for partitionDion Dokter2025-07-282-2/+6
|
* feat(embedded-hal)!: rely on v1.0 traits for `I2c` on `BlockingAsync`ROMemories2025-07-241-7/+3
|
* feat(embedded-hal)!: rely on v1.0 traits for `SpiBus` on `BlockingAsync`ROMemories2025-07-241-11/+7
|
* Add proper error handling if CS is not droppedShaw Drastin2025-02-071-2/+14
|
* SpiDevice cancel safety: always set CS pin to high on dropShaw Drastin2025-02-041-4/+11
| | | | | If a transfer is dropped, the CS will stay in a low state, which seems to be unsafe.
* Remove useless std cargo features.Dario Nieuwenhuis2024-12-251-1/+1
|
* Hand-roll Clone impl instead of deriveMathias2024-07-182-2/+20
|
* Add Clone derive to flash Partition in embassy-embedded-halMathias2024-07-182-0/+2
|
* embassy-embedded-hal: add support for all word sizes to async shared spi.Dario Nieuwenhuis2024-05-201-6/+8
|
* embassy-embedded-hal: remove Word generic for blocking SpiDeviceWithConfig.Dario Nieuwenhuis2024-05-201-11/+4
|
* PR remarksRagarnoy2024-05-201-1/+1
|
* rustmftRagarnoy2024-05-201-8/+4
|
* Remove old embedded-hal trait implementationsragarnoy2024-05-201-94/+4
|
* Add Copy and 'static constraint to Word type in SPI structsRagarnoy2024-05-201-4/+9
|
* rustfmtRagarnoy2024-05-201-13/+23
|
* Improve flexibility by introducing SPI word size as a generic parameterRagarnoy2024-05-201-16/+63
|
* Allow changing Spi/I2cDeviceWithConfig's config at runtimeCaleb Jamison2024-03-234-0/+20
|
* Forward transaction() from blocking I2cDevice to underlying busSebastian Goll2024-03-201-6/+10
|
* feat: impl `MultiwriteNorFlash` for `BlockingAsync`Haobo Gu2024-03-151-2/+6
| | | | Signed-off-by: Haobo Gu <[email protected]>
* embassy-embedded-hal: add README.Dario Nieuwenhuis2024-01-111-2/+1
|
* Remove nightly autodetects.Dario Nieuwenhuis2024-01-101-2/+0
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-297-28/+14
|
* Update embedded-(hal,io,nal).Dario Nieuwenhuis2023-11-293-19/+27
|
* shared_bus/blocking/spi: fix build and behaviour when "time" disabledTorin Cooper-Bennun2023-11-271-2/+10
| | | | | new behaviour: check for DelayUs presence in operations instead of shortcircuiting
* embassy-embedded-hal: don't use feature(try_blocks).Dario Nieuwenhuis2023-11-242-17/+37
|
* Re-add impl_trait_projectionsDániel Buga2023-10-301-1/+2
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-151-6/+2
| | | | convenience methods
* Add some uncontroversial derives to Error typesJames Munns2023-10-061-1/+1
|
* Remove impl_trait_projections.Dario Nieuwenhuis2023-10-021-1/+1
|
* eh: update set_config and add get_configxoviat2023-10-016-10/+28
|
* 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
| |