aboutsummaryrefslogtreecommitdiff
path: root/examples/boot
Commit message (Collapse)AuthorAgeFilesLines
* Bump versions preparing for -macros and -executor releaseUlf Lilleengen2023-04-279-9/+9
|
* fix stm32f7 example runner command for probe-rs-cliMalte Brieske2023-04-261-1/+1
|
* Switch from probe-run to probe-rs-cli.Dario Nieuwenhuis2023-04-2611-19/+19
| | | | | - 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.
* embassy-boot: update ci and examples to use the nightly flagsander2023-04-209-10/+10
|
* enable inline-asm feature for cortex-m in examplespennae2023-04-1812-13/+13
| | | | | | 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.
* Release embassy-sync v0.2.0Dario Nieuwenhuis2023-04-139-9/+9
|
* Align stm32 bootloader exampleRasmus Melchior Jacobsen2023-04-051-3/+4
|
* Align examples with bootloader changesRasmus Melchior Jacobsen2023-04-043-8/+9
|
* executor: add Pender, rework Cargo features.Dario Nieuwenhuis2023-04-039-9/+9
| | | | | | | | | 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).
* Bump embedded-storage-async to 0.4Mehmet Ali Anil2023-03-062-2/+2
|
* Support codesigning in the firmware updaterhuntc2023-01-122-1/+6
| | | | This commit provides a method to verify that firmware has been signed with a private key given its public key. The implementation uses ed25519-dalek as the signature verifier. An "ed25519" feature is required to enable the functionality. When disabled (the default), calling the firmware updater's verify method will return a failure.
* feat: compile bootloader examples for nRF91Ulf Lilleengen2023-01-046-7/+51
| | | | | | | * Add nRF91 as target in CI builds * Add example linker scripts for nrf91 * Make less nRF52 assumptions example config * Add llvm-tools-preview required for cargo objcopy example
* Merge #1139bors[bot]2023-01-047-5/+34
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * Provides a means of obtaining the current WDT confighuntc2023-01-041-0/+18
| | | | | | | | Obtaining the current WDT config is important so that we do not have to duplication configuration around the place. A constructor method has been introduced that returns WDT config in accordance with how the register is presently configured. The bootloader example has also been updated to show the watchdog can be obtained and used.
| * Cleaned up some doc and memory layouthuntc2023-01-045-4/+8
| | | | | | | | 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-033-3/+12
|/
* feat: embassy-boot for rp2040Ulf Lilleengen2022-12-0213-0/+350
| | | | | | | 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-2910-10/+10
|
* all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-0710-0/+10
| | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* Remove flash lock/unlock public API from stm32 flash, and perform the ↵Mathias2022-09-308-8/+8
| | | | unlocking and locking automatically on erase and write operations
* Use firmware writer in stm32{f7, h7} example appUlf Lilleengen2022-09-262-17/+17
| | | | | The new FirmwareWriter is useful in particular for these architectures due to the large erase sector size.
* Update Rust nightly.Dario Nieuwenhuis2022-09-222-2/+0
| | | | Removes feature(generic_associated_types)
* 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.
* Merge #939bors[bot]2022-09-047-7/+7
|\ | | | | | | | | | | | | | | 939: time: add more tick rates, use 1mhz as default. r=Dirbaio a=Dirbaio Co-authored-by: Dario Nieuwenhuis <[email protected]>
| * time: add more tick rates, use 1mhz as default.Dario Nieuwenhuis2022-09-027-7/+7
| |
* | Remove generic const expressions from embassy-bootUlf Lilleengen2022-09-0212-34/+46
|/ | | | | | | | | * 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
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-228-8/+8
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-1824-34/+42
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-1716-32/+41
|
* Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis2022-08-1710-10/+10
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-2926-52/+58
|
* Use correct chip family name for exampleUlf Lilleengen2022-07-051-1/+1
|
* Fix RAM origin copy paste from nrfUlf Lilleengen2022-06-297-7/+7
|
* Add build.rs to detect armv6Ulf Lilleengen2022-06-271-5/+0
|
* Move bootloader main to examplesUlf Lilleengen2022-06-2484-216/+621
| | | | | This should remove some confusion around embassy-boot-* being a library vs. a binary. The binary is now an example bootloader instead.
* Merge pull request #822 from embassy-rs/remove-authorsDario Nieuwenhuis2022-06-188-8/+0
|\ | | | | Remove the authors field from Cargo.tomls
| * Remove the authors field from Cargo.tomlsDario Nieuwenhuis2022-06-188-8/+0
| | | | | | | | | | | | | | | | | | | | | | It currently contains whoever was first to write some code for the crate, even if many more people have contributed to it later. The field is "sort of" deprecated, it was made optional recently: https://rust-lang.github.io/rfcs/3052-optional-authors-field.html Due the the reasons listed there I believe removing it is better than setting it to generic fluff like "The Embassy contributors".
* | Merge pull request #821 from embassy-rs/defmt-traceDario Nieuwenhuis2022-06-189-0/+27
|\ \ | |/ |/| Add env DEFMT_LOG=trace to all examples.
| * Add env DEFMT_LOG=trace to all examples.Dario Nieuwenhuis2022-06-189-0/+27
| |
* | Update to 2021 edition. (#820)Dario Nieuwenhuis2022-06-185-5/+5
|/
* Run rustfmt.Dario Nieuwenhuis2022-06-1216-85/+41
|
* fix build adding missing time-tick feature.Dario Nieuwenhuis2022-05-317-7/+7
|
* boot/stm32: autodetect thumbv6, remove cargo feature.Dario Nieuwenhuis2022-05-312-2/+2
|
* Async shared bus for SPI & I2C + rename embassy-traits (#769)Henrik Alsér2022-05-2616-16/+16
| | | | | | | | | | | | | | | | | | | * Rename embassy-traits to embassy-embedded-hal * Rename embassy-traits to embassy-embedded-hal * Add shared bus for SPI and I2C * rustfmt * EHA alpha 1 * Rename embedded-traits in examples * rustfmt * rustfmt Co-authored-by: Henrik Alsér <[email protected]>
* Add H7 flash and bootloader supportMatous Hybl2022-05-069-0/+210
|
* Add F7 flash and bootloader supportMatous Hybl2022-05-069-0/+210
|
* Add support for F3 flashMatous Hybl2022-05-067-0/+182
|
* Fix linker script for nrf bootloader exampleUlf Lilleengen2022-04-284-1/+24
|