You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • That'd be cool - I have some ENC28J60 boards kicking around.

    There's already support for compiling/not-compiling support for various things - for example FAT/Graphics/WIZnet/CC3000 can all be included or left out (and it should be relatively easy to add new support for networking devices now). It's not desperately pretty (mostly done in the Makefile) but it does work.

    However my point was really that a JavaScript module (not C) is far easier for people to contribute changes to, and you can choose whether you want it at run time. It's no good having a bunch of code that's configurable if nobody can get the toolchain working :)

    PS. @cephdon's changes had some tweaks for better compilation on Mac: https://github.com/espruino/Espruino/pul­l/333/files - Hopefully that'll get merged in next week.

    In the interests of not making life really hard for yourself, you could just use a Ubuntu VM though - or it'd be nice if someone made a script for Raspberry Pi that would get all the required stuff to build Espruino. A bunch of people must have them kicking around, and it would solve all these problems.

About

Avatar for Gordon @Gordon started