| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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
|
| |\
| |
| |
| | |
low-power: add defmt flush before WFE and cleanup RCC re-initialization on wakeup for stm32wlex
|
| |/
|
|
| |
wakeup for stm32wlex
|
| |\
| |
| |
| | |
low-power: rework stoppableperipheral traits
|
| | | |
|
| |\|
| |
| |
| | |
low-power: improve debug logic
|
| |/ |
|
| |\
| |
| |
| | |
adc: type-erase regs instance
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
wpan: add libraries for wba
|
| |/ |
|
| |\
| |
| |
| | |
Make adc v2 resolution public
|
| |/ |
|
| |\
| |
| |
| | |
Fix API documentation for Ticker reset_at() function
|
| |/
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| | |
GPDMA suspend channel before reset if already enabled
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | | |
Upstream `embassy-mcxa`
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |\ \
| | | |
| | | |
| | | | |
Merge remote-tracking branch 'james-e-mcxa/james/upstream' into james/upstream-mcxa
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Mathis Deroo <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes: #84
---------
Signed-off-by: Felipe Balbi <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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
- 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
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
* Don't set slew+strength for inputs
* Update example
|
| | | | |
| | | |
| | | | |
Fix LPI2C2 example
|
| | | | |
| | | |
| | | | |
Closes #48.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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 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]>
|
| | | | |
| | | |
| | | | |
Allow the HAL lpuart driver to correctly configure pins as requested on init.
|
| | | | |
| | | |
| | | |
| | | | |
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.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Introduces a ClockOut peripheral, allowing for ensuring that internal clocks are operating correctly.
Also fixes some incorrect PLL/Div4 usage.
|
| | | |\ \
| | | | |
| | | | | |
Fix clkdiv configuration
|
| | | |/ /
| | | |
| | | |
| | | |
| | | | |
DIV should be modified while the clock is halted, not after it's
already running.
|