balcony_weather_station/flash.sh

6 lines
179 B
Bash
Executable file

#!/bin/sh
echo Flashing $1
echo ------------------------
openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program ${1}.elf verify reset exit"