aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4/src/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * stm32/rcc: refactor and unify f4 into f7.Dario Nieuwenhuis2023-10-185-16/+81
| |
| * time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-1511-35/+35
| | | | | | | | convenience methods
| * Merge pull request #2033 from andresovela/stm32-add-timeout-to-i2cUlf Lilleengen2023-10-121-7/+2
| |\ | | | | | | | | | stm32: add timeout to I2C driver
| | * Remove more unused stuffAndres Oliva2023-10-111-1/+0
| | |
| | * stm32: add timeout to I2C driverAndres Oliva2023-10-101-6/+2
| | |
| * | stm32/rcc: add LSE/LSI to all chips, add RTC to more chips.Dario Nieuwenhuis2023-10-111-4/+2
| |/
| * Patch tests & examplesGabriel Górski2023-10-091-2/+1
| |
| * stm32: implement MCO for all chips.Dario Nieuwenhuis2023-10-071-3/+3
| |
* | Fix examplesDion Dokter2023-10-012-1/+2
|/
* stm32/adc: cleanup f1, f3, v1, and v2xoviat2023-09-271-3/+3
|
* stm32/usart: return error instead of panicking on bad baudrate.Dario Nieuwenhuis2023-09-263-3/+3
|
* stm32: fix rtc exampleluveti2023-09-241-0/+1
| | | lsi must be enabled otherwise a assertion fails
* stm32/rcc: unify h5 and h7.Dario Nieuwenhuis2023-09-211-1/+2
|
* add wait_config_up to examplesJuliDi2023-09-081-1/+4
|
* rustfmtxoviat2023-08-271-4/+2
|
* fix hanging on rtc exampleaidant2023-08-271-5/+14
|
* Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-073-3/+3
|
* Merge remote-tracking branch 'origin/main' into bxcan_timestampchemicstry2023-07-316-32/+25
|\
| * Merge pull request #1606 from JcBernack/rng-updateDario Nieuwenhuis2023-07-302-4/+7
| |\ | | | | | | | | | STM32: RNG update