Skip to content
Snippets Groups Projects
  1. May 21, 2019
  2. May 20, 2019
  3. May 17, 2019
  4. May 15, 2019
  5. May 14, 2019
  6. May 13, 2019
  7. May 10, 2019
  8. May 09, 2019
  9. May 08, 2019
  10. May 07, 2019
    • Damien George's avatar
      stm32: Move factory reset files and code to separate source file. · 97753a1b
      Damien George authored
      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.
      97753a1b
Loading