- 31 May, 2016 1 commit
-
-
Johny Mattsson authored
-
- 30 May, 2016 3 commits
-
-
Johny Mattsson authored
Uart driver currently disabled as it's not (yet) compatible with RTOS. Running Lua task with excessive stack to avoid smashing it; need to work out what's using so much stack space. Changed some flash reading functions to not attempt to drop an entire 4k flash page onto the stack. Ensure the task pump doesn't attempt to retrieve from uninitialised queues.
-
Johny Mattsson authored
-
Johny Mattsson authored
Turns out ets_printf() lied to me. When handed an aligned string in flash it did 32bit loads on it instead of the expected 8bit loads, so just silencing the exception was enough to give the appearance of it working.
-
- 27 May, 2016 1 commit
-
-
Johny Mattsson authored
Dereferencing struct contents considered harmful...
-
- 26 May, 2016 4 commits
-
-
Johny Mattsson authored
c_strtod and c_getenv are kept since strtod doesn't appear in the SDK's libc, and we want our own c_getenv to initialize the Lua main anyway.
-
Johny Mattsson authored
-
Johny Mattsson authored
With a working exception handler all of the RTOS-SDK bits seem to be happy too. So far.
-
Johny Mattsson authored
Incidentally now also a whole lot faster.
-
- 24 May, 2016 2 commits
-
-
Johny Mattsson authored
Not yet hooked up to an RTOS task, however.
-
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
-
- 22 May, 2016 1 commit
-
-
Marcel Stör authored
-
- 21 May, 2016 2 commits
-
-
Marcel Stör authored
-
Arnim Läuger authored
Thank you.
-
- 18 May, 2016 2 commits
-
-
Marcel Stör authored
-
Johny Mattsson authored
- Stop fighting against the SDK in terms of owning/writing the init_data block. NodeMCU included a default init_data block because originally the SDK did not, but by now it's not needed. - Expose a way to reconfigure the ADC mode from Lua land. With most people using the cloud builder and not able to change the #define for byte 107 this has been a pain point. - Less confusion about which init_data has been used. Lua code can now simply state what mode it wants the ADC to be in, and not worry about the rest of the init_data complexities such as the init_data changing location due to flashing with wrong flash_size setting, or doing/not doing a chip-erase before loading new NodeMCU firmware.
-
- 16 May, 2016 1 commit
-
-
Marcel Stör authored
-
- 15 May, 2016 1 commit
-
-
devsaurus authored
-
- 14 May, 2016 2 commits
-
-
dnc40085 authored
Update descriptions of `wifi.setmode`, `wifi.sta.config` and `wifi.ap.config` to inform user of configuration persistence.
-
Marcel Stör authored
-
- 13 May, 2016 2 commits
-
-
dnc40085 authored
* Change upper limit for timer in `tmr_register` and `tmr_interval` to reflect new limit in SDK 1.5.3. * Change documentation for `tmr.alarm()`, `tmr.interval()` and `tmr.register()` to match source. * Improve error reporting to be more descriptive.
-
http://httpbin.orgMarcel Stör authored
-
- 12 May, 2016 1 commit
-
-
Philip Gladstone authored
* Send a multicast response if it is a QM query * Use the NSEC record in the style which mDNS demands * Shuffle the code a bit and allow sending of A response... * Made the A record work * Now gets TTLs right and (I think) handles multiple questions
-
- 10 May, 2016 2 commits
-
-
Johny Mattsson authored
Fix bugs with mqtt connection error handling
-
philip authored
-
- 09 May, 2016 1 commit
-
-
Thomas Soëte authored
* Fix bug on first write Pin is 'HIGH' at reset, so we need to pull it down and generate a reset. * Move init code to flash section, not needed to be in iram. * Remove pin choice in API * Remove lock in ws2812_buffer_write * Remove naked malloc * Drop ws2812_writergb * Drop support of ws2812.buffers to ws2812_writegrb should use ws2812.buffers:write * Add support for <>3 colors per leds strips (RGBW) * Remove ICACHE_FLASH_ATTR * Add static const on _uartData to avoid initialization penalty
-
- 02 May, 2016 2 commits
-
-
Marcel Stör authored
-
dnc40085 authored
Changed Parameters in `wifi.sta.status()` to match constants in source. Fixed typo in example for `wifi.eventmon.register()`.
-
- 01 May, 2016 1 commit
-
-
Thomas Mohaupt authored
Thank you.
-
- 30 Apr, 2016 1 commit
-
-
Johny Mattsson authored
Enable -std=gnu11 for user dir
-
- 29 Apr, 2016 2 commits
-
-
devsaurus authored
-
Marcel Stör authored
-
- 28 Apr, 2016 3 commits
-
-
Marcel Stör authored
-
Marcel Stör authored
-
Marcel Stör authored
-
- 26 Apr, 2016 3 commits
-
-
Johny Mattsson authored
Add issue and PR templates
-
Johny Mattsson authored
Fixed the rotary documentation to match the implementation
-
philip authored
-
- 25 Apr, 2016 1 commit
-
-
Marcel Stör authored
-
- 24 Apr, 2016 1 commit
-
-
Philip Gladstone authored
Made the code clearer
-