aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/bootloader
Commit message (Collapse)AuthorAgeFilesLines
* cortex-m: remove owned interrupts.Dario Nieuwenhuis2023-06-011-0/+1
|
* Align examplesRasmus Melchior Jacobsen2023-05-306-19/+40
|
* ci: fix nrf, rp tests.Dario Nieuwenhuis2023-05-293-6/+6
|
* Let Flash<Async/Blocking> be a thingRasmus Melchior Jacobsen2023-05-251-1/+1
|
* Align with new bind_interruptRasmus Melchior Jacobsen2023-05-251-2/+1
|
* Switch from probe-run to probe-rs-cli.Dario Nieuwenhuis2023-04-262-2/+2
| | | | | - probe-run screwed up the last release 2 weeks ago and it's still not fixed (issue 391). Doesn't look well maintained. - Even when it's not broken, it lags behind probe-rs-cli in new chips support because it's slow in updating probe-rs.
* enable inline-asm feature for cortex-m in examplespennae2023-04-183-3/+3
| | | | | | inline assembly is supported since rust 1.59, we're way past that. enabling this makes the compiled code more compact, and on rp2040 even decreses memory usage by not needing thunks in sram.
* Align stm32 bootloader exampleRasmus Melchior Jacobsen2023-04-051-3/+4
|
* Align examples with bootloader changesRasmus Melchior Jacobsen2023-04-043-8/+9
|
* Bump embedded-storage-async to 0.4Mehmet Ali Anil2023-03-062-2/+2
|
* Merge #1139bors[bot]2023-01-043-3/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 1139: Wdt config changes r=lulf a=huntc Per commits: * By passing WDT config around we can control it more easily and promote sharing it between files. * The memory layout of the s140 crept into a number of memory files, which can cause confusion (well, it did for me!). * Obtaining the current WDT config is useful so that we do not have to duplicate configurations around the place. A constructor method has been introduced that attempts to return the current running WDT config from the WDT peripheral. The bootloader example has also been updated to show how the watchdog can be obtained and used. Co-authored-by: huntc <[email protected]>
| * Cleaned up some doc and memory layouthuntc2023-01-042-2/+2
| | | | | | | | The memory layout of the s140 crept into a number of memory files, which can cause confusion.
| * Pass WDT config aroundhuntc2023-01-041-1/+8
| | | | | | | | By passing WDT config around we can control it more easily and promote sharing it between files.
* | Cleanupkalkyl2023-01-031-1/+1
| |
* | embassy-boot (rp): Add WatchdogFlashkalkyl2023-01-032-3/+5
|/
* feat: embassy-boot for rp2040Ulf Lilleengen2022-12-026-0/+152
| | | | | | | Add embassy-boot support for RP2040, with examples for the Raspberry Pi Pico. Co-authored-by: Mathias Koch <[email protected]>
* Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-292-2/+2
|
* all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-072-0/+2
| | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* 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 BootFlash borrowUlf Lilleengen2022-09-202-5/+4
| | | | | | | Compiler will infer a different lifetime for BootFlash than for the borrowed flash, which makes it require more type annotations than if it was just owning the type. Since it doesn't really matter if it owns or borrows in practical use, change it to own so that it simplifies usage.
* Remove generic const expressions from embassy-bootUlf Lilleengen2022-09-022-7/+7
| | | | | | | | | * Remove the need for generic const expressions and use buffers provided in the flash config. * Extend embedded-storage traits to simplify generics. * Document all public APIs * Add toplevel README * Expose AlignedBuffer type for convenience. * Update examples
* Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis2022-08-172-2/+2
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-292-2/+0
|
* Fix RAM origin copy paste from nrfUlf Lilleengen2022-06-291-1/+1
|
* Add build.rs to detect armv6Ulf Lilleengen2022-06-271-5/+0
|
* Move bootloader main to examplesUlf Lilleengen2022-06-2413-0/+405
This should remove some confusion around embassy-boot-* being a library vs. a binary. The binary is now an example bootloader instead.