aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g4
Commit message (Collapse)AuthorAgeFilesLines
...
* | | add stm32 i2c slave examplejrmoulton2024-08-131-0/+149
|/ /
* | prepare release embassy-executorUlf Lilleengen2024-08-051-1/+1
| |
* | Prepare to release embassy-usbUlf Lilleengen2024-08-051-1/+1
| |
* | Prepare embassy-time releaseUlf Lilleengen2024-08-051-1/+1
| |
* | bump more udbd-hid usages to 0.8.1JuliDi2024-07-161-1/+1
|/
* stm32 adc: introduce blocking_readAndres Vahter2024-07-031-1/+1
|
* prepare for embassy-time 0.3.1 releaseUlf Lilleengen2024-06-041-1/+1
|
* Prepare for embassy-sync 0.6.0 releaseUlf Lilleengen2024-05-291-1/+1
|
* fixed: example loops crashing after 256 passesPeter Kövesdi2024-04-291-2/+2
|
* Reduce use of the full `futures` crate.Dario Nieuwenhuis2024-04-262-2/+1
|
* Update dependent versionsJames Munns2024-04-231-1/+1
|
* examples: stm32: can: fix buildTorin Cooper-Bennun2024-04-221-2/+2
|
* stm32/adc: update g4 for new pac.Dario Nieuwenhuis2024-04-141-1/+1
|
* stm32: update adc examplesAndres Vahter2024-04-101-2/+2
|
* CAN: Unify API's between BXCAN and FDCAN. Use Envelope for all read methods ↵Corey Schuhen2024-03-281-12/+17
| | | | instead of a tuple sometimes.
* usb: remove device_descriptor buffer, store bytes in UsbDevice.inner insteadAdam Greig2024-03-231-2/+0
|
* [UCPD] Enable dead-battery support in exampleTimo Kröger2024-03-141-2/+3
|
* [UCPD] Take interrupt in constructor and enable itTimo Kröger2024-03-141-2/+6
|
* [UCPD] Split into CC and PD phyTimo Kröger2024-03-121-8/+9
| | | | | PD3.0 spec requires concurrent control of CC resistors for collision avoidance. Needed to introduce some "ref counting" (its just a bool) for drop code.
* [UCPD] Improve example and defmt Format for enumsTimo Kröger2024-03-121-2/+9
|
* [UCPD] Combine RX and TXTimo Kröger2024-03-121-1/+1
| | | | | | | | `select(rx.receive(), tx.transmit()` had subtle interrupt enable race conditions. Combine receiver and transmitter into one new `PdPhy` struct to disallow the problematic pattern. Scanning through the USB PD 2.0 specification there is no need to have RX and TX running concurrently (after all the USB PD communication is half-duplex).
* [UCPD] Prepare for PD communication implementationTimo Kröger2024-03-121-1/+14
|
* [UCPD] Improve Type-C CC handlingTimo Kröger2024-03-121-7/+5
| | | | | | * Improved interrupt handling: Clear flags in ISR, check state change in future * Disable pull-up/pull-down resistors and voltage monitor on drop * nightly rustfmt
* [UCPD] Configuration Channel (CC) handlingTimo Kröger2024-03-121-0/+62
|
* stm32/rcc: g4: consistent PllSource, add pll pqr limits, simplify a bit.Dario Nieuwenhuis2024-03-044-18/+17
|
* Merge pull request #2646 from cschuhen/feature/wake_tx_on_buffered_pushDario Nieuwenhuis2024-03-011-1/+5
|\ | | | | | | Give CAN a kick when writing into TX buffer via sender.
| * Writing to TX buffer also needs to fire an interrupt to kick off ↵Corey Schuhen2024-03-021-1/+5
| | | | | | | | | | | | transmission if it is idle. Formatting
* | stm32: autogenerate mux config for all chips.Dario Nieuwenhuis2024-03-014-49/+52
|/
* update usbd-hid to latestHaobo Gu2024-02-261-1/+1
| | | | Signed-off-by: Haobo Gu <[email protected]>
* stm32/adc: reexport enums from PAC to avoid boilerplate hell.Dario Nieuwenhuis2024-02-261-1/+1
|
* FDCAN: Don't require internal module for public API.Corey Schuhen2024-02-251-2/+2
|
* Add dep for static_cell to example.Corey Schuhen2024-02-191-0/+1
|
* Remove the OperatingMode typestatesCorey Schuhen2024-02-181-4/+5
| | | | | | Instead have two explcit types(without the mode generic arg)types: - One for config - One for all operating modes
* Add a buffered mode.Corey Schuhen2024-02-171-7/+90
|
* Port FDCAN HAL to use PAC directly instead of fdcan crate.Corey Schuhen2024-02-172-14/+83
| | | | | | - Provide separate FDCAN capable and Classic CAN API's - Don't use fdcan crate dep anymore - Provide embedded-can traits.
* RefinementsBarnaby Walters2024-02-171-0/+1
| | | | | | | | | | * Implemented boost mode dance (RM0440 p234-245, 6.5.1) * Enabled boost mode in usb_serial example, tested on hardware * Removed hard requirement of a valid 48MHz source (HSI48 is checked if requested, PLL passed through as-is and assumed to be valid) * Used calc_pclk to calculate APB frequencies * Refactored 48MHz configuration code to remove unnecessary let and block * Renamed ahb_freq to hclk for clarity and consistency
* Removed redundant HSI48 configurationBarnaby Walters2024-02-161-3/+4
|
* [embassy-stm32]: started stm32g4 RCC refactorBarnaby Walters2024-02-153-27/+34
| | | | | | | | * Copied API from f.rs where applicable * HSE and HSI independantly configurable * Boost mode set by user rather * Added HSE, pll1_q and pll1_p frequencies to set_clocks call * Stubbed max module based on f.rs, needs cleanup
* Add FDCAN examples for STM32G4, STM32H5 and STM32H7Corey Schuhen2024-01-312-1/+57
| | | | | | | | Fix examples Fix examples Fix examples.
* Add FDCAN dependency in correct flavor based on selected chip.Tomasz bla Fortuna2024-01-311-1/+1
| | | | | | Author: Torin Cooper-Bennun <[email protected]> Change from review.
* stm32/gpio: remove generics.Dario Nieuwenhuis2024-01-221-3/+2
|
* bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4.Dario Nieuwenhuis2024-01-111-2/+2
|
* Change GPIO inherent methods back to `&self`.Dario Nieuwenhuis2024-01-101-1/+1
| | | | | | | With the embedded-hal rc3 update I changed them to require `&mut self`, but in retrospect I think `&self` is better, for extra flexibility. This PR reverts the changes from the rc3 update to inherent methods.
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-218-8/+1
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-1/+1
|
* Update all references to `embasy-executor` to the latest versionJesse Braham2023-12-061-1/+1
|
* update release version in examples and other cratesScott Mabin2023-12-041-2/+2
|
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-1/+1
|
* executor: release v0.3.3Dario Nieuwenhuis2023-11-151-1/+1
|
* stm32/rcc: consistent casing and naming for PLL enums.Dario Nieuwenhuis2023-11-133-8/+8
|