mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-19 08:52:15 +01:00
Add arduinoOTA upload tool
This commit is contained in:
parent
10bd41f5ac
commit
a418f483f6
@ -89,6 +89,7 @@
|
||||
<property name="LIBLISTSERIAL-VERSION" value="1.4.0" />
|
||||
<property name="AVRGCC-VERSION" value="4.9.2-atmel3.5.3-arduino2" />
|
||||
<property name="AVRDUDE-VERSION" value="6.3.0-arduino8" />
|
||||
<property name="arduinoOTA-VERSION" value="1.0.0" />
|
||||
|
||||
<!-- Libraries required for running arduino -->
|
||||
<fileset dir=".." id="runtime.jars">
|
||||
@ -496,6 +497,8 @@
|
||||
<param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
||||
<param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-i386-apple-darwin11.tar.bz2"/>
|
||||
<param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
||||
<param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-osx.tar.bz2"/>
|
||||
<param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
||||
</antcall>
|
||||
|
||||
<chmod perm="+x">
|
||||
@ -721,6 +724,8 @@
|
||||
<param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
||||
<param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-armhf-pc-linux-gnu.tar.bz2"/>
|
||||
<param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
||||
<param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-linuxarm.tar.bz2"/>
|
||||
<param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
@ -751,6 +756,8 @@
|
||||
<param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
||||
<param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-i686-pc-linux-gnu.tar.bz2"/>
|
||||
<param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
||||
<param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-linux32.tar.bz2"/>
|
||||
<param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
@ -781,6 +788,8 @@
|
||||
<param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
||||
<param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-x86_64-pc-linux-gnu.tar.bz2"/>
|
||||
<param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
||||
<param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-linux64.tar.bz2"/>
|
||||
<param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
@ -1067,6 +1076,8 @@
|
||||
<param name="gcc_version" value="${AVRGCC-VERSION}"/>
|
||||
<param name="avrdude_archive_file" value="avrdude-${AVRDUDE-VERSION}-i686-w64-mingw32.zip"/>
|
||||
<param name="avrdude_version" value="${AVRDUDE-VERSION}"/>
|
||||
<param name="arduinoOTA_archive_file" value="arduinoOTA-${arduinoOTA-VERSION}-windows.zip"/>
|
||||
<param name="arduinoOTA_version" value="${arduinoOTA-VERSION}"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
@ -1152,10 +1163,21 @@
|
||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/"/>
|
||||
</antcall>
|
||||
|
||||
<mkdir dir="${staging_folder}/work/${staging_hardware_folder}/tmp/arduinoOTA"/>
|
||||
|
||||
<antcall target="${unpack_target}">
|
||||
<param name="archive_file" value="${staging_folder}/${arduinoOTA_archive_file}"/>
|
||||
<param name="archive_url" value="http://downloads.arduino.cc/tools/${arduinoOTA_archive_file}"/>
|
||||
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/arduinoOTA/${arduinoOTA_version}"/>
|
||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/arduinoOTA/"/>
|
||||
</antcall>
|
||||
|
||||
<move file="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/avr" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/avr"/>
|
||||
<move file="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/avrdude" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/avr"/>
|
||||
<move file="${staging_folder}/work/${staging_hardware_folder}/tmp/arduinoOTA/" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/avr"/>
|
||||
|
||||
<echo append="true" file="${staging_folder}/work/${staging_hardware_folder}/tools/avr/builtin_tools_versions.txt" message="arduino.avrdude=${avrdude_version}${line.separator}"/>
|
||||
<echo append="true" file="${staging_folder}/work/${staging_hardware_folder}/tools/avr/builtin_tools_versions.txt" message="arduino.arduinoOTA=${arduinoOTA_version}${line.separator}"/>
|
||||
<echo append="true" file="${staging_folder}/work/${staging_hardware_folder}/tools/avr/builtin_tools_versions.txt" message="arduino.avr-gcc=${gcc_version}${line.separator}"/>
|
||||
|
||||
<delete dir="${staging_folder}/work/${staging_hardware_folder}/tmp"/>
|
||||
|
1
build/linux/arduinoOTA-1.0.0-linux32.tar.bz2.sha
Normal file
1
build/linux/arduinoOTA-1.0.0-linux32.tar.bz2.sha
Normal file
@ -0,0 +1 @@
|
||||
ea57315a2dc1ebadd219684ad720acc29914e5ea
|
1
build/linux/arduinoOTA-1.0.0-linux64.tar.bz2.sha
Normal file
1
build/linux/arduinoOTA-1.0.0-linux64.tar.bz2.sha
Normal file
@ -0,0 +1 @@
|
||||
597dabb3a04c8036c38985c424e11be245a2a88c
|
1
build/linux/arduinoOTA-1.0.0-linuxarm.tar.bz2.sha
Normal file
1
build/linux/arduinoOTA-1.0.0-linuxarm.tar.bz2.sha
Normal file
@ -0,0 +1 @@
|
||||
9f0b23cc318f4cf88561884b4857a292438685e8
|
1
build/macosx/arduinoOTA-1.0.0-osx.tar.bz2.sha
Normal file
1
build/macosx/arduinoOTA-1.0.0-osx.tar.bz2.sha
Normal file
@ -0,0 +1 @@
|
||||
3d9f65a3313ca4447e502df82ce6f433552090e5
|
1
build/windows/arduinoOTA-1.0.0-windows.zip.sha
Normal file
1
build/windows/arduinoOTA-1.0.0-windows.zip.sha
Normal file
@ -0,0 +1 @@
|
||||
474366736c4a9a15ab8f228e2c198be44fced561
|
@ -95,7 +95,7 @@ tools.avrdude.path={runtime.tools.avrdude.path}
|
||||
tools.avrdude.cmd.path={path}/bin/avrdude
|
||||
tools.avrdude.config.path={path}/etc/avrdude.conf
|
||||
|
||||
tools.avrdude.network_cmd={runtime.tools.arduinoota.path}/bin/arduinoota
|
||||
tools.avrdude.network_cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA
|
||||
|
||||
tools.avrdude.upload.params.verbose=-v
|
||||
tools.avrdude.upload.params.quiet=-q -q
|
||||
|
@ -59,6 +59,11 @@
|
||||
"packager": "arduino",
|
||||
"name": "avrdude",
|
||||
"version": "6.3.0-arduino8"
|
||||
},
|
||||
{
|
||||
"packager": "arduino",
|
||||
"name": "arduinoOTA",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -145,6 +150,47 @@
|
||||
"url": "http://downloads.arduino.cc/tools/avr-gcc-4.9.2-atmel3.5.3-arduino2-x86_64-pc-linux-gnu.tar.bz2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "arduinoOTA",
|
||||
"version": "1.0.0",
|
||||
"systems": [
|
||||
{
|
||||
"size": "2044124",
|
||||
"checksum": "SHA-256:850a86876403cb45c944590a8cc7f9d8ef6d53ed853f7a9593ec395c4c1c6b2d",
|
||||
"host": "i686-linux-gnu",
|
||||
"archiveFileName": "arduinoOTA-1.0.0-linux32.tar.bz2",
|
||||
"url": "http://downloads.arduino.cc/tools/arduinoOTA-1.0.0-linux32.tar.bz2"
|
||||
},
|
||||
{
|
||||
"size": "2178772",
|
||||
"checksum": "SHA-256:f01f25e02787492a8a30414230635adae76ed85228045437433892d185991f9e",
|
||||
"host": "x86_64-linux-gnu",
|
||||
"archiveFileName": "arduinoOTA-1.0.0-linux64.tar.bz2",
|
||||
"url": "http://downloads.arduino.cc/tools/arduinoOTA-1.0.0-linux64.tar.bz2"
|
||||
},
|
||||
{
|
||||
"size": "1961623",
|
||||
"checksum": "SHA-256:0ca6c0a93bfad50be0b6e62dc51ba6c3267b809bab4ec91ef9606ab7d838e46b",
|
||||
"host": "arm-linux-gnueabihf",
|
||||
"archiveFileName": "arduinoOTA-1.0.0-linuxarm.tar.bz2",
|
||||
"url": "http://downloads.arduino.cc/tools/arduinoOTA-1.0.0-linuxarm.tar.bz2"
|
||||
},
|
||||
{
|
||||
"size": "2180617",
|
||||
"checksum": "SHA-256:e63c6034da2c1a7fe453eaa29c22df88627cc0aa3c5cbab7635c19367b74ee59",
|
||||
"host": "i386-apple-darwin11",
|
||||
"archiveFileName": "arduinoOTA-1.0.0-osx.tar.bz2",
|
||||
"url": "http://downloads.arduino.cc/tools/arduinoOTA-1.0.0-osx.tar.bz2"
|
||||
},
|
||||
{
|
||||
"size": "2247970",
|
||||
"checksum": "SHA-256:7bced1489217e07661ea1e75702a10a874b54f6146e2414ee47684c7eac014d1",
|
||||
"host": "i686-mingw32",
|
||||
"archiveFileName": "arduinoOTA-1.0.0-windows.zip",
|
||||
"url": "http://downloads.arduino.cc/tools/arduinoOTA-1.0.0-windows.zip"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user