summaryrefslogtreecommitdiff
path: root/examples/boot
AgeCommit message (Collapse)Author
2022-10-07all Cargo.toml: Add license to all crate Cargo.toml fileschrysn
Closes: https://github.com/embassy-rs/embassy/issues/1002
2022-09-30Remove flash lock/unlock public API from stm32 flash, and perform the ↵Mathias
unlocking and locking automatically on erase and write operations
2022-09-26Use firmware writer in stm32{f7, h7} example appUlf Lilleengen
The new FirmwareWriter is useful in particular for these architectures due to the large erase sector size.
2022-09-22Update Rust nightly.Dario Nieuwenhuis
Removes feature(generic_associated_types)
2022-09-20Remove BootFlash borrowUlf Lilleengen
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.
2022-09-04Merge #939bors[bot]
939: time: add more tick rates, use 1mhz as default. r=Dirbaio a=Dirbaio Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2022-09-02Remove generic const expressions from embassy-bootUlf Lilleengen
* 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
2022-09-02time: add more tick rates, use 1mhz as default.Dario Nieuwenhuis
2022-08-22split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis
2022-08-18Split embassy-time from embassy-executor.Dario Nieuwenhuis
2022-08-17Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis
2022-08-17Update to critical-section 1.0, atomic-polyfill 1.0Dario Nieuwenhuis
2022-07-29Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis
2022-07-05Use correct chip family name for exampleUlf Lilleengen
2022-06-29Fix RAM origin copy paste from nrfUlf Lilleengen
2022-06-27Add build.rs to detect armv6Ulf Lilleengen
2022-06-24Move bootloader main to examplesUlf Lilleengen
This should remove some confusion around embassy-boot-* being a library vs. a binary. The binary is now an example bootloader instead.
2022-06-18Merge pull request #822 from embassy-rs/remove-authorsDario Nieuwenhuis
Remove the authors field from Cargo.tomls
2022-06-18Merge pull request #821 from embassy-rs/defmt-traceDario Nieuwenhuis
Add env DEFMT_LOG=trace to all examples.
2022-06-18Remove the authors field from Cargo.tomlsDario Nieuwenhuis
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".
2022-06-18Update to 2021 edition. (#820)Dario Nieuwenhuis
2022-06-18Add env DEFMT_LOG=trace to all examples.Dario Nieuwenhuis
2022-06-12Run rustfmt.Dario Nieuwenhuis
2022-05-31fix build adding missing time-tick feature.Dario Nieuwenhuis
2022-05-31boot/stm32: autodetect thumbv6, remove cargo feature.Dario Nieuwenhuis
2022-05-26Async shared bus for SPI & I2C + rename embassy-traits (#769)Henrik Alsér
* 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 <henrik@mindbite.se>
2022-05-06Add H7 flash and bootloader supportMatous Hybl
2022-05-06Add F7 flash and bootloader supportMatous Hybl
2022-05-06Add support for F3 flashMatous Hybl
2022-04-28Fix linker script for nrf bootloader exampleUlf Lilleengen
2022-04-28Allow using separate page sizes for state and dfuUlf Lilleengen
* Less generics on bootloader. Keep PAGE_SIZE as a common multiple of DFU and ACTIVE page sizes. * Document restriction * Add unit tests for different page sizes
2022-04-27Add bootloader to CIUlf Lilleengen
2022-04-27Add stm32 flash + bootloader supportUlf Lilleengen
* Add flash drivers for L0, L1, L4, WB and WL. Not tested for WB, but should be similar to WL. * Add embassy-boot-stm32 for bootloading on STM32. * Add flash examples and bootloader examples * Update stm32-data
2022-04-19Support multiple flash instances in embassy-bootUlf Lilleengen
* Add FlashProvider and FlashConfig traits to define flash characteristics * Use traits in bootloader to retrieve flash handles and for copying data between flash instances * Add convenience implementations for using a single flash instance.
2022-02-09Add embassy-bootUlf Lilleengen
Embassy-boot is a simple bootloader that works together with an application to provide firmware update capabilities with a minimal risk. The bootloader consists of a platform-independent part, which implements the swap algorithm, and a platform-dependent part (currently only for nRF) that provides addition functionality such as watchdog timers softdevice support.