From 15b7381edd13214e61a45f656d768ccb917a842e Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Thu, 23 Jun 2016 15:16:06 -0500 Subject: [PATCH] arm_pack_manager - Add more info to flash algorithm --- tools/arm_pack_manager/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/arm_pack_manager/__init__.py b/tools/arm_pack_manager/__init__.py index 9507f7b45a..8c49869872 100644 --- a/tools/arm_pack_manager/__init__.py +++ b/tools/arm_pack_manager/__init__.py @@ -159,7 +159,11 @@ class Cache () : to_ret["memory"] = dict([(m["id"], dict(start=m["start"], size=m["size"])) for m in device("memory")]) - to_ret["algorithm"] = device.algorithm["name"].replace('\\','/') + to_ret["algorithm"] = dict(name=device.algorithm["name"].replace('\\','/'), + start=device.algorithm["start"], + size=device.algorithm["size"], + RAMstart=device.algorithm["ramstart"], + RAMsize=device.algorithm["ramsize"]) to_ret["debug"] = device.debug["svd"] to_ret["compile"] = (device.compile["header"], device.compile["define"]) except (KeyError, TypeError) :