def getProgramWeight(self):
        return self.program_weight + \
            float(len(self.data)) / float(DATA_TRANSFER_B_PER_S)
Get time to program a page including the data transfer
dataset/ETHPy150Open mbedmicro/pyOCD/pyOCD/flash/flash_builder.py/flash_page.getProgramWeight