blob: 3c26bc3bcdce71bdbcad3df75cd0f6b1e3a81e72 [file] [log] [blame]
Brian Silverman2d9cf662013-12-18 14:22:49 -08001#!/bin/bash
2
3set -e
4
Brian Silverman1662a0e2013-12-19 17:50:01 -08005cd $(dirname $0)
6
Brian Silverman2d9cf662013-12-18 14:22:49 -08007[[ -d stm32flash ]] || ( git clone https://git.gitorious.org/stm32flash/stm32flash.git stm32flash &&
Brian Silverman11db9dd2014-01-01 16:29:22 -08008 cd stm32flash && git checkout 5b0e391c539e906df7b97f0b457875d90883ea8e && patch -p1 < ../0001-fixed-the-page-by-page-erase-logic.patch )
9
10# TODO(brians): This breaks the build of the main code. Figure out something
11# better for this stuff.
Brian Silverman2d9cf662013-12-18 14:22:49 -080012
13../../../aos/build/build.sh atom flasher.gyp no "$@"