docs: appguide: Describe how to hack on frozen modules
This commit is contained in:
parent
93ad0e6972
commit
4af873c9e3
1 changed files with 11 additions and 0 deletions
|
@ -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 filesystem. If your application is both frozen and copied to
|
||||||
external FLASH then the frozen version will be loaded.
|
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
|
Application entry points
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue