1. 09 Jun, 2016 1 commit
    • Johny Mattsson's avatar
      Make NodeMCU compile and link for ESP32. · 224788b6
      Johny Mattsson authored
      A fair bit of reshuffling with include paths and overrides was necessary, as
      the two RTOS SDKs (ESP8266 and ESP32) don't have the same header structure
      (or even libraries for that matter). Uses the xtensa-esp108-elf toolchain
      to build.
      
      Completely untested beyond linking, as I still can't flash the ESP32 module
      I have :(  I'd be most surprised if it does anything useful at this point
      considering I've spent almost no time on the linker script or UART setup.
      
      Anything using espconn has been ifdef'd out since espconn is not (and
      probably will not be) available. Notably this includes the entire net module
      as well as coap, mqtt and enduser_setup.
      
      Many (most?) hardware bus drivers and related modules are also ifdef'd
      out for now due to hardware differences. Functions surrounding sleep,
      rtc and RF modes have also been hit by the ifdef hammer. Grep'ing for
      __ESP8266__ and/or FIXME is a quick way of finding these places. With
      time I hope all of these will be reinstated.
      224788b6
  2. 26 May, 2016 1 commit
  3. 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
  4. 09 Apr, 2016 1 commit
  5. 10 Mar, 2016 1 commit
    • philip's avatar
      Adds support for verifying the certificate offered by an SSL server. · 501bd1fb
      philip authored
      Squashed commit of the following:
      
      commit 4439b8c45192f6dee1222df78bbb59f74509e0ee
      Author: philip <philip@gladstonefamily.net>
      Date:   Sun Mar 6 20:23:21 2016 -0500
      
          Fix the ignore
      
      commit a07ee5acdf91286607c3e2dce128c9b8bfd7bd80
      Author: philip <philip@gladstonefamily.net>
      Date:   Sun Mar 6 20:20:41 2016 -0500
      
          Remove uneeded stuff
      
      commit b3604ace92fc13b30161d385c354b0f1c5fe4046
      Author: philip <philip@gladstonefamily.net>
      Date:   Sun Mar 6 20:15:26 2016 -0500
      
          Remove client cert auth
      
      commit 6e48c633569630736a986cd07a59a12de954391e
      Author: philip <philip@gladstonefamily.net>
      Date:   Sun Mar 6 20:11:42 2016 -0500
      
          More cleanup
      
      commit d40eade405ef071d0d1b60d038566b5b8f2cafa3
      Author: philip <philip@gladstonefamily.net>
      Date:   Sat Mar 5 10:56:56 2016 -0500
      
          Move to almost working version
      
      commit 1860a2d90afa94461c53bd41251d4870d6527f9d
      Author: philip <philip@gladstonefamily.net>
      Date:   Fri Mar 4 08:04:09 2016 -0500
      
          Changed the naem to server-ca.crt
      
      commit e7a315660843273fe62943b7fe8ee6c0541dada2
      Author: philip <philip@gladstonefamily.net>
      Date:   Thu Mar 3 21:16:26 2016 -0500
      
          Update gitignores
      
      commit 2b037d185c396209b64381399c40821c15e1840e
      Author: philip <philip@gladstonefamily.net>
      Date:   Thu Mar 3 08:56:17 2016 -0500
      
          Getting better
      
      commit 763255cffba8e279158cd7f43391a3573efdeca8
      Author: philip <philip@gladstonefamily.net>
      Date:   Wed Mar 2 22:28:21 2016 -0500
      
          Works a bit better
      
      commit a38325d1a47dbad255cb3e681da8415e8cf699ea
      Author: philip <philip@gladstonefamily.net>
      Date:   Wed Mar 2 09:11:04 2016 -0500
      
          First building version
      
      commit 4aef13da33470ed954f2eaf5f7ac0ac3dcdf3774
      Merge: 180e147 ebb0c333
      Author: philip <philip@gladstonefamily.net>
      Date:   Tue Mar 1 22:03:06 2016 -0500
      
          Merge remote-tracking branch 'upstream/dev' into ssl-client
      
      commit 180e147c1abdcf4046ad9be9b3c1a48f4a875312
      Author: philip <philip@gladstonefamily.net>
      Date:   Sun Feb 28 21:34:21 2016 -0500
      
          Missing files from espressif
      
      Try to imporve layout
      
      Align the file names with the contents
      
      Missing file
      
      Review comments
      
      More review coments
      501bd1fb
  6. 26 Jan, 2016 1 commit
  7. 23 Jan, 2016 1 commit
  8. 29 Dec, 2015 1 commit