1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Basic support for esp8266 platform

This includes empty stubs for most core Arduino functions.
Need to actually implement all those digital reads writes whatever.
Need to prebuild toolchains (xtensa-elf-lx106) for 3 platforms and put them on some download server.
Need to do the same with esptool.
Need to fix 0x40000 binary generation and add correct upload commands.
Maybe even implement uploads over WiFi.
This commit is contained in:
Ivan Grokhotkov
2014-11-15 10:45:08 +03:00
parent 34c40b224f
commit a12c6fcea2
64 changed files with 6613 additions and 0 deletions

View File

@ -127,6 +127,8 @@
</fileset>
</copy>
<chmod file="${target.path}/hardware/tools/esp8266/esptool" perm="755" />
<!-- copy shared examples folder -->
<copy todir="${target.path}/examples">
<fileset dir="shared/examples" />
@ -274,6 +276,14 @@
</antcall>
<copy file="macosx/libastylej/libastylej.jnilib" todir="macosx/work/Arduino.app/Contents/Resources/Java/lib/" />
<chmod perm="755" file="macosx/work/Arduino.app/Contents/Resources/Java/lib/libastylej.jnilib" />
<antcall target="untar">
<param name="archive_file" value="./osx-xtensa-lx106-elf.tgz" />
<!--param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.04.zip" / -->
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/xtensa-lx106-elf" />
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tools/esp8266/" />
</antcall>
</target>
<target name="macosx-run" depends="macosx-build" description="Run Mac OS X version">