summaryrefslogtreecommitdiff
path: root/docs/esp32
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-05-06 15:46:52 +1000
committerDamien George <damien.p.george@gmail.com>2019-05-07 13:59:51 +1000
commit97753a1bbc5a20003bcf2a7f90cff2ca5c81ee92 (patch)
tree7a229c94eee02bda633357ee77514850077f898c /docs/esp32
parent34942d0a72980173eca51b201f271f67bcae46b5 (diff)
stm32: Move factory reset files and code to separate source file.
The new function factory_reset_make_files() populates the given filesystem with the default factory files. It is defined with weak linkage so it can be overridden by a board. This commit also brings some minor user-facing changes: - boot.py is now no longer created unconditionally if it doesn't exist, it is now only created when the filesystem is formatted and the other files are populated (so, before, if the user deleted boot.py it would be recreated at next boot; now it won't be). - pybcdc.inf and README.txt are only created if the board has USB, because they only really make sense if the filesystem is exposed via USB.
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions