Anyone interested in Arduino Environment?
Posted: Thu Jan 07, 2016 11:37 am
I've translated over just about everything over from ESP8266.
I have the following hardware working:
HSPI and VSPI SPI busses attached to any pin
UART 0 and 1 (0 is attached to pins 1 and 3) UART 1 can be attached to any pins
pinMode/digitalRead/digitalWrite/attachInterrupt
analogRead (duh) SDK functions are exposed (same goes for touch pads)
4 types of PWM! SigmaDelta, LEDC_HF, LEDC_LF and the old style based on timer (currently the one attached to analogWrite)
ccompare and 1 hardware timers with Interrupts
pinMatrix functions for easy signal routing (those are mostly the same as the ones in the driver lib)
Mostly everything should work the same as on ESP8266. Some methods are removed from the ESP and WiFi classes as they are not available anymore.
UDP Multicasts are not build into lwip yet so any service that depends on them would not work (mDNS, SSDP and such).
ArduinoOTA is also not working yet as it requires different rom layout.
Toolchains that I have tested and are working:
Mac OS X: http://static.ficeto.com/xtensa-esp108-elf-osx.tar.gz
Linux 32: http://static.ficeto.com/xtensa-esp108- ... x32.tar.gz
Linux 64: http://static.ficeto.com/xtensa-esp108- ... x64.tar.gz
Windows 32: http://static.ficeto.com/xtensa-esp108-elf-cygwin32.zip << Needs https://cygwin.com/setup-x86.exe installed (defaults are fine) and "C:\cygwin\bin" added to Path
Windows 64: http://static.ficeto.com/xtensa-esp108-elf-cygwin64.zip << Needs https://cygwin.com/setup-x86_64.exe installed (defaults are fine) and "C:\cygwin64\bin" added to Path
To compile sketches you need one of the toolchains above or to build it yourself. The toolchain should go inside the "ESP31B/tools" folder.
For Windows, Python2.7 needs to be installed and in Path.
I include inside my Async TCP and Web server as well (regular blocking server and client are there also) for those that want to run full speed and handle more than one client at a time.
https://github.com/me-no-dev/ESP31B
I have the following hardware working:
HSPI and VSPI SPI busses attached to any pin
UART 0 and 1 (0 is attached to pins 1 and 3) UART 1 can be attached to any pins
pinMode/digitalRead/digitalWrite/attachInterrupt
analogRead (duh) SDK functions are exposed (same goes for touch pads)
4 types of PWM! SigmaDelta, LEDC_HF, LEDC_LF and the old style based on timer (currently the one attached to analogWrite)
ccompare and 1 hardware timers with Interrupts
pinMatrix functions for easy signal routing (those are mostly the same as the ones in the driver lib)
Mostly everything should work the same as on ESP8266. Some methods are removed from the ESP and WiFi classes as they are not available anymore.
UDP Multicasts are not build into lwip yet so any service that depends on them would not work (mDNS, SSDP and such).
ArduinoOTA is also not working yet as it requires different rom layout.
Toolchains that I have tested and are working:
Mac OS X: http://static.ficeto.com/xtensa-esp108-elf-osx.tar.gz
Linux 32: http://static.ficeto.com/xtensa-esp108- ... x32.tar.gz
Linux 64: http://static.ficeto.com/xtensa-esp108- ... x64.tar.gz
Windows 32: http://static.ficeto.com/xtensa-esp108-elf-cygwin32.zip << Needs https://cygwin.com/setup-x86.exe installed (defaults are fine) and "C:\cygwin\bin" added to Path
Windows 64: http://static.ficeto.com/xtensa-esp108-elf-cygwin64.zip << Needs https://cygwin.com/setup-x86_64.exe installed (defaults are fine) and "C:\cygwin64\bin" added to Path
To compile sketches you need one of the toolchains above or to build it yourself. The toolchain should go inside the "ESP31B/tools" folder.
For Windows, Python2.7 needs to be installed and in Path.
I include inside my Async TCP and Web server as well (regular blocking server and client are there also) for those that want to run full speed and handle more than one client at a time.
https://github.com/me-no-dev/ESP31B