1. 29 Sep, 2016 2 commits
  2. 28 Sep, 2016 3 commits
  3. 27 Sep, 2016 1 commit
  4. 26 Sep, 2016 2 commits
    • Johny Mattsson's avatar
      Most of the node module from dev. · 6349fc86
      Johny Mattsson authored
      node.dsleep() no longer takes options.
      node.output() not yet supported (needs syscall registration/chaining support)
      
      Dynamic CPU frequency changing not currently supported in the IDF.
      Various chip IDs not currently available/obtainable.
      Boot reason completely revamped in ESP32, will need new code.
      6349fc86
    • Johny Mattsson's avatar
      Updated to latest IDF. · 48bbe74c
      Johny Mattsson authored
      Lost some helpful macros when they changed the uart register header it seems.
      48bbe74c
  5. 23 Sep, 2016 1 commit
  6. 22 Sep, 2016 9 commits
  7. 21 Sep, 2016 4 commits
  8. 20 Sep, 2016 2 commits
    • Johny Mattsson's avatar
      Fixed NodeMCU boot banner. · 51fabc74
      Johny Mattsson authored
      Build for ESP32 on Travis.
      51fabc74
    • Johny Mattsson's avatar
      Successfully boot barebones NodeMCU on ESP32 (only). · 9bbf8f43
      Johny Mattsson authored
      RTOS driver evicted as it did not play nice with stdio etc.
      
      Implemented a minimal driver to fully support Lua console on UART0. Output
      on UART0 done via stdout (provided by the IDF). Input and setup handled
      via driver_console/console.c. In addition to the direct input function
      console_getc(), the driver also registers in the syscall tables to enable
      regular stdio input functions to work (yay!). The Lua VM is still using the
      direct interface since it's less overhead, but does also work when going
      through stdin/fd 0.
      
      Auto-bauding on the console is not yet functional; revisit when the UART docs
      are available.
      
      Module registration/linking/enabling moved over to be Kconfig based. See
      updates to base_nodemcu/include/module.h and base_nodemcu/Kconfig for
      details.
      
      The sdk-overrides directory/approach is no longer used. The IDF is simply
      too different to the old RTOS SDK - we need to adapt our code directly instead.
      
      Everything in app/ is now unused, and will need to be gradually migrated
      into components/ though it is probably better to migrate straight from the
      latest dev branch.
      9bbf8f43
  9. 16 Sep, 2016 1 commit
  10. 15 Sep, 2016 1 commit
  11. 25 Jun, 2016 1 commit
  12. 24 Jun, 2016 2 commits
    • 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
    • Johny Mattsson's avatar
      Sort out mapping of virtual <-> flash addresses. · b3e8eddf
      Johny Mattsson authored
      The irom0_flash.bin file gets written to offset 0x40000 in flash. Said file
      has the following layout
      
        | irom0 | text | data | rodata | chksum |
      
      ...so the previous approach of having a _flash_used_end symbol at the end of
      the irom0 section no longer gives us an accurate view of how much of the flash
      is used.
      b3e8eddf
  13. 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
  14. 22 Jun, 2016 1 commit
    • Johny Mattsson's avatar
      Disabled -Wl,--gc-sections for SDK libs. · f9c65b94
      Johny Mattsson authored
      Running without interrupt vectors not considered all that useful...
      
      Disabled flash-size-byte-setting and SPIFFS formatting on ESP32, for now
      at least, as both of these appeared to corrupt the flash and prevent
      subsequent boots.
      
      Disabled UART init on ESP32 until the driver gets updated.
      
      This now gets us to a banner on ESP32, but not yet a prompt.
      f9c65b94
  15. 21 Jun, 2016 2 commits
  16. 09 Jun, 2016 2 commits
    • Johny Mattsson's avatar
      Update TravisCI build instructions... · 4695eb3b
      Johny Mattsson authored
      ...to deal with the subdirs under bin/
      4695eb3b
    • 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
  17. 03 Jun, 2016 3 commits
  18. 02 Jun, 2016 2 commits