# Copyright 2015 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. source [find board/stm32ldiscovery.cfg] # For flashing, force the board into reset on connect, this ensures that # code running on the core can't interfere with programming. reset_config connect_assert_srst gdb_port 0 tcl_port 0 telnet_port 0 init reset init flash write_image erase $BUILD_DIR/ec.bin 0x08000000 reset halt resume shutdown