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
..
2021-08-24 13:57:42 -07:00
2021-08-24 13:57:42 -07:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2021-04-25 19:57:21 +09:00
2021-04-25 19:57:21 +09:00
2021-08-02 18:37:19 -07:00
2020-08-17 17:17:59 -07:00
2021-10-15 08:20:54 -05:00
2021-06-14 20:54:43 -04:00
2021-06-14 20:54:43 -04:00
2021-03-15 19:27:36 +05:30
2021-03-15 19:27:36 +05:30
2021-08-24 14:35:11 -07:00
2021-10-15 08:20:54 -05:00
2021-07-22 12:57:10 -04:00
2021-07-22 12:57:10 -04:00
2021-01-21 11:33:13 -08:00