Terry Ellison
Terry Ellison
The ideal of this is that _if_ you have the `fast` module loaded then even if you have an empty FS and LFS, then you can still do a `fast.ftp:open(....)`...
A quick progress update. See my gists [fast.c](https://gist.github.com/TerryE/cf74d2a496332cadb0fb506e24cb48d0) and the conversion utility [lua-to-c-include.lua](https://gist.github.com/TerryE/50068fadf331dc16eba90c90499c49ca). The conversion utility is documented in code, and the overhead of running it is quite good. This...
If you want to try this out, then [my gists](https://gist.github.com/TerryE) include the updated version of `ftpserver.lua`, the `fast.c` module and the host utility `lua-to-c-include.lua`. If you want to use this...
It also struck me that most new developers aren't familiar with the more esoteric features such as using `node.getpartitiontable()`,`node.setpartitiontable()`,`node.node_startupcommand()` or even `node.flashreload()`. Maybe we should wrap all of these up...
I've been playing with this a bit more, and I realise that this `fast` utility could be extended to be _really_ useful for Lua developers. For example: - `fast.get('ftp/ftpserver')`. **fast.get()**...
I am inclined to generate a PR for this one simply because it is such a bloody useful bootstrap for provisioning the ESP: include the module and build the firmware....
leave open
The C API defines the following **number** and **integer** functions. The former use type `LUA_NUMBER` and the latter `LUA_INT` for numeric arguments and returns. These are `double` and `int` on...
~~Having gone through the code, I don't want to break the legacy 5.1 **integer mode** builds and the issue we have for these is that `lua_Number` is type `int` and...
- `node.deepsleep()` takes a sleep time in uSec. The SDK API calls take a `uint64` argument. Reading the reference in the node documentation, this is around 225 mins which is...