nucleo download.sh; feature bootloader is now called BOOT_LOADER.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/22315c8e Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/22315c8e Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/22315c8e Branch: refs/heads/develop Commit: 22315c8e60977507c8f848665af18e79d81d8734 Parents: c4413a7 Author: Marko Kiiskila <ma...@runtime.io> Authored: Thu Oct 20 13:16:34 2016 -0700 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Thu Oct 20 13:16:34 2016 -0700 ---------------------------------------------------------------------- hw/bsp/nucleo-f401re/nucleo-f401re_download.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/22315c8e/hw/bsp/nucleo-f401re/nucleo-f401re_download.sh ---------------------------------------------------------------------- diff --git a/hw/bsp/nucleo-f401re/nucleo-f401re_download.sh b/hw/bsp/nucleo-f401re/nucleo-f401re_download.sh index d34e81a..0ecd779 100755 --- a/hw/bsp/nucleo-f401re/nucleo-f401re_download.sh +++ b/hw/bsp/nucleo-f401re/nucleo-f401re_download.sh @@ -25,7 +25,7 @@ # - FEATURES holds the target features string # - EXTRA_JTAG_CMD holds extra parameters to pass to jtag software # - +set -x if [ -z "$BIN_BASENAME" ]; then echo "Need binary to download" exit 1 @@ -35,7 +35,7 @@ IS_BOOTLOADER=0 # Look for 'bootloader' in FEATURES for feature in $FEATURES; do - if [ $feature == "bootloader" ]; then + if [ $feature == "BOOT_LOADER" ]; then IS_BOOTLOADER=1 fi done