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. 02 Apr, 2016 1 commit
    • Jason Follas's avatar
      Corrected SPI CPOL/CPHA relationships · e16204d4
      Jason Follas authored
      * Corrected CPOL/CPHA relationships
      
      * Simplified to remove duplicated code
      
      * Removed comments about when MISO is sampled. ESP seems to sample MISO on same clock edge as when MOSI is set.
      e16204d4
  4. 09 Feb, 2016 2 commits
  5. 14 Jan, 2016 1 commit
  6. 27 Oct, 2015 1 commit
    • devsaurus's avatar
      simplify spi api · 9444ae28
      devsaurus authored
      duplex_mode configuration enables/disables receiving with spi.send()
      spi.send_recv removed
      9444ae28
  7. 25 Oct, 2015 1 commit
  8. 18 Oct, 2015 3 commits
  9. 04 Oct, 2015 1 commit
  10. 03 Oct, 2015 1 commit
  11. 04 Feb, 2015 1 commit
  12. 16 Jan, 2015 1 commit
  13. 22 Dec, 2014 1 commit