aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-internal
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-1/+1
|
* Edition 2024.Dario Nieuwenhuis2025-10-063-2/+3
|
* STM32: USART: Change eager_reads from bool to Option<usize>Adam Greig2025-10-011-9/+13
|
* STM32: USART: Add `eager_reads` config optionAdam Greig2025-10-011-2/+37
|
* Update manifests to satisfy new checks.Dario Nieuwenhuis2025-09-221-0/+3
|
* add missing changelogsUlf Lilleengen2025-08-251-0/+13
|
* chore: Release embassy-hal-internal version 0.3.0Ulf Lilleengen2025-07-141-1/+1
|
* Update defmt dependenciesYuri Astrakhan2025-05-181-1/+1
|
* rp: add missing `Debug` and `defmt::Format` `derive`s for ADCRalph Ursprung2025-05-152-0/+4
| | | | | this doesn't cover every `struct` & co. in `embassy-rp`, but at least it adds those needed for `Adc` and `adc::Channel`.
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-273-141/+50
|
* Prepare release of embassy-hal-internalUlf Lilleengen2024-08-051-1/+1
|
* Update to Rust 1.80, make check-cfg unconditional.Dario Nieuwenhuis2024-07-251-20/+1
|
* Reduced define for 'unreachable!' to a single macro ruleTarun Singh2024-07-171-10/+6
|
* Add collapse_debuginfo to fmt.rs macros.Dario Nieuwenhuis2024-06-171-0/+17
| | | | | | This makes location info in defmt logs point to the code calling the macro, instead of always to fmt.rs as before. Fix works with nightlies starting with today's, and stable 1.81+.
* Update stable to Rust 1.79.Dario Nieuwenhuis2024-06-131-0/+4
|
* Copy build_common.rs into each crate, to make cargo publish happyJan Špaček2024-05-312-1/+110
|
* Emit cargo:rustc-check-cfg instructions from build.rsJan Špaček2024-05-301-26/+4
|
* fix(embassy-rp): fix drop implementation of BufferedUartRx and BufferedUartTxtact1m4n32024-05-171-0/+5
|
* hal-internal: fix failing test due to not initializing ringbuf.Dario Nieuwenhuis2024-05-121-0/+4
|
* Fix PeripheralRef soundness issue allowing &T.Dario Nieuwenhuis2024-05-071-3/+12
| | | | | | Fix soundness issue introduced in a previous soundness fix https://github.com/embassy-rs/embassy/pull/2602 . PeripheralRef must not implement DerefMut itself, but the blanket impl must still require DerefMut. Otherwise you can create two instances of a driver on the same uart by using `&my_uart`.
* use private_bounds for sealed traits.Dario Nieuwenhuis2024-03-231-5/+3
|
* fmt: disable "unused" warnings.Dario Nieuwenhuis2024-03-201-2/+1
|
* nrf/buffered_uart: refactor so rx/tx halves are independent.Dario Nieuwenhuis2024-02-211-3/+30
|
* hal-internal: remove impl DerefMut for PeripheralRef.Dario Nieuwenhuis2024-02-201-9/+2
| | | | | | | | | if you have `PeripheralRef<'a, AnyPIn>` for pin A, and `AnyPin` (owned) for pin B, you can `mem::swap` them. so, getting access forever to pin A, just by "sacrificing" pin B this defeats the point of PeripheralRef, which is if you got a `PeripheralRef<'a, T>` then you're only allowed to use the peripheral for `'a`. Also some drivers rely on the fact only one instance of a singleton exists for soundness, so this is a soundness fix for those.
* Fix invalid "async" crates.io category.Dario Nieuwenhuis2024-01-121-1/+9
|
* Centralize license and MSRV boilerplate into the repo readme.Dario Nieuwenhuis2024-01-111-10/+0
|
* docs: document all public apis of embedded-hal-internalUlf Lilleengen2023-12-086-2/+27
| | | | | * Make some fields and functions non-public where possible. * Enable doc warnings for missing public API docs.
* fix: correct name in readmeUlf Lilleengen2023-10-121-1/+1
|
* fix: remove unused ringbuffer codeUlf Lilleengen2023-10-122-137/+0
|
* stm32: avoid creating many tiny critical sections in init.Dario Nieuwenhuis2023-10-122-5/+37
| | | | Saves 292 bytes on stm32f0 bilnky with max optimizations (from 3132 to 2840).
* Sync all fmt.rs files.Dario Nieuwenhuis2023-08-301-6/+39
|
* embassy-stm32: Misc clippy fixesGrant Miller2023-08-061-0/+1
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-2812-0/+2331
internal use only. (#1700)