nodemcu-firmware/app/modules
Johny Mattsson 224788b642 Make NodeMCU compile and link for ESP32.
A fair bit of reshuffling with include paths and overrides was necessary, as
the two RTOS SDKs (ESP8266 and ESP32) don't have the same header structure
(or even libraries for that matter). Uses the xtensa-esp108-elf toolchain
to build.

Completely untested beyond linking, as I still can't flash the ESP32 module
I have :(  I'd be most surprised if it does anything useful at this point
considering I've spent almost no time on the linker script or UART setup.

Anything using espconn has been ifdef'd out since espconn is not (and
probably will not be) available. Notably this includes the entire net module
as well as coap, mqtt and enduser_setup.

Many (most?) hardware bus drivers and related modules are also ifdef'd
out for now due to hardware differences. Functions surrounding sleep,
rtc and RF modes have also been hit by the ifdef hammer. Grep'ing for
__ESP8266__ and/or FIXME is a quick way of finding these places. With
time I hope all of these will be reinstated.
2016-06-09 18:40:56 +10:00
..
.gitignore Adds support for verifying the certificate offered by an SSL server. 2016-03-09 21:51:23 -05:00
Makefile Make the wifi.smart functions options and remove wofs and upgrade 2016-02-26 17:23:38 +00:00
adc.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
am2320.c Initial pass at switching to RTOS SDK. 2016-05-24 16:05:02 +10:00
apa102.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
bit.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
bme280.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
bmp085.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
cjson.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
coap.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
crypto.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
dht.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
encoder.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
enduser_setup.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
file.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
gpio.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
http.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
hx711.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
i2c.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
linit.c Fix break in luac.cross build and add some documentation 2016-03-03 02:03:23 +00:00
mdns.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
mqtt.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
net.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
node.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
ow.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
perf.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
pwm.c Omit all the PWM code if the PWM module is not included 2016-03-01 21:55:21 -05:00
rc.c Initial pass at switching to RTOS SDK. 2016-05-24 16:05:02 +10:00
rotary.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
rtcfifo.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
rtcmem.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
rtctime.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
sigma_delta.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
sntp.c Updated SNTP module for RTOS compatibility. 2016-06-01 17:14:08 +10:00
spi.c Extend data type for spi miso/mosi buffer offset to 16 bit. 2016-02-09 22:05:05 +01:00
struct.c Direct port of the struct module that provides access to 2016-02-13 08:32:25 -05:00
tmr.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
tsl2561.c Reworked module registration, removed modules.h 2015-12-16 16:09:16 +11:00
u8g.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
uart.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
ucg.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
wifi.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
wifi_common.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
wifi_common.h Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
wifi_eventmon.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00
ws2801.c Make NodeMCU compile and link for ESP32. 2016-06-09 18:40:56 +10:00
ws2812.c Remove conflicting libc, rename c_xx and os_xx to xx. 2016-05-26 18:50:20 +10:00