1. 26 May, 2016 1 commit
  2. 24 May, 2016 1 commit
    • Johny Mattsson's avatar
      Initial pass at switching to RTOS SDK. · f3e2a3af
      Johny Mattsson authored
      This compiles, links, and starts the RTOS without crashing and burning.
      
      Lua environment does not yet start due to the different task architecture.
      
      Known pain points:
      
        - task implementation needs to be rewritten for RTOS (next up on my TODO)
      
        - secure espconn does not exist, all secure espconn stuff has been #if 0'd
      
        - lwip now built from within the RTOS SDK, but does not appear to include
          MDNS support. Investigation needed.
      
        - there is no access to FRC1 NMI, not sure if we ever actually used that
          however. Also #if 0'd out for now.
      
        - new timing constraints introduced by the RTOS, all use of ets_delay_us()
          and os_delay_us() needs to be reviewed (the tsl2561 driver in particular).
      
        - even more confusion with ets_ vs os_ vs c_ vs non-prefixed versions.
          In the long run everything should be switched to non-prefixed versions.
      
        - system_set_os_print() not available, needs to be reimplemented
      
        - all the RTOS rodata is loaded into RAM, as it apparently uses some
          constants while the flash isn't mapped, so our exception handler can't
          work its magic. This should be narrowed down to the minimum possible
          at some point.
      
        - with each task having its own stack in RTOS, we probably need change
          flash-page buffers from the stack to the heap in a bunch of places.
          A single, shared, page buffer *might* be possible if we limit ourselves
          to running NodeMCU in a single task.
      
        - there's a ton of junk in the sdk-overrides now; over time the core code
          should be updated to not need those shims
      f3e2a3af
  3. 29 Jan, 2016 2 commits
  4. 16 Dec, 2015 2 commits
    • 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
    • TerryE's avatar
      Major cleanup of module registration pass 2. · b773290b
      TerryE authored
      carrying on Johny's edits as per my comments on #810
      b773290b
  5. 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
  6. 18 Oct, 2015 1 commit
  7. 09 Aug, 2015 1 commit
  8. 05 Aug, 2015 1 commit
  9. 21 Jul, 2015 1 commit
  10. 20 Jul, 2015 2 commits
    • devsaurus's avatar
      added more displays: · 6fd106af
      devsaurus authored
          sh1106_128x64_i2c
          ssd1306_64x48_i2c
          ssd1309_128x64_i2c
          ssd1327_96x96_gr_i2c
          uc1611_dogm240_i2c
          uc1611_dogxl240_i2c
          ld7032_60x32_hw_spi
          pcd8544_84x48_hw_spi
          pcf8812_96x65_hw_spi
          sh1106_128x64_hw_spi
          ssd1306_64x48_hw_spi
          ssd1309_128x64_hw_spi
          ssd1322_nhd31oled_bw_hw_spi
          ssd1322_nhd31oled_gr_hw_spi
          ssd1325_nhd27oled_bw_hw_spi
          ssd1325_nhd27oled_gr_hw_spi
          ssd1327_96x96_gr_hw_spi
          ssd1351_128x128_332_hw_spi
          ssd1351_128x128gh_332_hw_spi
          ssd1351_128x128_hicolor_hw_spi
          ssd1351_128x128gh_hicolor_hw_spi
          ssd1353_160x128_332_hw_spi
          ssd1353_160x128_hicolor_hw_spi
          st7565_64128n_hw_spi
          st7565_dogm128_hw_spi
          st7565_dogm132_hw_spi
          st7565_lm6059_hw_spi
          st7565_lm6063_hw_spi
          st7565_nhd_c12832_hw_spi
          st7565_nhd_c12864_hw_spi
          uc1601_c128032_hw_spi
          uc1608_240x128_hw_spi
          uc1608_240x64_hw_spi
          uc1610_dogxl160_bw_hw_spi
          uc1610_dogxl160_gr_hw_spi
          uc1611_dogm240_hw_spi
          uc1611_dogxl240_hw_spi
          uc1701_dogs102_hw_spi
          uc1701_mini12864_hw_spi
      6fd106af
    • devsaurus's avatar
      simplify device/display macros · b8377260
      devsaurus authored
      b8377260
  11. 19 Jul, 2015 1 commit
  12. 16 Jul, 2015 2 commits
  13. 24 Jun, 2015 1 commit
  14. 15 May, 2015 2 commits
  15. 18 Mar, 2015 1 commit
  16. 13 Mar, 2015 1 commit
  17. 12 Mar, 2015 2 commits
  18. 11 Mar, 2015 1 commit
  19. 01 Mar, 2015 2 commits
  20. 25 Feb, 2015 1 commit
  21. 20 Feb, 2015 3 commits
  22. 19 Feb, 2015 2 commits
  23. 18 Feb, 2015 1 commit
  24. 10 Feb, 2015 1 commit
  25. 08 Feb, 2015 4 commits
  26. 06 Feb, 2015 1 commit
  27. 04 Feb, 2015 1 commit