|
|
|
@ -6,6 +6,8 @@ import os
|
|
|
|
|
import shutil
|
|
|
|
|
import subprocess
|
|
|
|
|
|
|
|
|
|
import flasher
|
|
|
|
|
|
|
|
|
|
class bcolors:
|
|
|
|
|
HEADER = '\033[95m'
|
|
|
|
|
OKBLUE = '\033[94m'
|
|
|
|
@ -32,6 +34,7 @@ def build(TARGET_DEVICE):
|
|
|
|
|
os.chdir(buildDirectory)
|
|
|
|
|
os.system('make -j4')
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
|
def flash(TARGET_DEVICE):
|
|
|
|
|
# find out what platform the build is done (e.g. linux, win32, etc.)
|
|
|
|
|
|
|
|
|
@ -44,6 +47,8 @@ def flash(TARGET_DEVICE):
|
|
|
|
|
os.chdir(buildDirectory)
|
|
|
|
|
|
|
|
|
|
print('this platform is not supported by KED!')
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###########################################################################################################################
|
|
|
|
|
|
|
|
|
|