diff options
| author | Damien George <damien@micropython.org> | 2022-05-31 17:10:14 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-06-02 16:29:53 +1000 |
| commit | 47f634300c5572571816817f16836113c98814ae (patch) | |
| tree | c8ca63093fd20744f2596e81e706443cbcd32fd8 /py/makeqstrdata.py | |
| parent | 340872cfdd724b7acc6768a22d90a84834b0e7b5 (diff) | |
py: Change makemoduledefs process so it uses output of qstr extraction.
This cleans up the parsing of MP_REGISTER_MODULE() and generation of
genhdr/moduledefs.h so that it uses the same process as compressed error
string messages, using the output of qstr extraction.
This makes sure all MP_REGISTER_MODULE()'s that are part of the build are
correctly picked up. Previously the extraction would miss some (eg if you
had a mod.c file in the board directory for an stm32 board).
Build speed is more or less unchanged.
Thanks to @stinos for the ports/windows/msvc/genhdr.targets changes.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/makeqstrdata.py')
0 files changed, 0 insertions, 0 deletions
