Skip to content

Commit

Permalink
update upload tool
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Jul 17, 2017
1 parent 59435ec commit 13aa30b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 13aa30b

Please sign in to comment.