mirror of https://github.com/ARMmbed/mbed-os.git
Print macros in a readable way
parent
74469ef9e2
commit
b9c1fe41d9
|
@ -73,9 +73,8 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
print("Macros")
|
print("Macros")
|
||||||
print("------")
|
print("------")
|
||||||
if macros:
|
for m in Config.config_macros_to_macros(macros):
|
||||||
print('Defined with "macros":', Config.config_macros_to_macros(macros))
|
print(m)
|
||||||
print("Generated from configuration parameters:", Config.parameters_to_macros(params))
|
|
||||||
|
|
||||||
except KeyboardInterrupt as e:
|
except KeyboardInterrupt as e:
|
||||||
print("\n[CTRL+c] exit")
|
print("\n[CTRL+c] exit")
|
||||||
|
|
Loading…
Reference in New Issue