summaryrefslogtreecommitdiff
path: root/extmod
diff options
context:
space:
mode:
authorMike Bell <mdb036@gmail.com>2024-08-11 21:39:05 +0100
committerDamien George <damien@micropython.org>2025-04-08 11:00:14 +1000
commit89eea0f5e8d7fe2a1c0ca7c3bc1578b417d8fb8c (patch)
tree03b6c131fb9cab1bd7ecedf471f425e9f08287d0 /extmod
parentb7d5caf2a3e08fa90bbb09b43b29455e2c20eaf6 (diff)
rp2/rp2_flash: Support flash writes from PSRAM.
Add a 256 byte (FLASH_PAGE_SIZE) SRAM copy buffer to allow copies from PSRAM to flash. This would otherwise hardfault since PSRAM is disabled when doing a write to flash. Changes are: - ports/rp2/rp2_flash.c: Add 256 byte (flash page size) SRAM copy buffer for PSRAM to flash copies. - ports/rp2/rp2_flash.c: Invalidate the XIP cache to purge any PSRAM data before critical flash operations. Co-authored-by: Phil Howard <github@gadgetoid.com> Co-authored-by: Angus Gratton <angus@redyak.com.au> Signed-off-by: Phil Howard <github@gadgetoid.com>
Diffstat (limited to 'extmod')
0 files changed, 0 insertions, 0 deletions