Is there a way to unload chunks of CP 8.0.0 code like a .dll from a microcontroller like the RP2040 because of limited memory?
My solution would be to use a FRAM memory chip for all variables. A library that is called by all code chunks that defines the location in the FRAM where the variables can be found and
Code: Select all
supervisor.set_next_code_file(CODE)
supervisor.reload() # Ctrl-C then Ctrl-D
I think if you were to look up UGLY in the CircuitPython dictionary this method would be listed as #1.
Bruce