Example #1
0
def on_wait_for_serial( instance ):
	log.info( "Updating CHIP firmware and pushing to CHIP" )
	if wait_for_usb("serial-gadget", timeout=60):
		log.info( "Found" )
		return "verify"
	else:
		return "failure"
Example #2
0
def on_wait_for_serial(instance):
    log.info("Updating CHIP firmware and pushing to CHIP")
    if wait_for_usb("serial-gadget", timeout=60):
        log.info("Found")
        return "verify"
    else:
        return "failure"
Example #3
0
def on_wait_for_fel( instance ):
	log.info( "Waiting for FEL device to be found..." )
	if wait_for_usb("fel", timeout=5):
		return "upload"
	else:
		return "failure"
Example #4
0
def on_wait_for_fel(instance):
    log.info("Waiting for FEL device to be found...")
    if wait_for_usb("fel", timeout=5):
        return "upload"
    else:
        return "failure"