diff options
Diffstat (limited to 'board/discovery-stm32f072/Makefile')
l---------[-rw-r--r--] | board/discovery-stm32f072/Makefile | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/board/discovery-stm32f072/Makefile b/board/discovery-stm32f072/Makefile index 20874220b1..94aaae2c4d 100644..120000 --- a/board/discovery-stm32f072/Makefile +++ b/board/discovery-stm32f072/Makefile @@ -1,20 +1 @@ -# Copyright (c) 2014 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# -# Simple flashing command to reflash the discovery board using openocd -# -.PHONY: flash - -flash: - sudo openocd -f board/stm32f0discovery.cfg \ - -c "gdb_port 0" \ - -c "tcl_port 0" \ - -c "telnet_port 0" \ - -c "init" \ - -c "reset init" \ - -c "flash write_image erase ../../build/discovery-stm32f072/ec.bin 0x08000000" \ - -c "reset halt" \ - -c "resume" \ - -c "shutdown" +../../Makefile
\ No newline at end of file |