PythonEditor icon indicating copy to clipboard operation
PythonEditor copied to clipboard

Module management

Open jaustin opened this issue 8 years ago • 3 comments

It would be good to be able to add modules that aren't included in the default build.

It might also be nice to be able to remove modules that are included by default but that are using flash that the program could reclaim.

One possible model for this would be to drag and drop a module into the browser and have included modules listed on the right hand side where the 'instructions' lived on the microbit.co.uk site image

jaustin avatar Feb 20 '17 12:02 jaustin

I like the idea but surely this would require adding configure flags to MicroPython and hosting multiple hex files for the editor?

ZanderBrown avatar Feb 20 '17 16:02 ZanderBrown

Yeah, I think we should have 3 issues for this:

  • One here would be to inject into the the hex text files into the filesystem space using javascript on the browser, to allow us to include additional pure python modules.
  • Another on the micropython repo to be able to select built-in modules during build.
  • The last one here, pending the previous, to be able to host multiple hex files with different built-in module configurations.

The first one is something that I had in mind for a while, but I think the other two will probably take a bit more time until anybody is available to look into it.

carlosperate avatar Mar 03 '17 20:03 carlosperate

This is certainly related to #53

jaustin avatar Oct 03 '17 13:10 jaustin