mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 06:06:03 +01:00
Adding changes of commit 23ef8f6
Commit 23ef8f6 includes changes related to replacement of
os.mkfs() with os.fsformat()
Link explaining the replacement details:
https://forum.pycom.io/topic/3351/new-development-firmware-release-v1-19-0-b1/2
Issue: https://forum.pycom.io/topic/5606/what-happened-to-pin_deepsleep_wakeup/9
This commit is contained in:
@@ -119,5 +119,4 @@ If you need to remove files from your device you have two options, either connec
|
||||
|
||||
import os
|
||||
os.fsformat('/flash')
|
||||
|
||||
```
|
||||
|
||||
@@ -36,7 +36,6 @@ If problems occur within the filesystem or you wish to factory reset your module
|
||||
|
||||
>>> import os
|
||||
>>> os.fsformat('flash')
|
||||
|
||||
```
|
||||
|
||||
{{% hint style="danger" %}}
|
||||
|
||||
@@ -72,7 +72,7 @@ To transfer the firmware files onto the SD card you have two options:
|
||||
from machine import SD
|
||||
|
||||
sd = SD()
|
||||
os.fsformat('/sd') #format SD card
|
||||
os.fsformat('/sd') # format SD card
|
||||
from machine import SD
|
||||
sd = SD()
|
||||
fs = os.mkfat(sd)
|
||||
|
||||
Reference in New Issue
Block a user