From 13aa30be586dced8fb6f68172a72953c7a9e9503 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 17 Jul 2017 17:23:41 +0700 Subject: [PATCH] update upload tool --- platform.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/platform.txt b/platform.txt index 585e303..49ff111 100644 --- a/platform.txt +++ b/platform.txt @@ -97,15 +97,14 @@ recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).* # Uploader tools # ------------------- -# Upload using wiced_dfu, OSX/Linux require to install libusb-1.0 and dfu-util -tools.adafruit_upload.path={runtime.platform.path}/tools -tools.adafruit_upload.wiced_dfu.windows={path}/wiced_dfu/win32/wiced_dfu.exe -tools.adafruit_upload.wiced_dfu.linux={path}/wiced_dfu/linux64/wiced_dfu -tools.adafruit_upload.wiced_dfu.macosx={path}/wiced_dfu/osx/wiced_dfu +# Upload using wiced_dfu, Macos/Linux require to install libusb-1.0 and dfu-util +tools.adafruit_upload.path={runtime.tools.wiced_dfu.path} +tools.adafruit_upload.cmd=wiced_dfu +tools.adafruit_upload.cmd.windows=wiced_dfu.exe tools.adafruit_upload.upload.params.verbose=-v tools.adafruit_upload.upload.params.quiet= -tools.adafruit_upload.upload.pattern="{wiced_dfu}" {upload.subcommand} "{upload.binfile}" +tools.adafruit_upload.upload.pattern="{path}/{cmd}" {upload.subcommand} "{upload.binfile}" # Obsolete tool (for reference) # Upload using Adafruit bootloader over DFU.