#!/usr/bin/env python
# Edit this to match the location of micropython/tools and the Pyboard device

import sys
sys.path.append('/mnt/qnap2/data/Projects/MicroPython/micropython/tools')
import pyboard
def main():
    pyb=pyboard.Pyboard('/dev/pyboard')
    pyb.enter_raw_repl()
    try:
        pyb.exec_raw('pyb.bootloader()')
    except:
        pass

if __name__ == "__main__":
    main()


ebf40ecfd22cdb75f75820f4207cc40cc2fd9223
<mask token>

<mask token>


def main():
    pyb = pyboard.Pyboard('/dev/pyboard')
    pyb.enter_raw_repl()
    try:
        pyb.exec_raw('pyb.bootloader()')
    except:
        pass


<mask token>

<mask token>
sys.path.append('/mnt/qnap2/data/Projects/MicroPython/micropython/tools')
<mask token>


def main():
    pyb = pyboard.Pyboard('/dev/pyboard')
    pyb.enter_raw_repl()
    try:
        pyb.exec_raw('pyb.bootloader()')
    except:
        pass


if __name__ == '__main__':
    main()

import sys
sys.path.append('/mnt/qnap2/data/Projects/MicroPython/micropython/tools')
import pyboard


def main():
    pyb = pyboard.Pyboard('/dev/pyboard')
    pyb.enter_raw_repl()
    try:
        pyb.exec_raw('pyb.bootloader()')
    except:
        pass


if __name__ == '__main__':
    main()

#!/usr/bin/env python
# Edit this to match the location of micropython/tools and the Pyboard device

import sys
sys.path.append('/mnt/qnap2/data/Projects/MicroPython/micropython/tools')
import pyboard
def main():
    pyb=pyboard.Pyboard('/dev/pyboard')
    pyb.enter_raw_repl()
    try:
        pyb.exec_raw('pyb.bootloader()')
    except:
        pass

if __name__ == "__main__":
    main()

