aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f3/src/bin
Commit message (Collapse)AuthorAgeFilesLines
* Reverted adding AnyBinding, removed AnyChannel, removed ability for ↵WillaWillNot2025-11-222-12/+2
| | | | ExtiInput to accept AnyPin and AnyChannel arguments, added ExtiPin trait for all pins which is lost on converstion to AnyPin and contains type-level ExtiChannel information
* Fixed broken examples/formatting reported by CIWillaWillNot2025-11-212-4/+2
|
* Updated documentation, fixed EXTI definition issues with chips that have ↵WillaWillNot2025-11-212-4/+28
| | | | touch sensing, updated examples, added generation of convenience method to bind_interrupts for easier type erasure
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-062-3/+3
|
* Edition 2024.Dario Nieuwenhuis2025-10-061-2/+2
|
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-292-5/+5
|
* stm32 tsc: added multipin example for stm32f3michel2024-11-291-0/+204
|
* Refactor TSC module: Remove redundant 'Tsc' prefixes for improved naming ↵michel2024-11-291-3/+3
| | | | consistency
* STM32-TSC: enable discriminating between pins within same TSC group and ↵michel2024-11-292-98/+138
| | | | improve TSC library in general
* add blocking TSC examplesmichel2024-07-101-0/+98
|
* Clarified comments about the cortex_m::asm::delay functionality in al… (#3064)Daniel Philipp2024-06-121-2/+2
| | | | | | | | | | | * Clarified comments about the cortex_m::asm::delay functionality in all multiprio.rs examples * fixed formatting * Changed to using embassy_time::block_for() * removed my formatting scripts * specify embassy_time::Duration
* stm32/usart: remove DMA generic params.Dario Nieuwenhuis2024-04-161-2/+1
|
* Incorporated adam’s suggestion into all multiprio commentsBarnaby Walters2024-04-071-3/+4
|
* [embassy-stm32] added comments explaining multiprio interruptsBarnaby Walters2024-04-071-0/+4
|
* usb: remove device_descriptor buffer, store bytes in UsbDevice.inner insteadAdam Greig2024-03-231-2/+0
|
* stm32/rcc: port F3 RCC to new APIDario Nieuwenhuis2024-02-122-9/+17
| | | | See #2515
* stm32/gpio: remove generics.Dario Nieuwenhuis2024-01-222-18/+15
|
* 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-2110-10/+0
|
* Update embedded-hal to 1.0.0-rc.3Dario Nieuwenhuis2023-12-141-1/+1
|
* usb: remove msos-descriptor feature.Dario Nieuwenhuis2023-11-081-0/+1
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-155-13/+13
| | | | convenience methods
* stm32/usart: return error instead of panicking on bad baudrate.Dario Nieuwenhuis2023-09-261-1/+1
|
* Deprecate *recv* in favor of *receive*Ruben De Smet2023-08-221-2/+2
|
* Set frequency in stm32 SPI examplesbofh2023-07-311-1/+5
|
* Fix formattingbofh2023-07-301-9/+1
|
* Fix stm32 SPI examplesbofh2023-07-301-2/+0
|
* examples: use nicer InterrupExt to set irq priority in multprio.Dario Nieuwenhuis2023-06-091-9/+5
|
* 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-242-6/+12
| | | | disable lora functionality for now
* Align flash examplesRasmus Melchior Jacobsen2023-04-051-1/+1
|
* executor: add Pender, rework Cargo features.Dario Nieuwenhuis2023-04-031-1/+1
| | | | | | | | | This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
* cortex-m/executor: don't use the owned interrupts system.Dario Nieuwenhuis2023-02-281-13/+23
| | | | Preparation for #1224.
* 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).
* stm32: Add support for read_until_idle on UARTGuillaume MICHEL2022-10-261-1/+3
|
* 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
* usb: move classes into the `embassy-usb` crate.Dario Nieuwenhuis2022-09-261-1/+1
|
* Replace futures::future::join -> embassy_futures::join::join.Dario Nieuwenhuis2022-09-221-1/+1
|
* sync: flatten module structure.Dario Nieuwenhuis2022-08-221-1/+1
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-2/+2
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-221-7/+7
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-189-13/+13
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-172-14/+6
| | | | | 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-178-18/+20
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-299-29/+29
|
* embassy-stm32: Simplify timeGrant Miller2022-07-101-5/+5
| | | | | | | | | | - Remove unused `MilliSeconds`, `MicroSeconds`, and `NanoSeconds` types - Remove `Bps`, `KiloHertz`, and `MegaHertz` types that were only used for converting to `Hertz` - Replace all instances of `impl Into<Hertz>` with `Hertz` - Add `hz`, `khz`, and `mhz` methods to `Hertz`, as well as free function shortcuts - Remove `U32Ext` extension trait