summaryrefslogtreecommitdiff
path: root/tests/micropython/viper_error.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2020-06-23 16:16:21 +1000
committerDamien George <damien@micropython.org>2020-06-26 21:11:03 +1000
commit763bd448a4348b36db08cbae41337507e47cb892 (patch)
treeeeacaa43c5e900a7f3b5c26992b1009eeae0c683 /tests/micropython/viper_error.py
parent717b5073aa7295164f3c06a889b648071b435bc3 (diff)
stm32/mboot: Don't search for firmware on FS, just attempt to open it.
There's no need to do a directory listing to search for the given firmware filename, it just takes extra time and code size. Instead this commit changes it so that the requested firmware file is opened immediately and will abort if the file couldn't be opened. This also allows to specify files in a directory. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/micropython/viper_error.py')
0 files changed, 0 insertions, 0 deletions