1. 24 Jun, 2016 1 commit
    • Johny Mattsson's avatar
      Teach Lua LTR about ESP32 drom0 location. · 79671aa5
      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.
      79671aa5
  2. 23 Jun, 2016 1 commit
    • Johny Mattsson's avatar
      Replaced UART driver. · afbbeb45
      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!
      afbbeb45
  3. 01 Jun, 2016 1 commit
  4. 30 May, 2016 1 commit
    • Johny Mattsson's avatar
      Boot to (nonresponsive) Lua prompt on RTOS! · 56789592
      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.
      56789592
  5. 26 May, 2016 1 commit
  6. 20 Mar, 2016 1 commit
  7. 11 Mar, 2016 1 commit
  8. 26 Feb, 2016 1 commit
    • TerryE's avatar
      Make the wifi.smart functions options and remove wofs and upgrade · 46ea2aa4
      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.
      46ea2aa4
  9. 23 Jan, 2016 1 commit
  10. 23 Dec, 2015 1 commit
  11. 16 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Reworked module registration, removed modules.h · 4e8ef87d
      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.
      4e8ef87d
  12. 12 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Major cleanup of module registration. · 6b6456be
      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.
      6b6456be
  13. 05 Dec, 2015 1 commit
    • Nick Andrew's avatar
      Remove the lobject.c:88 assertion failures · e9ee9a57
      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: default avatarNick Andrew <nick@nick-andrew.net>
      e9ee9a57
  14. 03 Dec, 2015 1 commit
  15. 01 Dec, 2015 1 commit
  16. 22 Nov, 2015 1 commit
  17. 18 Nov, 2015 1 commit
  18. 08 Nov, 2015 1 commit
  19. 03 Nov, 2015 3 commits
  20. 12 Oct, 2015 3 commits
  21. 05 Apr, 2015 1 commit
  22. 14 Mar, 2015 1 commit
  23. 06 Mar, 2015 3 commits
  24. 01 Mar, 2015 1 commit
  25. 14 Feb, 2015 1 commit
  26. 13 Feb, 2015 3 commits
  27. 12 Feb, 2015 1 commit
  28. 11 Feb, 2015 1 commit
  29. 26 Jan, 2015 1 commit
  30. 25 Jan, 2015 1 commit
  31. 24 Jan, 2015 1 commit
  32. 07 Jan, 2015 1 commit