/ PyPortal_CMA_Art_Frame / unsafe_boot.py
unsafe_boot.py
 1  # SPDX-FileCopyrightText: 2020 Dan Cogliano for Adafruit Industries
 2  #
 3  # SPDX-License-Identifier: MIT
 4  
 5  import time
 6  import storage
 7  
 8  print("**************** WARNING ******************")
 9  print("Using the filesystem as a write-able cache!")
10  print("This is risky behavior, backup your files!")
11  print("**************** WARNING ******************")
12  
13  storage.remount("/", disable_concurrent_write_protection=True)
14  time.sleep(5)