1
0
Fork 0

docs: appguide: Describe how to hack on frozen modules

This commit is contained in:
Daniel Thompson 2020-05-13 22:11:31 +01:00
parent 93ad0e6972
commit 4af873c9e3

View file

@ -349,6 +349,17 @@ section to add an import and register for you application to ``main.py``
external filesystem. If your application is both frozen and copied to
external FLASH then the frozen version will be loaded.
In many cases it is possible to avoid rebuilding the binary in order to
test new features by parsing the code in the global namespace and then
patching it into the existing code. For example the following can be used
to adopt a new version of the CST816S driver:
.. code-block::
./tools/wasptool\
--exec wasp/drivers/cst816s.py\
--eval "watch.touch = CST816S(watch.i2c)"`
Application entry points
------------------------