- 24 Jun, 2016 1 commit
-
-
Johny Mattsson authored
This fixes the rather unexpected Fatal Exception(9) crashes when executing something as trivial as "=type(4)". Also ensured the #if/#else structure will complain loudly next time we port to a new board.
-
- 23 Jun, 2016 1 commit
-
-
Johny Mattsson authored
New driver is a three-way merger between Espressif's esp8266-rtos-sdk example driver, Espressif's esp32-rtos-sdk not-example driver, and the previous NodeMCU driver, plus some general clean-ups. Basic interactivity is now available on the ESP32!
-
- 01 Jun, 2016 1 commit
-
-
Johny Mattsson authored
The old NodeMCU puts() did not do the standard newline, while the RTOS C library one certainly does.
-
- 30 May, 2016 1 commit
-
-
Johny Mattsson authored
Uart driver currently disabled as it's not (yet) compatible with RTOS. Running Lua task with excessive stack to avoid smashing it; need to work out what's using so much stack space. Changed some flash reading functions to not attempt to drop an entire 4k flash page onto the stack. Ensure the task pump doesn't attempt to retrieve from uninitialised queues.
-
- 26 May, 2016 1 commit
-
-
Johny Mattsson authored
c_strtod and c_getenv are kept since strtod doesn't appear in the SDK's libc, and we want our own c_getenv to initialize the Lua main anyway.
-
- 20 Mar, 2016 1 commit
-
-
philip authored
-
- 11 Mar, 2016 1 commit
-
-
TerryE authored
-
- 26 Feb, 2016 1 commit
-
-
TerryE authored
AFAIK no one uses the wifi.startsmart() and wifi.stopsmart(). Removing them frees up an extra 20-25K of Flash to use as filesystem. So I have added a new config define WIFI_SMART_ENABLE which is enabled by default so the default functionality is the same, but if this is commented out then this code is omitted. I have also removed wofs and upgrade from this build as we no longer support these.
-
- 23 Jan, 2016 1 commit
-
-
devsaurus authored
-
- 23 Dec, 2015 1 commit
-
-
Johny Mattsson authored
Removed earlier TCP port randomisation fix - the new SDK has its own fix even though Espressif told me they wouldn't fix it. Yay?
-
- 16 Dec, 2015 1 commit
-
-
Johny Mattsson authored
Module creation & registration now made a lot simpler. In essence, each module file is now self-contained and only needs a NODEMCU_MODULE(MYNAME, "myname", myname_map, luaopen_myname); line to both be automatically recognised by the Lua initialization as well as honor the LUA_USE_MODULES_MYNAME #define.
-
- 12 Dec, 2015 1 commit
-
-
Johny Mattsson authored
As per #810 & #796, only LUA_OPTIMIZE_MEMORY=2 & MIN_OPT_LEVEL=2 are supported when building. This commit effects that limitation. With this change modules/auxmods.h no longer needs to be updated for every new module, nor do module writers need to cater for a hypothetical LUA_OPTIMIZE_MEMORY < 2 scenario.
-
- 05 Dec, 2015 1 commit
-
-
Nick Andrew authored
When lua assertions are enabled, normal operation results in many: lobject.c:88: (((t1)->tt) == 4) lobject.c:88: (((t2)->tt) == 4) lobject.c:88: (((t1)->tt) == 4) lobject.c:88: (((t2)->tt) == 4) lobject.c:88: (((t1)->tt) == 4) lobject.c:88: (((t2)->tt) == 4) It comes from using the pvalue() macro for 3 pointer types, where pvalue() also checks the type of pointer and complains through the assertion where the type == 4 (TLIGHTUSERDATA). Use the correct macro according to the type of data being compared to eliminate this assertion error. Signed-off-by:
Nick Andrew <nick@nick-andrew.net>
-
- 03 Dec, 2015 1 commit
-
-
TerryE authored
-
- 01 Dec, 2015 1 commit
-
-
Johny Mattsson authored
It really does not improve things...
-
- 22 Nov, 2015 1 commit
-
-
devsaurus authored
-
- 18 Nov, 2015 1 commit
-
-
devsaurus authored
-
- 08 Nov, 2015 1 commit
-
-
TerryE authored
-
- 03 Nov, 2015 3 commits
- 12 Oct, 2015 3 commits
-
-
Johny Mattsson authored
It was piggybacking on the Lua readline timer which no longer exists. Also cleaned up injection of Lua commands via CoAP & node.input().
-
Johny Mattsson authored
The Lua input timer has been the thorn in the side which prevents a lot of potential sleeping, unnecessarily.
-
Johny Mattsson authored
-
- 05 Apr, 2015 1 commit
-
-
cal authored
-
- 14 Mar, 2015 1 commit
-
-
Erant authored
-
- 06 Mar, 2015 3 commits
- 01 Mar, 2015 1 commit
-
-
devsaurus authored
-
- 14 Feb, 2015 1 commit
-
-
funshine authored
-
- 13 Feb, 2015 3 commits
- 12 Feb, 2015 1 commit
-
-
funshine authored
-
- 11 Feb, 2015 1 commit
-
-
HuangRui authored
-
- 26 Jan, 2015 1 commit
-
-
HuangRui authored
Changed %.14g to %g. Add c_sprintf definition.
-
- 25 Jan, 2015 1 commit
-
-
HuangRui authored
-
- 24 Jan, 2015 1 commit
-
-
funshine authored
-
- 07 Jan, 2015 1 commit
-
-
funshine authored
-