aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cyw43: update link status on LINK eventcyw43-link-status-updatediogo4642025-12-072-1/+16
| | | | | | | | currently the cyw43 driver only sets the link state in src/control.rs:397 when a join is successful and stays up after that regardless of the actual state of the connection. this commit changes that so that the link state is updated based on LINK events the same way that it is done in https://github.com/georgerobotics/cyw43-driver/blob/dd7568229f3bf7a37737b9e1ef250c26efe75b23/src/cyw43_ctrl.c#L402
* Merge pull request #5000 from liebman/small-cleanup-for-low-power-stm32wlexxoviat2025-12-071-10/+5
|\ | | | | | | low-power: add defmt flush before WFE and cleanup RCC re-initialization on wakeup for stm32wlex
| * low-power: add defmt flush before WFE and cleanup RCC re-initialization on ↵liebman2025-12-071-10/+5
|/ | | | wakeup for stm32wlex
* Merge pull request #4999 from xoviat/low-powerxoviat2025-12-062-23/+27
|\ | | | | | | low-power: rework stoppableperipheral traits
| * low-power: rework stoppableperipheral traitsxoviat2025-12-062-23/+27
| |
* | Merge pull request #4998 from xoviat/low-powerxoviat2025-12-066-26/+36
|\| | | | | | | low-power: improve debug logic
| * low-power: improve debug logicxoviat2025-12-066-26/+36
|/
* Merge pull request #4997 from xoviat/adcxoviat2025-12-0610-443/+445
|\ | | | | | | adc: type-erase regs instance
| * adc/g4: optimizexoviat2025-12-061-11/+10
| |
| * adc: type-erase regs instancexoviat2025-12-0610-439/+442
|/
* Merge pull request #4994 from xoviat/wpan4xoviat2025-12-0614-7/+1919
|\ | | | | | | wpan: add libraries for wba
| * wpan: add libraries for wbaxoviat2025-12-0614-7/+1919
|/
* Merge pull request #4996 from chemicstry/adc_v2_resxoviat2025-12-061-1/+1
|\ | | | | | | Make adc v2 resolution public
| * Make adc v2 resolution publicchemicstry2025-12-061-1/+1
|/
* Merge pull request #4993 from ipuustin/fix-ticker-docUlf Lilleengen2025-12-061-1/+1
|\ | | | | | | Fix API documentation for Ticker reset_at() function
| * Fix API documentation for Ticker reset_at() functionIsmo Puustinen2025-12-051-1/+1
|/ | | | | | | The documentation indicated reset_at() would fire immediately if the deadline is in the past. However, if the duration is further in the future than the deadline is in the past, the ticker won't fire immediately but just before the next scheduled tick.
* Merge pull request #4981 from Dectron-AB/restart-dma-transferxoviat2025-12-052-0/+6
|\ | | | | | | GPDMA suspend channel before reset if already enabled
| * Add changelogAlbin Hedman2025-12-031-0/+1
| |
| * GPDMA suspend channel before reset if already enabledAlbin Hedman2025-12-031-0/+5
| |
* | Merge pull request #4989 from jamesmunns/james/upstream-mcxaJames Munns2025-12-0539-0/+9469
|\ \ | | | | | | | | | Upstream `embassy-mcxa`
| * | Add docs pageJames Munns2025-12-051-0/+18
| | |
| * | Remove more ODP filesJames Munns2025-12-0410-440/+0
| | |
| * | Remove some misc bitsJames Munns2025-12-0412-4114/+1
| | |
| * | Remove standalone CI stepsJames Munns2025-12-048-564/+0
| | |
| * | Tweak how target setting is handledJames Munns2025-12-043-2/+11
| | |
| * | rustfmtJames Munns2025-12-0413-25/+21
| | |
| * | Add documentationJames Munns2025-12-041-0/+1
| | |
| * | publish false on mcxa examplesJames Munns2025-12-041-1/+1
| | |
| * | Add repository fieldsJames Munns2025-12-042-0/+2
| | |
| * | Bump mcxa-pac to lower MSRV to 1.90James Munns2025-12-042-2/+2
| | |
| * | Import embassy-mcxa repoJames Munns2025-12-0467-0/+14560
| |\ \ | | | | | | | | | | | | Merge remote-tracking branch 'james-e-mcxa/james/upstream' into james/upstream-mcxa
| | * | Move examples to top level example folderJames Munns2025-12-0420-1/+1
| | | |
| | * | Move to subfolderJames Munns2025-12-0467-0/+0
| | | |
| | * | Rtc support v2 (#91)MathisDerooNXP2025-12-043-56/+182
| | | | | | | | | | | | | | | | Signed-off-by: Mathis Deroo <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
| | * | i2c: controller: ensure bus works after errors (#89)Felipe Balbi2025-12-041-39/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #84 --------- Signed-off-by: Felipe Balbi <[email protected]>
| | * | Miscellaneous updates before public release (#87)Jerry Xie2025-12-033-25/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pull request introduces several updates focused on project ownership, licensing, and contribution guidelines. The main changes clarify code ownership, update the project's copyright, and reorganize the contributing documentation for better clarity. **Project Ownership and Licensing:** * Added a new `CODEOWNERS` file specifying maintainers and requiring auditor approval for changes in the `supply-chain` folder, which relates to cargo vet. * Updated the copyright in the `LICENSE` file from "OEMWCSE" to "Open Device Partnership". **Documentation and Contribution Guidelines:** * Reorganized the `CONTRIBUTING.md` file by restructuring headings, clarifying commit message and PR etiquette sections, and removing redundant or outdated guidelines for branch naming, use of `unsafe`, and commit history. **Minor Cleanups:** * Removed an unnecessary trailing blank line from the end of the `LICENSE` file.
| | * | Misc minor cleanups (#85)James Munns2025-12-033-56/+74
| | | |
| | * | I2c Async (#50)Felipe Balbi2025-12-033-19/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * I2c Async Signed-off-by: Felipe Balbi <[email protected]> * Fix i2c read bug Signed-off-by: Felipe Balbi <[email protected]> * Introduce wait_for() Signed-off-by: Felipe Balbi <[email protected]> * Review comments Signed-off-by: Felipe Balbi <[email protected]> * more review comments Signed-off-by: Felipe Balbi <[email protected]> * review comments Signed-off-by: Felipe Balbi <[email protected]> * review comments Signed-off-by: Felipe Balbi <[email protected]> * convert async fn to impl Future Signed-off-by: Felipe Balbi <[email protected]> --------- Signed-off-by: Felipe Balbi <[email protected]> Co-authored-by: Felipe Balbi <[email protected]>
| | * | Refactor LPUART driver constructors (#51)JanKomarekNXP2025-12-015-260/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor LPUART driver constructors - Add new_with_rtscts(), new_with_rts(), new_with_cts() methods - Store RTS/CTS pins in TX/RX structs - Remove enable_tx, enable_rx, enable_rx_rts, enable_tx_cts config fields - Fix typo: msb_firs -> msb_first - Fix write_byte() return type to Result<()> * Update hello example for LPUART driver changes * Refactor buffered LPUART initialization logic - Split new_inner() into init_common() and separate helpers for full-duplex, TX-only, and RX-only - Replace assert!() with proper Error::InvalidArgument returns for empty buffers - Simplify constructor implementations by removing expect() calls
| | * | Remove Drive/Slew settings for Input pin (#57)James Munns2025-11-294-10/+17
| | | | | | | | | | | | | | | | | | | | * Don't set slew+strength for inputs * Update example
| | * | Fix LPI2C2 example (#56)James Munns2025-11-281-1/+8
| | | | | | | | | | | | Fix LPI2C2 example
| | * | Add LPUART5 pin mappings (#53)James Munns2025-11-261-3/+11
| | | | | | | | | | | | Closes #48.
| | * | Add GPIO interrupt support and embedded-hal-async trait implementation (#38)MathisDerooNXP2025-11-2612-24/+2005
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add GPIO interrupt support and embedded-hal-async trait implementation Signed-off-by: Mathis Deroo <[email protected]> * Run cargo fmt * Improve GPIO driver interrupt mechanism and example - GPIO interrupt managed internally at the HAL level, - Renamed and cleaned gpio_interrupt example; now button_async.rs, - Use BitIter instead of simple for loop in the irq handler, - Fix comments and add "rt" wrappen to GPIO IRQ handler. Signed-off-by: Mathis Deroo <[email protected]> * Modify INTERRUPT_DETECTED (AtomicBool to AtomicU32) to work with pin number and not only port number interrupt Signed-off-by: Mathis Deroo <[email protected]> * add embedded_hal_async::digital::* traits Signed-off-by: Mathis Deroo <[email protected]> * Update irq_handler with BitIter loop Co-authored-by: Felipe Balbi <[email protected]> * Add suggested changes Signed-off-by: Mathis Deroo <[email protected]> * cargo fmt Signed-off-by: Felipe Balbi <[email protected]> * WIP: Modify Wakers from AtomicWaker to WaitMap, with pin number (per PORT) as key Signed-off-by: Mathis Deroo <[email protected]> * Tweak maitake-sync usage * Improve docs * refactor a bit * Move all of the async+interrupt stuff into a module * Remove defmt debug traces Signed-off-by: Mathis Deroo <[email protected]> * cargo vet * Move e-hal-async impls into the gated block * "rt", begone! --------- Signed-off-by: Mathis Deroo <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> Co-authored-by: Felipe Balbi <[email protected]> Co-authored-by: Felipe Balbi <[email protected]> Co-authored-by: Felipe Balbi <[email protected]> Co-authored-by: James Munns <[email protected]>
| | * | I2c Controller Blocking Driver (#27)Felipe Balbi2025-11-2512-12/+1342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * I2c Master Signed-off-by: Felipe Balbi <[email protected]> * Fix review comments Signed-off-by: Felipe Balbi <[email protected]> * More review comments Signed-off-by: Felipe Balbi <[email protected]> --------- Signed-off-by: Felipe Balbi <[email protected]> Co-authored-by: Felipe Balbi <[email protected]>
| | * | Wire up Lpuart pins (#43)James Munns2025-11-2516-240/+205
| | | | | | | | | | | | Allow the HAL lpuart driver to correctly configure pins as requested on init.
| | * | Remove the pac singleton function (#42)James Munns2025-11-248-32/+10
| | | | | | | | | | | | | | | | There will be a follow up PR that removes the unsafe `init` functions, but I wanted to squash this out first in case I don't get to it all today.
| | * | Update to patched PAC with corrected Div4 (#41)James Munns2025-11-243-16/+16
| | | |
| | * | Introduce clkout peripheral (#36)James Munns2025-11-246-6/+288
| | | | | | | | | | | | | | | | | | | | Introduces a ClockOut peripheral, allowing for ensuring that internal clocks are operating correctly. Also fixes some incorrect PLL/Div4 usage.
| | * | Merge pull request #40 from felipebalbi/fix-clkdivJames Munns2025-11-222-12/+8
| | |\ \ | | | | | | | | | | Fix clkdiv configuration
| | | * | Fix clkdiv configurationFelipe Balbi2025-11-212-12/+8
| | |/ / | | | | | | | | | | | | | | | | DIV should be modified while the clock is halted, not after it's already running.