module documentation

RAM Cleaning helper for Stick firmware

Function clean Cleans all modules that are not whitelisted from RAM
Function deep_clean_module Cleans module from RAM
Constant _WHITELIST Module whitelist for main loop
def clean():

Cleans all modules that are not whitelisted from RAM

def deep_clean_module(modname: str):

Cleans module from RAM Args: modname (str): Module name (in python format like: "modules.files")

_WHITELIST: set[str] =

Module whitelist for main loop

Value
set(['esp32',
     'network',
     'os',
     'neopixel',
     'bitmaps',
     'scripts',
     'scripts.checkbattery',
...