Add something into build information

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
Gentle Zhao
Posts: 2
Joined: Sun Dec 18, 2016 2:41 am

Add something into build information

Post by Gentle Zhao » Sun Dec 18, 2016 3:03 am

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!


Gentle Zhao
Posts: 2
Joined: Sun Dec 18, 2016 2:41 am

Re: Add something into build information

Post by Gentle Zhao » Sun Dec 18, 2016 4:40 am

[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!

Post Reply