mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-13 10:29:35 +01:00
[sam] have the adk2 use the adk2install tool to flash and reboot a board
This commit is contained in:
parent
afe66ac82b
commit
b99d525a91
@ -395,6 +395,8 @@
|
||||
<chmod perm="755" file="linux/work/hardware/tools/avrdude" />
|
||||
<chmod perm="755" file="linux/work/hardware/tools/bossac" />
|
||||
<chmod perm="755" file="linux/work/hardware/tools/bossac64" />
|
||||
<chmod perm="755" file="linux/work/hardware/tools/adk2tool" />
|
||||
<chmod perm="755" file="linux/work/hardware/tools/adk2install" />
|
||||
|
||||
<copy todir="linux/work" file="linux/dist/arduino" />
|
||||
<chmod perm="755" file="linux/work/arduino" />
|
||||
|
@ -33,7 +33,7 @@ arduino_due_x.build.pid=0x003e
|
||||
##############################################################
|
||||
|
||||
adk2.name=Google ADK2
|
||||
adk2.upload.tool=bossac
|
||||
adk2.upload.tool=adk2install
|
||||
adk2.upload.protocol=sam-ba
|
||||
adk2.upload.maximum_size=49152
|
||||
adk2.build.mcu=cortex-m3
|
||||
|
@ -61,3 +61,13 @@ tools.bossac.upload.params.verbose=-i -d
|
||||
tools.bossac.upload.params.quiet=
|
||||
tools.bossac.upload.pattern={path}/{cmd} {upload.verbose} --port={serial.port.file} -e -w -v -b {build.path}/{build.project_name}.bin
|
||||
|
||||
# specialized tool for adk2 to twiddle the erase line before running bossac
|
||||
tools.adk2install.cmd=adk2install
|
||||
tools.adk2install.cmd.windows=bossac.exe
|
||||
tools.adk2install.path={runtime.ide.path}/hardware/tools
|
||||
|
||||
tools.adk2install.upload.params.verbose=
|
||||
tools.adk2install.upload.params.quiet=
|
||||
tools.adk2install.upload.pattern={path}/{cmd} {path}/adk2tool {serial.port.file} {path}/bossac {build.path}/{build.project_name}.bin
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user