From d4020f0bce8c7841879736cd00ec64d617111c80 Mon Sep 17 00:00:00 2001 From: Hector Fernandez Date: Thu, 23 Apr 2020 14:14:02 +0200 Subject: Modified nand memory flasher --- test-cli/test/flashers/flashmemory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test-cli/test/flashers/flashmemory.py') diff --git a/test-cli/test/flashers/flashmemory.py b/test-cli/test/flashers/flashmemory.py index c7267c6..3be56d7 100644 --- a/test-cli/test/flashers/flashmemory.py +++ b/test-cli/test/flashers/flashmemory.py @@ -1,9 +1,9 @@ import sh -def flash_memory(imagefile): +def flash_memory(imagepath): print("Start programming Nand memory...") - p = sh.bash("/usr/bin/igep-flash", "--skip-nandtest", "--image", "/opt/firmware/" + imagefile) + p = sh.bash("/usr/bin/igep-flash", "--skip-nandtest", "--image", imagepath) if p.exit_code != 0: print("Flasher: Could not complete flashing task.") return 1 -- cgit v1.1