- 04 Oct, 2016 3 commits
-
-
Johny Mattsson authored
Station connect/disconnect/scan, plus event handling via wifi.on().
-
Johny Mattsson authored
-
Johny Mattsson authored
-
- 03 Oct, 2016 4 commits
-
-
Johny Mattsson authored
Note need to use explicit wifi.start() at this point.
-
Johny Mattsson authored
-
Johny Mattsson authored
-
Johny Mattsson authored
We're already in the right context, there is no point posting back the Lua start, we can do it right then and there instead.
-
- 29 Sep, 2016 2 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
-
- 28 Sep, 2016 3 commits
-
-
Johny Mattsson authored
Only minor changes to make it IDF friendly.
-
Johny Mattsson authored
Implemented in terms of esp_log_level_set() at this point.
-
Johny Mattsson authored
-
- 27 Sep, 2016 1 commit
-
-
Johny Mattsson authored
Modules can now subscribe to ESP system events via the new NODEMCU_ESP_EVENT() macro. See nodemcu_esp_event.h for details.
-
- 26 Sep, 2016 2 commits
-
-
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.
-
Johny Mattsson authored
Lost some helpful macros when they changed the uart register header it seems.
-
- 23 Sep, 2016 1 commit
-
-
Johny Mattsson authored
No longer limited to the default 2MB.
-
- 22 Sep, 2016 9 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
-
Johny Mattsson authored
-
Johny Mattsson authored
The heuristics could probably be improved a lot, but this is better than nothing at least.
-
Johny Mattsson authored
Now uses the designated partition (type 0xC2, 0x00) unconditionally.
-
Johny Mattsson authored
It would appear my ESP3212 only has a 2MB flash chip despite the bootloader saying 4MB.
-
Johny Mattsson authored
-
Johny Mattsson authored
-
Johny Mattsson authored
-
- 21 Sep, 2016 4 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
Also included the recent LVM fix. Platform flash layer not yet functional.
-
Johny Mattsson authored
Heading towards having only ESP32-aware/capable code in this branch.
-
Johny Mattsson authored
-
- 20 Sep, 2016 2 commits
-
-
Johny Mattsson authored
Build for ESP32 on Travis.
-
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.
-
- 16 Sep, 2016 1 commit
-
-
Johny Mattsson authored
Currently the UART driver break boot (or at least output).
-
- 15 Sep, 2016 1 commit
-
-
Johny Mattsson authored
-
- 25 Jun, 2016 1 commit
-
-
Johny Mattsson authored
-
- 24 Jun, 2016 2 commits
-
-
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.
-
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.
-
- 23 Jun, 2016 1 commit
-
-
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!
-
- 22 Jun, 2016 1 commit
-
-
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.
-
- 21 Jun, 2016 2 commits
-
-
Johny Mattsson authored
Just appending to previously built bins was not a successful approach...
-
Johny Mattsson authored
-