qstrdefs generator

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
User avatar
braiins
Posts: 19
Joined: Mon Feb 23, 2015 1:09 pm
Contact:

Re: qstrdefs generator

Post by braiins » Thu Mar 10, 2016 4:08 pm

The automated qstring extraction actually reveals interesting things -> some strings are not being used but the qstrdefsport.h doesn't contain proper ifdefs around it, while the relevant part of the code that uses the qstring has the ifdef.

Anyway, the topic is not as trivial and I know understand all the corner cases that Paul was indicating. However, I still believe it is doable.

I will keep you posted on this topic.

Jan
braiins - Your partner in embedded world - http://www.braiins.cz

User avatar
braiins
Posts: 19
Joined: Mon Feb 23, 2015 1:09 pm
Contact:

Re: qstrdefs generator

Post by braiins » Mon Mar 14, 2016 8:36 am

A proof-of-concept is now available:

https://github.com/micropython/micropython/pull/1899

Looking forward to any comments within the PR ;-)

Jan
braiins - Your partner in embedded world - http://www.braiins.cz

Post Reply