aboutsummaryrefslogtreecommitdiff
path: root/embassy-imxrt
Commit message (Collapse)AuthorAgeFilesLines
* [iMXRT] dma: fix transfer count computationFelipe Balbi2025-12-161-3/+3
| | | | | | | | | | | | | | | count should be defined as the integer div_round_up of buffer length and word size, otherwise transferring small buffers will cause a panic due to underflow: if we let from = [0u32; 1]; then calling dma::write() will result in: let count = ((1 / 4 as usize) - 1) = 0 - 1 // underflow Rounding up results in 1 - 1 as expected.
* [iMXRT] dma: define MAX_CHUNK_SIZE constantFelipe Balbi2025-12-162-2/+4
| | | | | | Instead of adding magic constants all over the place, let's just define DMA MAX_CHUNK_SIZE in a single constant that be referenced by the various users.
* Merge pull request #5045 from felipebalbi/imxrt/dmaxoviat2025-12-121-2/+2
|\ | | | | | | [iMXRT] add a minimal DMA copy example
| * [iMXRT] add a minimal DMA copy exampleFelipe Balbi2025-12-111-2/+2
| | | | | | | | While at that, also update the PACs to their latest versions.
* | [iMXRT] Add spi driverFelipe Balbi2025-12-112-0/+1012
|/
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-0610-21/+27
|
* Edition 2024.Dario Nieuwenhuis2025-10-062-2/+3
|
* Update manifests to satisfy new checks.Dario Nieuwenhuis2025-09-221-1/+1
|
* fix: update more minor versionsUlf Lilleengen2025-08-271-1/+1
|
* chore: prepare embassy crate releasesUlf Lilleengen2025-08-261-6/+6
|
* fix: skip another publishUlf Lilleengen2025-08-251-0/+1
|
* fix: add more missing changelogsUlf Lilleengen2025-08-251-0/+11
|
* Read crate configs from metadata.Dario Nieuwenhuis2025-08-251-0/+6
|
* fix: prepare embassy-sync 0.7.1 releaseUlf Lilleengen2025-08-121-1/+1
| | | | * Add newtype for moved type to preserve API compat
* Release embassy-embedded-hal v0.4Dario Nieuwenhuis2025-08-031-1/+1
|
* fix: do full minor version bump for time queue utilsUlf Lilleengen2025-08-011-1/+1
|
* Use `unsafe` block in IRQ handlersclubby7892025-07-201-3/+5
|
* chore: Release embassy-embedded-hal version 0.3.1Ulf Lilleengen2025-07-161-1/+1
|
* chore: update to `embassy-hal-internal` v0.3.0Ulf Lilleengen2025-07-141-1/+1
|
* embassy-sync: bump to 0.7.0Matt Johnston2025-05-221-1/+1
|
* timer: ostimer: wait for match write readyFelipe Balbi2025-05-211-1/+6
| | | | | Before writing to MATCH_L/MATCH_H registers, wait for permission to do so by pollinmg MATCH_WR_RDY bit in CTRL register.
* Update defmt dependenciesYuri Astrakhan2025-05-181-1/+1
|
* Add rand-core v0.9 support.Dario Nieuwenhuis2025-05-182-10/+42
| | | | Co-Authored-By: Aurélien Jacobs <[email protected]>
* Merge pull request #4206 from ↵Dario Nieuwenhuis2025-05-151-4/+8
|\ | | | | | | | | | | rursprung/add-possibility-to-document-bind_interrupts-structs add the possibility to document `bind_interrupts` `struct`s
| * add the possibility to document `bind_interrupts` `struct`sRalph Ursprung2025-05-151-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | the `bind_interrupts` macro creates a `struct` for the interrupts. it was so far not possible to document those (except for STM32) and there was no generic documentation being generated/added either, thus the `missing_docs` lint was triggered for consumers which enabled it. with this change it is now possible to manually add a comment on the `struct` being defined in the macro invocation. to show that this works one RP example has been modified accordingly.
* | Add UART and DMA driversFelipe Balbi2025-05-155-21/+1925
|/ | | | | Both blocking and async versions are supported. Add separate examples for each mode.
* Merge branch 'main' into add-rngDario Nieuwenhuis2025-05-132-0/+191
|\
| * Add embassy-imxrt CRC driverFelipe Balbi2025-05-092-0/+191
| |
* | Add embassy-imxrt RNG driverFelipe Balbi2025-05-092-0/+258
|/
* Add OS Event timer supportFelipe Balbi2025-05-073-27/+182
| | | | | | Allow for the use of the OS Event timer as a time source. Signed-off-by: Felipe Balbi <[email protected]>
* clocks: remove defmt messagesFelipe Balbi2025-05-071-41/+1
| | | | | | | | | | | | | | Whenever any of the defmt-timestamp-uptime* features is enabled, defmt will insert code that reads the timestamp in order to embed it into the format string. This means that we *must* have a functional time driver by the time the very first defmt message is printed. Because clocks.rs is the part of the code setting up clocks that may, indeed, be required by the chosen clock driver, it cannot contain any defmt messages, otherwise it will trigger a read to a function that does not yet exist. Signed-off-by: Felipe Balbi <[email protected]>
* clocks: split clock and reset operationsFelipe Balbi2025-05-071-8/+22
| | | | | | Some peripherals need to control clock without touching the reset. Signed-off-by: Felipe Balbi <[email protected]>
* Rename rtc.rs to time_driver.rsFelipe Balbi2025-05-072-2/+2
| | | | We will add another time driver for user selection.
* Add Embassy iMXRT RTC Time DriverFelipe Balbi2025-04-093-3/+285
|
* Add embassy-imxrtFelipe Balbi2025-04-099-0/+4771
Adds initial support for MIMXRT600 series MCUs from NXP. Subsequent PRs will add more drivers.