set -e # Exit on error sudo openocd -f ./raspberrypi-swd0.cfg -f target/nordic/nrf54l.cfg -c "init; targets; shutdown" echo "swd0 linkcheck success." sudo openocd -f ./raspberrypi-swd1.cfg -f target/nordic/nrf54l.cfg -c "init; targets; shutdown" echo "swd1 linkcheck success." echo "✅ Linkcheck complete."