Jeff Epler 694af3dd23 main: redesign boot_out.txt writing
New design:
 * capture output to a vstr
 * compare the complete vstr to boot_out.txt
 * rewrite if not a complete match

This is resilient against future changes to the automatic
text written to boot_out.txt.

This also fixes rewriting boot_out.txt in the case where
boot.py prints something.

Perhaps it also saves a bit of code space. Some tricks:
 * no need to close a file in read mode
 * no need to switch on/off USB write access, going down to the
   oofatfs layer doesn't check it anyway
2021-11-01 23:05:34 -05:00
..
2018-08-07 14:58:57 -07:00
2020-12-08 10:52:25 -08:00
2021-03-18 16:55:42 -07:00
2021-03-18 16:55:42 -07:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2021-11-01 23:05:34 -05:00
2021-10-15 15:11:21 -05:00
2021-06-24 12:59:14 -07:00