]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
flash/nor/rp2040: Avoid ROM call timeout on long erases by splitting into chunks
authorLuke Wren <luke@raspberrypi.com>
Thu, 25 Jul 2024 09:55:41 +0000 (10:55 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Fri, 25 Apr 2025 09:27:20 +0000 (09:27 +0000)
commitca966d3d7f28875e4872e691c3fdce27867ddab0
treee266c8fd3648e201668383c113b95e824ad7a18c
parent2e8e1a3da386685a2a572bcc85f043505a7b3d94
flash/nor/rp2040: Avoid ROM call timeout on long erases by splitting into chunks

Also add keep_alive() to erase/program to avoid nasty GDB message.

TV: Fixed style problems.

Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Signed-off-by: Luke Wren <luke@raspberrypi.com>
Change-Id: Ibb18775aeed192361ae1585bfdaad03760583cf3
Reviewed-on: https://review.openocd.org/c/openocd/+/8444
Tested-by: jenkins
Reviewed-by: Jonathan Bell <jonathan@raspberrypi.com>
src/flash/nor/rp2040.c