summaryrefslogtreecommitdiffstatshomepage
path: root/py/binary.c
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-06-10 22:54:38 +0200
committerDamien George <damien@micropython.org>2025-07-01 15:43:17 +1000
commit6fd7422a8e5b6c8952f7b67713f0551992d247cc (patch)
tree7a6daca4881b0ddfa9ff0b5a2bccd41aa2d596e6 /py/binary.c
parent0d435959e0acf4059cff843e45936c21c6e7eb84 (diff)
downloadmicropython-6fd7422a8e5b6c8952f7b67713f0551992d247cc.tar.gz
micropython-6fd7422a8e5b6c8952f7b67713f0551992d247cc.zip
tests/run-tests.py: Allow injected code customisation.
This commit introduces a mechanism to customise the code that is injected to the board when performing a test file upload and execution. A new argument, --begin", is added so regular Python code can be inserted in the injected fragment between the module file creation and the effective file import. This is needed for running larger tests (usually ones that have been pre-compiled with "--via-mpy --emit native") on ESP8266, as that board does not have enough memory to fit certain blocks of code unless additional configuration is performed. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/binary.c')
0 files changed, 0 insertions, 0 deletions