- 24 Nov, 2016 1 commit
-
-
Johny Mattsson authored
This fixes the panic-on-restart issue and the crash-on-uart-input-before-flash-mapped issue. Node module updated to reflect new function names for sleep/restart.
-
- 17 Nov, 2016 5 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
-
Johny Mattsson authored
-
Johny Mattsson authored
-
Johny Mattsson authored
With the recent flash layout changes, it became very possible to misdetect the flash size. We're now using the partition table as the guard marker, since that really shouldn't be all 0xff. Also, we now don't clobber the flash device id (and keep block/sector/page/mask values).
-
- 16 Nov, 2016 1 commit
-
-
Johny Mattsson authored
-
- 12 Nov, 2016 2 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
WiFi STA module updated to reflect IDF name changes. Platform flash and partition api updated to reflect IDF name changes. Eventually these (and the SPIFFS module) will likely need to be updated to exclusively work with the esp_partition_xxx() functions in order to support working with encrypted flash.
-
- 06 Oct, 2016 2 commits
-
-
Johny Mattsson authored
Based on his revision 2d290a24a0914be88e5ca4ac7b1018392fe75fe2 (https://github.com/djphoenix/nodemcu-firmware). All LWIP callback handling changed to use the NodeMCU task interface to make it usable on RTOS. IPv4 assumptions have been removed, and this net module /should/ now be IPv6 ready, but aside from compilation no testing has been done in this area. SSL integration points not touched - some work needed there once we have an mbedTLS module.
-
Johny Mattsson authored
-
- 05 Oct, 2016 1 commit
-
-
Johny Mattsson authored
-
- 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 2 commits
-
-
Johny Mattsson authored
Note need to use explicit wifi.start() at this point.
-
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 6 commits
-
-
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
-
- 21 Sep, 2016 3 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.
-
- 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).
-