mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Move tools to platform directory
This commit is contained in:
@ -387,24 +387,24 @@
|
|||||||
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/libexec/gcc/avr/4.8.1/*"/>
|
<fileset dir="${staging_folder}/work/${staging_hardware_folder}/tools" includes="**/libexec/gcc/avr/4.8.1/*"/>
|
||||||
</chmod>
|
</chmod>
|
||||||
|
|
||||||
<mkdir dir="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266" />
|
<mkdir dir="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools" />
|
||||||
|
|
||||||
<antcall target="untar">
|
<antcall target="untar">
|
||||||
<param name="archive_file" value="${staging_folder}/dist/osx-xtensa-lx106-elf.tgz" />
|
<param name="archive_file" value="${staging_folder}/dist/osx-xtensa-lx106-elf.tgz" />
|
||||||
<param name="archive_url" value="http://download.igrr.me/osx-xtensa-lx106-elf.tgz" />
|
<param name="archive_url" value="http://download.igrr.me/osx-xtensa-lx106-elf.tgz" />
|
||||||
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/xtensa-lx106-elf" />
|
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/xtensa-lx106-elf" />
|
||||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/" />
|
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
|
|
||||||
<antcall target="unzip">
|
<antcall target="unzip">
|
||||||
<param name="archive_file" value="${staging_folder}/esptool-0.4.3-osx.zip" />
|
<param name="archive_file" value="${staging_folder}/esptool-0.4.3-osx.zip" />
|
||||||
<param name="archive_url" value="https://github.com/igrr/esptool-ck/releases/download/0.4.3/esptool-0.4.3-osx.zip" />
|
<param name="archive_url" value="https://github.com/igrr/esptool-ck/releases/download/0.4.3/esptool-0.4.3-osx.zip" />
|
||||||
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-osx" />
|
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-osx" />
|
||||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/" />
|
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/" />
|
||||||
</antcall>
|
</antcall>
|
||||||
<move file="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-osx/esptool" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool" />
|
<move file="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-osx/esptool" tofile="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool" />
|
||||||
<delete dir="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-osx/" />
|
<delete dir="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-osx/" />
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@ -663,23 +663,21 @@
|
|||||||
|
|
||||||
<antcall target="package-library-index-json-bundle"/>
|
<antcall target="package-library-index-json-bundle"/>
|
||||||
|
|
||||||
<mkdir dir="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266" />
|
|
||||||
|
|
||||||
<antcall target="untar">
|
<antcall target="untar">
|
||||||
<param name="archive_file" value="${staging_folder}/dist/linux64-xtensa-lx106-elf.tgz" />
|
<param name="archive_file" value="${staging_folder}/dist/linux64-xtensa-lx106-elf.tgz" />
|
||||||
<param name="archive_url" value="http://download.igrr.me/linux64-xtensa-lx106-elf.tgz" />
|
<param name="archive_url" value="http://download.igrr.me/linux64-xtensa-lx106-elf.tgz" />
|
||||||
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/xtensa-lx106-elf" />
|
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/xtensa-lx106-elf" />
|
||||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/" />
|
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
<antcall target="unzip">
|
<antcall target="unzip">
|
||||||
<param name="archive_file" value="${staging_folder}/esptool-0.4.3-linux64.zip" />
|
<param name="archive_file" value="${staging_folder}/esptool-0.4.3-linux64.zip" />
|
||||||
<param name="archive_url" value="https://github.com/igrr/esptool-ck/releases/download/0.4.3/esptool-0.4.3-linux64.zip" />
|
<param name="archive_url" value="https://github.com/igrr/esptool-ck/releases/download/0.4.3/esptool-0.4.3-linux64.zip" />
|
||||||
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-linux64" />
|
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-linux64" />
|
||||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/" />
|
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/" />
|
||||||
</antcall>
|
</antcall>
|
||||||
<move file="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-linux64/esptool" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool" />
|
<move file="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-linux64/esptool" tofile="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool" />
|
||||||
<delete dir="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-linux64/" />
|
<delete dir="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-linux64/" />
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@ -917,24 +915,22 @@
|
|||||||
|
|
||||||
<antcall target="package-library-index-json-bundle"/>
|
<antcall target="package-library-index-json-bundle"/>
|
||||||
|
|
||||||
<mkdir dir="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266" />
|
|
||||||
|
|
||||||
<antcall target="untar">
|
<antcall target="untar">
|
||||||
<param name="archive_file" value="${staging_folder}/dist/win32-xtensa-lx106-elf.tgz" />
|
<param name="archive_file" value="${staging_folder}/dist/win32-xtensa-lx106-elf.tgz" />
|
||||||
<param name="archive_url" value="http://download.igrr.me/win32-xtensa-lx106-elf.tgz" />
|
<param name="archive_url" value="http://download.igrr.me/win32-xtensa-lx106-elf.tgz" />
|
||||||
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/xtensa-lx106-elf" />
|
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/xtensa-lx106-elf" />
|
||||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/" />
|
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
|
|
||||||
<antcall target="unzip">
|
<antcall target="unzip">
|
||||||
<param name="archive_file" value="${staging_folder}/esptool-0.4.3-win32.zip" />
|
<param name="archive_file" value="${staging_folder}/esptool-0.4.3-win32.zip" />
|
||||||
<param name="archive_url" value="https://github.com/igrr/esptool-ck/releases/download/0.4.3/esptool-0.4.3-win32.zip" />
|
<param name="archive_url" value="https://github.com/igrr/esptool-ck/releases/download/0.4.3/esptool-0.4.3-win32.zip" />
|
||||||
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-win32" />
|
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-win32" />
|
||||||
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/" />
|
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/" />
|
||||||
</antcall>
|
</antcall>
|
||||||
<move file="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-win32/esptool.exe" tofile="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool.exe" />
|
<move file="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-win32/esptool.exe" tofile="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool.exe" />
|
||||||
<delete dir="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/esptool-0.4.3-win32/" />
|
<delete dir="${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.3-win32/" />
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
name=ESP8266 Modules
|
name=ESP8266 Modules
|
||||||
version=1.6.1
|
version=1.6.1
|
||||||
|
|
||||||
compiler.tools.path={runtime.ide.path}/hardware/tools/esp8266/
|
compiler.tools.path={runtime.platform.path}/tools/
|
||||||
compiler.path={compiler.tools.path}xtensa-lx106-elf/bin/
|
compiler.path={compiler.tools.path}xtensa-lx106-elf/bin/
|
||||||
compiler.sdk.path={compiler.tools.path}sdk/
|
compiler.sdk.path={compiler.tools.path}sdk/
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ recipe.size.regex=^(?:\.text|\.data|\.rodata|\.irom0\.text|)\s+([0-9]+).*
|
|||||||
|
|
||||||
tools.esptool.cmd=esptool
|
tools.esptool.cmd=esptool
|
||||||
tools.esptool.cmd.windows=esptool.exe
|
tools.esptool.cmd.windows=esptool.exe
|
||||||
tools.esptool.path={runtime.ide.path}/hardware/tools/esp8266
|
tools.esptool.path={compiler.tools.path}
|
||||||
|
|
||||||
tools.esptool.upload.protocol=esp
|
tools.esptool.upload.protocol=esp
|
||||||
tools.esptool.upload.params.verbose=-vv
|
tools.esptool.upload.params.verbose=-vv
|
||||||
|
Reference in New Issue
Block a user