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