Page 1 of 1

Add something into build information

Posted: Sun Dec 18, 2016 3:03 am
by Gentle Zhao
Hi all
when running MicroPython ,we can see the build information about MP version,build date and platform as the following.
MicroPython v1.8.6-202-g56a514c on 2016-12-17; linux version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>>

I want to know where it works in the source code,and if i want to add some infomation into it,how can i do ?
waiting your early reply,thank you!

Re: Add something into build information

Posted: Sun Dec 18, 2016 4:21 am
by dhylands

Re: Add something into build information

Posted: Sun Dec 18, 2016 4:40 am
by Gentle Zhao
[quote="dhylands"]That information is printed here:
https://github.com/micropython/micropyt ... #L231-L232

and here:
https://github.com/micropython/micropyt ... #L380-L381[/quote]

Thank you ,Dave,I got it!