Show device system information (MCU, Frequency, RAM, Flash, Debugging tools) in a build log

This commit is contained in:
Ivan Kravets committed 2018-01-25 17:58:52 +02:00
1 parent dabe9ba2a7
commit f8dafbca80
8 files changed
+82 -20

No files matched your search

+5 -3
View File
@@ -684,9 +684,11 @@ class PlatformBoardConfig(object):
"mcu":
self._manifest.get("build", {}).get("mcu", "").upper(),
"fcpu":
int(
re.sub(r"[^\d]+", "",
self._manifest.get("build", {}).get("f_cpu", "0L"))),
int("".join([
c for c in str(
self._manifest.get("build", {}).get("f_cpu", "0L"))
if c.isdigit()
])),
"ram":
self._manifest.get("upload", {}).get("maximum_ram_size", 0),
"rom":