• Hello @Gordon. I am currently not a patreon, other than the purchase of a couple of your Espruino WiFi boards. I am currently in a "discovery" phase ... determining whether espruino will meet our needs. Actually, I am working on my Son's behalf (as I am retired) ... he has the MCU experience, I am the JS expert :-) Is your time (and/or response) typically limited to patreons?

    Thanks for explaining what is going on.

    Background: I am researching a technique by which I can isolate my MCU logic from the hardware it is running on. This is accomplished by defining a "binding" structure that bridges the gap between hardware/logic. As a result, I heavily rely on modules. The entire MCU logic is found in a module, and the driving code (in the editor window) is a very small snippet that defines and passes the hardware "binding" structure to the logic module's start() function. This supports many sets of hardware by creating small mainlines (again in the editor window), that vary only in the hardware binding definition.

    As a result, I'm not sure how I feel about disabling module minification. I would assume this is pretty important with the MCU's limited resources (as well as proprietary obfuscation) . With that said, I see in the IDE settings that "by default" no minification occurs in the main code, so my "resource" concern may be unfounded. Thoughts?

    In looking at the minification options, I see that you have two options (Esprima and Closure). Have you considered babel? ... this may be a loaded question.

    I am considering researching/using your espruino npm package for deployment, and bypassing the IDE. Any thoughts on this?

    • does it have the same options (and/or limitations) of deployment through the IDE?

    Your assistance is greatly appreciated.

    Kevin

About

Avatar for KevinAst @KevinAst started