diff --git a/boards/stm32f4discovery/dist/flash.sh b/boards/stm32f4discovery/dist/flash.sh index 10b482c02fccae22e03e447b08d9c43aa29312b5..4fa678b82f2019e2df419d661207d7c341363a4c 100755 --- a/boards/stm32f4discovery/dist/flash.sh +++ b/boards/stm32f4discovery/dist/flash.sh @@ -9,7 +9,6 @@ openocd -f "board/stm32f4discovery.cfg" \ -c "reset" \ -c "halt" \ -c "flash protect 0 0 11 off" \ - -c "flash erase_address 0x08000000 0x100000" \ -c "flash write_image erase $1 0 ihex" \ -c "verify_image $1" \ -c "reset run"\