• You can add a SD card w/ adapter and store the module there. The SD card has to be mounted when the code has to run. In order to prevent the loading on upload of your program you pass the module name in a string variable. When doing so, the uploader does not find the pattern with regular expression:

    var mn,  m;
    // ...some code, including the mounting of the SD card
    mn="moduleName"; m=require(mn);
    // ...some more code
    

    If you want to do that, you can inline the module or stick into the module cache in the code you upload. See Module Development and Module creation at runtime.

    And I'm sure there are more options...

About

Avatar for allObjects @allObjects started