zephyr/scripts/support/arc-helper.py
Marti Bolivar b1e6ea27a7 scripts: zephyr_flash_debug: flash like arc_debugger.sh
Only tested by comparing commands that would be run.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
2017-10-12 23:53:20 -07:00

15 lines
293 B
Python

#!/usr/bin/env python3
'''ARC architecture helper script for zephyr_flash_debug.py
FIXME: This is not portable; a better solution is needed.
See zephyr_flash_debug.py for details.'''
import os
import subprocess
import sys
os.setsid()
command = sys.argv[1:]
subprocess.call(command)