aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
| * | stm32/rcc: refactor and unify f4 into f7.Dario Nieuwenhuis2023-10-185-16/+81
| | |
| * | stm32/rcc: refactor f7.Dario Nieuwenhuis2023-10-184-13/+61
| | |
| * | stm32: update metapacxoviat2023-10-178-12/+12
| | |
| * | fix clocks in stm32wl rng example.Dario Nieuwenhuis2023-10-171-5/+4
| |/
| * Merge pull request #2077 from xoviat/rccxoviat2023-10-174-4/+4
| |\ | | | | | | | | | stm32: update metapac
| | * stm32: update metapacxoviat2023-10-164-4/+4
| | |
| * | Merge pull request #2075 from CBJamo/rosc_exampleDario Nieuwenhuis2023-10-161-0/+32
| |\ \ | | |/ | |/| | | | Add example to show useage of rp2040 rosc
| | * Add example to show useage of rp2040 roscCaleb Jamison2023-10-161-0/+32
| | |
| * | Prepare embassy-net(/-driver,/-driver-channel) 0.2.0Dániel Buga2023-10-1612-12/+12
| |/
| * time: add `links` key, release v0.1.5.Dario Nieuwenhuis2023-10-1635-35/+35
| |
| * stm32/rcc: unify L4 and L5.Dario Nieuwenhuis2023-10-164-14/+45
| |
| * stm32/rcc: add better support for L4/L4+ differences.Dario Nieuwenhuis2023-10-165-5/+5
| |
| * stm32: expand rcc mux to g4 and h7xoviat2023-10-141-1/+1
| |
| * stm32/rcc: port L4 to the "flattened" API like h5/h7.Dario Nieuwenhuis2023-10-154-31/+47
| |
| * time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-15147-394/+393
| | | | | | | | convenience methods
| * Merge pull request #2055 from kalkyl/usb-midiDario Nieuwenhuis2023-10-141-0/+110
| |\ | | | | | | | | | embassy-usb: Add MIDI class
| | * embassy-usb: Add MIDI classkalkyl2023-10-141-0/+110
| | |
| * | Release embassy-time 0.1.4Dániel Buga2023-10-1235-35/+35
| | |
| * | Merge pull request #2035 from pbert519/stm_reset_and_enableDario Nieuwenhuis2023-10-123-6/+5
| |\ \ | | |/ | |/| | | | STM32: combine RccPeripherals reset() and enable() to enable_and_reset()
| | * enable clock firstpbert2023-10-123-5/+5
| | |
| | * STM32: combine RccPeripherals reset() and enable() to reset_and_enable()pbert2023-10-123-6/+5
| | |
| * | Merge pull request #2033 from andresovela/stm32-add-timeout-to-i2cUlf Lilleengen2023-10-123-21/+6
| |\ \ | | |/ | |/| | | | stm32: add timeout to I2C driver
| | * Remove more unused stuffAndres Oliva2023-10-113-3/+0
| | |
| | * stm32: add timeout to I2C driverAndres Oliva2023-10-103-18/+6
| | |
| * | net: remove atomic-polyfill.Dario Nieuwenhuis2023-10-121-2/+2
| | |
| * | stm32/rcc: add LSE/LSI to all chips, add RTC to more chips.Dario Nieuwenhuis2023-10-117-24/+13
| | |
| * | stm32/rcc: rename HSE32 to HSEDario Nieuwenhuis2023-10-116-6/+6
| | |
| * | stm32/rcc: use more PLL etc enums from PAC.Dario Nieuwenhuis2023-10-113-5/+5
| |/
| * Patch tests & examplesGabriel Górski2023-10-095-10/+5
| |
| * stm32/rcc: use PLL enums from PAC.Dario Nieuwenhuis2023-10-0928-104/+108
| |
| * Merge pull request #2018 from jamesmunns/add-derivesDario Nieuwenhuis2023-10-072-2/+2
| |\ | | | | | | | | | Add some uncontroversial derives to Error types
| | * Add some uncontroversial derives to Error typesJames Munns2023-10-062-2/+2
| | |
| * | Merge pull request #2015 from willglynn/stm32u5_faster_clocksDario Nieuwenhuis2023-10-061-1/+6
| |\ \ | | | | | | | | | | | | stm32: u5: implement >55 MHz clock speeds
| | * | stm32: u5: implement >55 MHz clock speedsWill Glynn2023-10-051-1/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows STM32U5 devices to operate at 160 MHz. On STM32U5, MSIS can run at 48 MHz and HSE can reach 50 MHz. Faster clocks require using PLL1's R output, though PLL1 can serve other functions besides using the R output for the system clock. This commit extracts a public `PllConfig` struct, primarily to place associated constructors on that type, but also with an eye towards enabling the P and Q outputs in a later commit. STM32U5 PLLs have various frequency requirements on each stage: after the `m` prescaler, after the `n` multiplier, and after the `r` divider. This commit implements the associated checks as assertions. This commit fixes clock calculation and PLL register configuration errors in PLL initialization. STM32U5 has a PWR peripheral which can be configured to push Vcore into different voltage ranges. System clocks exceeding 55 MHz require range 2, and system clocks exceeding 110 MHz require range 1. This commit adds `voltage_range` to `Config` and configures PWR as directed. The voltage range implies different performance limits on various clock signals, including inside a PLL. This commit implements voltage range <-> frequency range checks as assertions, and extracts the otherwise-repeated MSIS, HSI16, and HSE initialization into private methods on `Config`. STM32U5 frequencies above 55 MHz require using the PWR EPOD booster. The EPOD booster requires configuring a second `m` term for PLL1, `mboost`, such that it falls in a particular range. (Recall that >50 MHz cannot be reached without PLL1, so there is no scenario where EPOD is needed but PLL1 is not.) This commit configures and enables the EPOD booster automatically as required.
| * | stm32: implement MCO for all chips.Dario Nieuwenhuis2023-10-074-9/+9
| | |
| * | h7: implement RTC and LSE clock configurationMatt Ickstadt2023-10-062-1/+41
| |/
| * stm32: update metapac and fix opamp chxoviat2023-10-041-2/+2
| |
| * update embedded-io, embedded-nal-async.Dario Nieuwenhuis2023-10-0411-18/+18
| |
| * stm32: add opamp mod and update pacxoviat2023-10-031-0/+59
| |
| * Add wait for DHCP in rp wifi_tcp_serverKingCol132023-10-021-1/+8
| |
| * Update firmware size in rp wifi examplesKingCol132023-10-024-4/+4
| |
| * Remove impl_trait_projections.Dario Nieuwenhuis2023-10-021-1/+1
| |
| * feat: allow schmitt, slew, and drive strength be set from Flex, Input, OutputJonathan Dickinson2023-10-011-0/+3
| | | | | | | | Allows the schmitt, slew and drive strength to be set from Flex. Input and Output[OpenDrain] also expose the appropriate setters.
* | Fix examplesDion Dokter2023-10-014-3/+4
|/
* bump wasm-pack versionbrian horakh2023-09-301-1/+1
|
* typobrian horakh2023-09-301-1/+1
|
* stm32/rtc: enable lse in examples.Dario Nieuwenhuis2023-09-302-0/+3
|
* stm32/adc: cleanup f1, f3, v1, and v2xoviat2023-09-274-7/+13
|
* stm32/usart: return error instead of panicking on bad baudrate.Dario Nieuwenhuis2023-09-2616-21/+19
|
* Update rust-lorawan crate versions.ceekdee2023-09-254-24/+8
|