aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate *recv* in favor of *receive*Ruben De Smet2023-08-221-1/+1
|
* Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-072-2/+2
|
* Merge pull request #1606 from JcBernack/rng-updateDario Nieuwenhuis2023-07-303-5/+14
|\ | | | | | | STM32: RNG update
| * stm32/rng: use bind_interrupts!.Dario Nieuwenhuis2023-07-313-5/+14
| |
* | Fix format in stm32 SPI examplesbofh2023-07-302-18/+2
| |
* | Fix more stm32 SPI examplesbofh2023-07-302-4/+8
|/
* stm32/pwm: add output type controlxoviat2023-07-291-1/+2
|
* add dac-dma example for h7, remove memory.xJuliDi2023-07-281-0/+140
|
* stm32/timer: merge pwm module into timer. (#1703)Dario Nieuwenhuis2023-07-282-3/+3
| | | | The traits there are applicable to timer use cases other than PWM. It doesn't make sense to keep them separated.
* stm32: fix DAC examplesAdam Greig2023-07-221-1/+1
| | | | | | | | The DAC driver defaults to enabling the channel trigger, but leaves it at the default value of TIM6 TRGO, then performs a software trigger after writing the new output value. We could change the trigger selection to software trigger, but for this example it's simpler to just disable the trigger.
* stm32/eth: add set_poll_intervalxoviat2023-07-152-2/+2
|
* stm32/eth: impl. poll intervalxoviat2023-07-152-2/+2
|
* Merge pull request #1565 from JuliDi/mainDario Nieuwenhuis2023-06-291-4/+5
|\ | | | | | | Implement DMA for DAC on STM32
| * Update DAC examples, add DAC + DMA exampleJuliDi2023-06-281-4/+5
| |
* | stm32/otg: add VBUS detection.Dario Nieuwenhuis2023-06-271-1/+3
|/ | | | Fixes #1442.
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-192-34/+24
|
* net: Support dual stack IPRuben De Smet2023-06-072-4/+4
|
* Rename StaticConfig to StaticConfigV4Ruben De Smet2023-06-062-2/+2
|
* Use make_static! from static-cell v1.1Dario Nieuwenhuis2023-06-012-26/+16
|
* Fix examplesRasmus Melchior Jacobsen2023-05-251-5/+5
|
* Let Flash<Async/Blocking> be a thingRasmus Melchior Jacobsen2023-05-251-1/+1
|
* Align with new bind_interruptRasmus Melchior Jacobsen2023-05-251-2/+2
|
* Align examplesRasmus Melchior Jacobsen2023-05-251-6/+6
|
* Align examplesRasmus Melchior Jacobsen2023-05-251-3/+2
|
* stm32: move to bind_interruptsxoviat2023-05-249-31/+56
| | | | disable lora functionality for now
* net: do not use smoltcp Instant/Duration in public API.Dario Nieuwenhuis2023-05-151-1/+1
|
* Fix some typosDirk Stolle2023-05-081-1/+1
|
* Align flash examplesRasmus Melchior Jacobsen2023-04-051-2/+2
|
* Fix examples broken by the macro fix.Dario Nieuwenhuis2023-03-083-3/+3
|
* usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵Dario Nieuwenhuis2023-02-081-1/+0
| | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available).
* net: allocate space for 2 sockets, needed for dhcp.Dario Nieuwenhuis2023-01-192-2/+2
|
* Add smoltcp dhcp socket configurationPaweł Jan Czochański2023-01-192-16/+6
|
* stm32 otg: add examples.chemicstry2023-01-111-0/+106
|
* stm32/eth_v2: update to new embassy-net trait, remove PeripheralMutex.Dario Nieuwenhuis2022-12-132-44/+42
|
* stm32: Fix watchdog division by zero for 256 prescaler, add watchdog example ↵Matous Hybl2022-11-101-0/+24
| | | | for H7
* Merge #1025bors[bot]2022-10-261-0/+44
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1025: Implement I2C timeouts, second attempt r=Dirbaio a=chemicstry This is an alterrnative to #1022 as discussed there. Timeouts are implemented using suggested `check_timeout: impl Fn() -> Result<(), Error>` function, which does not depend on `embassy-time` by default and is a noop for regular I2C. This also adds `time` feature like in `embassy-nrf` to enable `embassy-time` dependencies. While at it, I also gated some other peripherals that depend on `embassy-time`, notably `usb` and (partially) `subghz`. `TimeoutI2c` is currently only implemented for i2cv1, because i2cv2 has additional complications: - Async methods still use a lot of busy waiting code in between DMA transfers, so simple `with_timeout()` will not work and it will have to use both types of timeouts. It could probably be rewritten to replace busy waits with IRQs, but that's outside the scope of this PR. - I2C definition `I2c<'d, T, TXDMA, RXDMA>` is different from i2cv1 `I2c<'d, T>` making it hard to share single `TimeoutI2c` wrapper. A couple of options here: - Duplicate `TimeoutI2c` code - Add dummy `TXDMA`, `RXDMA` types to i2cv1 considering that in the future it should also support DMA Co-authored-by: chemicstry <[email protected]>
| * Add more docschemicstry2022-10-241-0/+3
| |
| * i2cv2 timeoutschemicstry2022-10-241-0/+41
| |
* | stm32: Add support for read_until_idle on UARTGuillaume MICHEL2022-10-263-3/+9
|/
* Remove flash lock/unlock public API from stm32 flash, and perform the ↵Mathias2022-09-301-1/+1
| | | | unlocking and locking automatically on erase and write operations
* Remove default, reorder generic paramsivmarkov2022-09-251-1/+2
|
* sync: flatten module structure.Dario Nieuwenhuis2022-08-222-2/+2
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-222-3/+3
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-226-26/+26
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-1819-31/+31
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-1711-87/+45
| | | | | It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that it's gone, it makes more sense to build the config in main directly.
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-1715-38/+46
|
* Merge #896bors[bot]2022-08-101-1/+10
|\ | | | | | | | | | | | | | | | | | | 896: Implement I2C pullup configuration r=lulf a=chemicstry I wasn't sure if I should put frequency into config struct, so left it separate as in SPI periph. Also added Copy derives to gpio types, not sure why they weren't? Co-authored-by: chemicstry <[email protected]>
| * Implement I2C pullup configurationchemicstry2022-08-091-1/+10
| |
* | Add example using embedded-nal-async traitsUlf Lilleengen2022-08-091-0/+125
|/