aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Incorporated adam’s suggestion into all multiprio commentsBarnaby Walters2024-04-071-3/+4
|
* Apply suggestions from code reviewBarnaby Walters2024-04-071-1/+1
| | | Co-authored-by: becothas <[email protected]>
* [embassy-stm32] added comments explaining multiprio interruptsBarnaby Walters2024-04-071-0/+4
|
* Add VBUS detection blackpill commentBarnaby Walters2024-04-051-0/+1
|
* stm32/can: simplify bxcan api, merging bx::* into the main structs.Dario Nieuwenhuis2024-04-021-8/+3
| | | | | | The bx::* separate structs (Can, Rx, Tx) and separate `Instance` trait are a relic from the `bxcan` crate. Remove them, move the functionality into the main structs.
* Merge pull request #2730 from embassy-rs/stm32-sealedDario Nieuwenhuis2024-03-231-2/+3
|\ | | | | stm32: use private_bounds for sealed traits.
| * stm32/timer: simplify traits, convert from trait methods to struct.Dario Nieuwenhuis2024-03-231-2/+3
| |
* | usb: remove device_descriptor buffer, store bytes in UsbDevice.inner insteadAdam Greig2024-03-235-10/+0
|/
* stm32/usb: ensure mux is configured in examples.Dario Nieuwenhuis2024-03-195-0/+5
|
* stm32/usb: merge usb and usb_otg into single module.Dario Nieuwenhuis2024-03-195-20/+20
|
* stm32: add usb_hid_keyboard exampleVo Trung Chi2024-03-141-0/+222
| | | | Signed-off-by: Vo Trung Chi <[email protected]>
* Use Result instead of Option for Frame creation.Corey Schuhen2024-03-131-1/+1
|
* Shared frame types.Corey Schuhen2024-03-131-2/+2
| | | | | | Remove BXCAN speciffic id and frame modules Remove SizedClassicData
* Fix examples and improve imports required.Corey Schuhen2024-03-071-3/+4
|
* Merge pull request #2664 from eZioPan/build-target-fixDario Nieuwenhuis2024-03-061-1/+1
|\ | | | | | | ci stm32: build target fix
| * stm32/rtc: remove use of deprecated .timestamp()Dario Nieuwenhuis2024-03-061-1/+1
| |
* | stm32: add usb_hid_mouse exampleVo Trung Chi2024-03-071-3/+3
| | | | | | | | Signed-off-by: Vo Trung Chi <[email protected]>
* | stm32: add usb_hid_mouse exampleVo Trung Chi2024-03-071-16/+16
| | | | | | | | Signed-off-by: Vo Trung Chi <[email protected]>
* | stm32: add usb_hid_mouse exampleVo Trung Chi2024-03-071-0/+148
|/ | | | Signed-off-by: Vo Trung Chi <[email protected]>
* Merge pull request #2410 from eZioPan/waveform-on-CHxDario Nieuwenhuis2024-02-011-1/+1
|\ | | | | | | impl waveform with TIM OC Channel DMA
| * impl waveform with TIM ChanneleZio Pan2024-01-061-1/+1
| |
* | stm32/gpio: remove generics.Dario Nieuwenhuis2024-01-221-3/+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.
* ask a DMA Channel only when use .gen_waveform()eZio Pan2024-01-022-14/+4
|
* some trivial fixeZio Pan2023-12-301-1/+1
| | | | use less #[cfg] macro; reuse same variable
* implement PWM waveform generating with DMAeZio Pan2023-12-282-63/+24
|
* update metapac after stm32-data PR323eZio Pan2023-12-251-2/+1
| | | | and refactor a few code with cargo clippy
* enable output compare preload for TIMeZio Pan2023-12-231-0/+7
| | | | keep output waveform integrity
* remove unused feature attributeeZio Pan2023-12-221-1/+0
|
* fix timing, turn TIM UDE on only necessary, clean DMA FEIF after each TransfereZio Pan2023-12-221-4/+12
|
* Merge branch 'main' into stm32f4-example-ws2812-spieZio Pan2023-12-2230-53/+35
|\
| * ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-2130-30/+0
| |
| * chore: replace make_static! macro usage with non-macro versionUlf Lilleengen2023-12-212-16/+28
| |
| * stm32/timer: docs.Dario Nieuwenhuis2023-12-191-1/+1
| |
| * stm32: add some docs.Dario Nieuwenhuis2023-12-182-6/+6
| |
* | typo fixeZio Pan2023-12-181-4/+5
| |
* | match up with stm32f429zi feature flageZio Pan2023-12-181-1/+1
| | | | | | | | stm32f429 has less DMA channel than stm32f411
* | stm32f4 ws2812 example with spi ...eZio Pan2023-12-172-35/+136
|/ | | | | | | ... and more doc on TIM&DMA version, also remove useless TIM APRE settings, and use for loop instead of manually flip the index bit, and replace `embassy_time::Timer` with `embassy_time::Ticker`, for more constant time interval.
* unify channel assigneZio Pan2023-12-161-4/+6
|
* cargo fmteZio Pan2023-12-151-11/+5
|
* add ws2812 example for stm32f4 with PWM and DMAeZio Pan2023-12-151-0/+135
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-1/+1
|
* STM32 DAC: Rework DAC driver, support all families.Adam Greig2023-11-251-3/+2
|
* stm32/i2c: implement async i2c v1.Barnaby Walters2023-11-242-0/+197
|
* stm32/i2c: add async, dual interrupt scaffolding.Dario Nieuwenhuis2023-11-241-1/+2
|
* stm32/rcc: fix pll enum naming on f4, f7.Dario Nieuwenhuis2023-11-135-9/+9
|
* usb: remove msos-descriptor feature.Dario Nieuwenhuis2023-11-082-2/+2
|
* Update stm32 usb_raw example to use MSOS descriptors for WinUSBAdam Greig2023-11-073-0/+23
|
* Add raw USB example using control transfersAdam Greig2023-11-051-0/+201
|
* Merge branch 'master' into center-alignDion Dokter2023-10-2015-67/+124
|\