aboutsummaryrefslogtreecommitdiff
path: root/examples/boot/application/nrf
Commit message (Collapse)AuthorAgeFilesLines
* Bump executor crate version to 0.3.0Dániel Buga2023-08-231-1/+1
|
* Refactor firmware updaterUlf Lilleengen2023-08-061-4/+4
| | | | | * Allow manipulating state without accessing DFU partition. * Provide aligned buffer when creating updater to reduce potential wrong parameters passed.
* Release embassy-time v0.1.2Dario Nieuwenhuis2023-07-061-1/+1
|
* Update probe-rs-cli -> probe-rsDario Nieuwenhuis2023-06-291-2/+2
|
* Add firmware updater examples to CIUlf Lilleengen2023-06-192-2/+6
| | | | | | | | CI was not building the a.rs application due to the requirement of b.bin having been built first. Add a feature flag to examples so that CI can build them including a dummy application. Update a.rs application examples so that they compile again.
* Align examplesRasmus Melchior Jacobsen2023-05-301-5/+7
|
* Bump versions preparing for -macros and -executor releaseUlf Lilleengen2023-04-271-1/+1
|
* Switch from probe-run to probe-rs-cli.Dario Nieuwenhuis2023-04-261-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.
* embassy-boot: update ci and examples to use the nightly flagsander2023-04-201-2/+2
|
* enable inline-asm feature for cortex-m in examplespennae2023-04-181-2/+2
| | | | | | 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-131-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).
* 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
* 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-043-2/+6
| | | | The memory layout of the s140 crept into a number of memory files, which can cause confusion.
* Bump defmt-rtt to 0.4Dario Nieuwenhuis2022-11-291-1/+1
|
* all Cargo.toml: Add license to all crate Cargo.toml fileschrysn2022-10-071-0/+1
| | | | Closes: https://github.com/embassy-rs/embassy/issues/1002
* Update Rust nightly.Dario Nieuwenhuis2022-09-222-2/+0
| | | | Removes feature(generic_associated_types)
* Remove generic const expressions from embassy-bootUlf Lilleengen2022-09-021-1/+2
| | | | | | | | | * 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-221-1/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-183-4/+5
|
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-172-4/+6
|
* Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis2022-08-171-1/+1
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-293-6/+7
|
* Move bootloader main to examplesUlf Lilleengen2022-06-248-0/+194
This should remove some confusion around embassy-boot-* being a library vs. a binary. The binary is now an example bootloader instead.