diff --git a/bdevice.py b/bdevice.py index 309982f..8b274c4 100644 --- a/bdevice.py +++ b/bdevice.py @@ -61,3 +61,6 @@ class BlockDevice: return self._a_bytes >> self._nbits if op == 5: # BP_IOCTL_SEC_SIZE return self._block_size + if op == 6: # Erase + return 0 + diff --git a/fram/FRAM.md b/fram/FRAM.md index 98e02ec..2547866 100644 --- a/fram/FRAM.md +++ b/fram/FRAM.md @@ -233,13 +233,7 @@ cp('/flash/main.py','/fram/') See `upysh` in [micropython-lib](https://github.com/micropython/micropython-lib.git) for other filesystem tools for use at the REPL. -# 6. ESP8266 - -Currently the ESP8266 does not support concurrent mounting of multiple -filesystems. Consequently the onboard flash must be unmounted (with -`uos.umount()`) before the FRAM can be mounted. - -# 7. References +# 6. References [Adafruit board](http://www.adafruit.com/product/1895) [Chip datasheet](https://cdn-learn.adafruit.com/assets/assets/000/043/904/original/MB85RC256V-DS501-00017-3v0-E.pdf?1500009796) diff --git a/i2c/I2C.md b/i2c/I2C.md index e2a2709..bbc5be0 100644 --- a/i2c/I2C.md +++ b/i2c/I2C.md @@ -265,9 +265,3 @@ cp('/flash/main.py','/eeprom/') See `upysh` in [micropython-lib](https://github.com/micropython/micropython-lib.git) for other filesystem tools for use at the REPL. - -# 6. ESP8266 - -Currently the ESP8266 does not support concurrent mounting of multiple -filesystems. Consequently the onboard flash must be unmounted (with -`uos.umount()`) before the EEPROM can be mounted. diff --git a/spi/SPI.md b/spi/SPI.md index 3f6bfdf..b537e94 100644 --- a/spi/SPI.md +++ b/spi/SPI.md @@ -259,9 +259,3 @@ cp('/flash/main.py','/eeprom/') See `upysh` in [micropython-lib](https://github.com/micropython/micropython-lib.git) for other filesystem tools for use at the REPL. - -# 6. ESP8266 - -Currently the ESP8266 does not support concurrent mounting of multiple -filesystems. Consequently the onboard flash must be unmounted (with -`uos.umount()`) before the EEPROM can be mounted.