Skip to content

Limited WinX support for luac.cross and spiffsimg  #2315

Closed
@TerryE

Description

@TerryE

Missing feature

This is really a corollary to #2292. We need a process for supplying native WinX executables for luac.cross and spiffsimg.

Justification

With the availability of Marcel's Cloud build service, very few ESP Lua developers need to have a NodeMCU firmware build environment. Also whilst both luac.cross and spiffsimgare considered essential for heavyweight Lua developers, most developers seem happy to do without them.

LFS changes all this because you must use an LFS-enabled version of luac.cross to generate your images. You also need spiffsimg if you prepare your own FS images for downloading.

Luckily the Makefiles for both app/lua/lua_cross and tools don't callback to parent makes, and so these can be easily built standalone from the relevant directory. So what we need to do is to document how a WinX user can build these, preferably with free software. Whatever this process is, these makefiles should contain the necessary conditional statement to work in both environments. Perhaps the easiest approach might be to use MinGW or Cygwin, both of which use the GNU toolchain.

Workarounds

I can't do this work because I don't have any Windows platforms (purely Linux (and Android) so I have no need of workarounds. Perhaps another alternative would be for one of the core developers to do a private build and we follow the PHP practice of making a zip available with the current working release of the WinX binaries for these components.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions