aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/flash.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-2/+2
|
* Edition 2024.Dario Nieuwenhuis2025-10-061-3/+3
|
* Update Rust nightly, stable.Dario Nieuwenhuis2025-07-041-1/+5
|
* Merge pull request #3999 from embassy-rs/peripehral-v2Dario Nieuwenhuis2025-03-271-8/+7
|\ | | | | Remove Peripheral trait, rename PeripheralRef->Peri.
| * Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-8/+7
| |
* | rp: rename BOOTROM_BASE to BOOTRAM_BASEAdrian Wowk2025-03-261-4/+4
|/ | | | | | | Previously the constant pointing at the base of the bootram was incorrectly called BOOTROM_BASE. According to the datasheet, the bootrom is a 32K region starting at 0x00000000 while the bootram is a 1K region of SRAM starting at 0x400e0000.
* Fix commented out codeCaleb Jamison2024-09-041-1/+1
|
* rp235x flash support.Caleb Jamison2024-08-291-74/+61
| | | | | | | | | | | | | The 2350 doesn't have a boot2 like the 2040, but it does have the concept of a xip setup function that could be customized. By default the bootrom searches for the attached flash chip and provides an xip setup func at the base of the bootram. That bootram is not executable, so it still needs to be copied to ram like boot2 would be. Currently does not use inline assembly. Also switch to picotool, as elf2uf2 has not been patched to support the 2350.
* Import rom_data for the rp235x, don't use intrinsics on rp235xCaleb Jamison2024-08-261-20/+62
| | | | | | Many thanks to @thejpster for his work on the rom_data! Working around boot2 is currently a bit hacky for the rp235x, that will improve in upcoming rp235x flash pr.
* Fix commented out codeCaleb Jamison2024-08-131-1/+1
|
* Fix CI, rename private feature, address comments from dirbaio.Caleb Jamison2024-08-121-5/+9
|
* Initial rp235x supportCaleb Jamison2024-08-081-3/+22
| | | | Examples have been run, but there is not yet a test suite.
* Update nightly, fix error with rp inline asm.Dario Nieuwenhuis2024-07-161-6/+6
|
* rp/flash: implement `embedded_storage_async::nor_flash::MultiwriteNorFlash`Alexander van Saase2024-05-181-0/+5
|
* rp: remove mod sealed.Dario Nieuwenhuis2024-04-051-8/+8
|
* Merge branch 'embassy-rs:main' into barafael/minor_clippy_lints_rpRafael Bachmann2024-03-251-2/+0
|\
| * Fix warnings in recent nightly.Dario Nieuwenhuis2024-03-201-2/+0
| |
* | fix minor clippy lints in embassy_rpRafael Bachmann2024-03-181-2/+2
|/
* docs: document all embassy-rp public apisUlf Lilleengen2023-12-191-1/+41
| | | | Enable missing doc warnings.
* Remove nightly and unstable-traits features in preparation for 1.75.Dario Nieuwenhuis2023-11-291-2/+0
|
* rp2040: move in_ram helper outside of Flash's implScott Mansell2023-10-071-39/+39
| | | | Allow it to be called from other modules.
* rp/flash: change naming to `blocking_*`, `new_blocking`.Dario Nieuwenhuis2023-08-181-48/+52
| | | | | - Needed for consistency with other drivers. - Having two `new()` functions sometimes resulted in 'multiple applicable methods' errors.
* rp: add async flashDerek Hageman2023-07-281-9/+194
| | | | | | Implement an async flash mode using the XIP background best effort read interface. Only reads are actually async, write and erase remain blocking.
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+1
| | | | internal use only. (#1700)
* rp: update rp-pac.Dario Nieuwenhuis2023-06-161-1/+1
|
* rp: add run-from-ram feature.Dario Nieuwenhuis2023-06-061-1/+4
|
* rp/flash: centralize `USE_BOOT2` in a single const.Dario Nieuwenhuis2023-06-051-20/+21
|
* rp/flash: fix missing clobbers, do not clobber frame pointer (r7).Dario Nieuwenhuis2023-06-051-10/+11
|
* rp/flash: unify FLASH_BASE const.Dario Nieuwenhuis2023-06-051-8/+9
|
* ci: fix nrf, rp tests.Dario Nieuwenhuis2023-05-291-0/+1
|
* rp: Read flash unique id and jedec idkalkyl2023-05-161-0/+231
|
* Fix some typosDirk Stolle2023-05-081-1/+1
|
* rustfmtkalkyl2023-04-271-5/+1
|
* rp: DMA behaviour during FLASH operationskalkyl2023-04-271-14/+6
|
* Pause CORE1 execution during flash operationskalkyl2022-12-131-8/+21
|
* feat: embassy-boot for rp2040Ulf Lilleengen2022-12-021-0/+5
| | | | | | | Add embassy-boot support for RP2040, with examples for the Raspberry Pi Pico. Co-authored-by: Mathias Koch <[email protected]>
* Remove random delay from example, and move flash functions to allow using ↵Mathias2022-10-271-53/+67
| | | | without embedded-storage in scope
* Buffer data to be written to flash in ram if it does not already reside in ramMathias2022-10-261-7/+27
|
* Add flash example & flash HIL testMathias2022-10-261-7/+32
|
* Implement flash padding to 256 under assumption that all QSPI NOR flashes ↵Mathias2022-10-241-3/+53
| | | | are MultiwriteNorFlashes
* Add flash ram helpersMathias2022-09-291-0/+1
|\
| * First iteration attempt on implementing generic flash mutation access for RP2040Mathias2022-09-161-0/+100
|
* Drop rp2040-flash as dependency, as they pull in rp2040-hal for rom-data ↵Mathias2022-09-231-38/+291
| | | | functions, which are now part of this HAL as well
* First iteration attempt on implementing generic flash mutation access for RP2040Mathias2022-09-231-0/+100