blob: 6574d1495d8dbe7fe0bc9ead93f8cf902dd1d831 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# -*- 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)
|