expliot.core.protocols.hardware.i2c

Package Contents

class expliot.core.protocols.hardware.i2c.I2cEepromManager

Bases: i2cflash.serialeeprom.SerialEepromManager

A wrapper around pyi2cflash SerialEepromManager.

More details can be found at https://github.com/eblot/pyi2cflash

Calls terminate() on the I2cController to close the FTDI device. As of now there is no close or terminate method provided in pyi2cflash.

TODO: Remove me when pyspiflash implements one.

Parameters:device – The Flash device returned from get_flash_device()
Returns:
static close(device)