summaryrefslogtreecommitdiffstatshomepage
path: root/lib/utils/interrupt_char.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-12-15 11:29:33 +1100
committerDamien George <damien.p.george@gmail.com>2016-12-15 11:29:33 +1100
commit29b58796136e3c9133cd268b163db1c53e67ac9b (patch)
tree6b055937c2583ae9d3eaa42ab1c2309517215efa /lib/utils/interrupt_char.c
parent1b02565316f9d2a71a4213a433507760dae764f0 (diff)
downloadmicropython-29b58796136e3c9133cd268b163db1c53e67ac9b.tar.gz
micropython-29b58796136e3c9133cd268b163db1c53e67ac9b.zip
tools/pyboard.py: Refactor so target is not reset between scripts/cmd.
Previous to this patch pyboard.py would open a new serial connection to the target for each script that was run, and for any command that was run. Apart from being inefficient, this meant that the board was soft-reset between scripts/commands, which precludes scripts from accessing variables set in a previous one. This patch changes the behaviour of pyboard.py so that the connection to the target is created only once, and it's not reset between scripts or any command that is sent with the -c option.
Diffstat (limited to 'lib/utils/interrupt_char.c')
0 files changed, 0 insertions, 0 deletions