- 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 2 commits
-
-
Johny Mattsson authored
-
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 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.
-