- 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
-
- 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
-
- 06 Jan, 2015 1 commit
-
-
funshine authored
-
- 05 Jan, 2015 2 commits
- 31 Dec, 2014 1 commit
-
-
funshine authored
-
- 30 Dec, 2014 3 commits
- 26 Dec, 2014 1 commit
-
-
funshine authored
-
- 22 Dec, 2014 1 commit
-
-
funshine authored
-