diff --git a/tools/rom_ram_analyzer/lite_small/src/rom_analysis.py b/tools/rom_ram_analyzer/lite_small/src/rom_analysis.py index 54e3986a243c19d06a9168358929e2a0cf2fc51e..deed7ee6628783dbde3b7a3de10083e183ec6a4c 100644 --- a/tools/rom_ram_analyzer/lite_small/src/rom_analysis.py +++ b/tools/rom_ram_analyzer/lite_small/src/rom_analysis.py @@ -251,7 +251,8 @@ class RomAnalysisTool: component_end_row = 0 component_col = 1 baseline_col = 2 - del tmp_dict["size"] + if "size" in tmp_dict.keys(): + del tmp_dict["size"] for subsystem_name in tmp_dict.keys(): subsystem_dict = tmp_dict.get(subsystem_name) subsystem_size = subsystem_dict.get("size")