mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Minor formatting to the system info
This commit is contained in:
@ -832,9 +832,9 @@ def BuildProjectLibraries(env):
|
||||
project.env = env
|
||||
ldf_mode = LibBuilderBase.lib_ldf_mode.fget(project)
|
||||
|
||||
print "Library Dependency Finder (LDF) -> http://bit.ly/configure-pio-ldf"
|
||||
print "LDF MODES: FINDER/%s COMPATIBILITY/%s" % (ldf_mode,
|
||||
project.lib_compat_mode)
|
||||
print "Library Dependency Finder -> http://bit.ly/configure-pio-ldf"
|
||||
print "LDF MODES: FINDER(%s) COMPATIBILITY(%s)" % (ldf_mode,
|
||||
project.lib_compat_mode)
|
||||
|
||||
lib_builders = env.GetLibBuilders()
|
||||
print "Collected %d compatible libraries" % len(lib_builders)
|
||||
|
@ -117,10 +117,8 @@ def PrintConfiguration(env): # pylint: disable=too-many-branches
|
||||
debug_tools = board_config.get("debug", {}).get("tools")
|
||||
ram = board_config.get("upload", {}).get("maximum_ram_size")
|
||||
flash = board_config.get("upload", {}).get("maximum_size")
|
||||
for (key, value) in (("RAM", ram), ("Flash", flash)):
|
||||
if not value:
|
||||
continue
|
||||
system_data.append("%s/%s" % (key, util.format_filesize(value)))
|
||||
system_data.append("%s (%s Flash)" % (util.format_filesize(ram),
|
||||
util.format_filesize(flash)))
|
||||
|
||||
if platform_data:
|
||||
print " ".join(platform_data)
|
||||
@ -132,7 +130,7 @@ def PrintConfiguration(env): # pylint: disable=too-many-branches
|
||||
return
|
||||
|
||||
data = [
|
||||
"CURRENT/%s" % board_config.get_debug_tool_name(
|
||||
"CURRENT(%s)" % board_config.get_debug_tool_name(
|
||||
env.subst("$DEBUG_TOOL"))
|
||||
]
|
||||
onboard = []
|
||||
@ -143,9 +141,9 @@ def PrintConfiguration(env): # pylint: disable=too-many-branches
|
||||
else:
|
||||
external.append(key)
|
||||
if onboard:
|
||||
data.append("ON-BORD/%s" % ", ".join(sorted(onboard)))
|
||||
data.append("ON-BORD(%s)" % ", ".join(sorted(onboard)))
|
||||
if external:
|
||||
data.append("EXTERNAL/%s" % ", ".join(sorted(external)))
|
||||
data.append("EXTERNAL(%s)" % ", ".join(sorted(external)))
|
||||
|
||||
print "DEBUG: %s" % " ".join(data)
|
||||
|
||||
|
Reference in New Issue
Block a user