# -*- coding: utf-8 -*- import os home = os.environ['HOME'] dataDir = home + "/rom_data" databaseName = "db.sqlite" nextSerialName = "next_serial.txt" romName = "coreboot-d7d596d-seabios-quiet-2012-12-20-10:12.rom" firmware = os.path.join(dataDir, 'PwrSeq-915f793-mspgcc-2012-12-19-17:26.safe.txt') #WARNING: This path must not contain spaces buildRom = home + "/build_rom/build_rom" mspdebug = ['sudo', home + "/mspdebug/mspdebug", '-d', '/dev/ttyACM0', 'tilib', '--allow-fw-update'] libmsp430_dir = home + "/mspdebug" macStart = "08:D2:9A:02:00:00" macEnd = "08:D2:9A:3f:ff:ff" flashrom = ['sudo', 'flashrom', '-p', 'dediprog'] # Don't change this, or the git commit will break database = os.path.join(dataDir, databaseName) nextSerial = os.path.join(dataDir, nextSerialName) rom = os.path.join(dataDir, romName)