micropython/ports/cc3200/bootmgr
Damien George 47f634300c 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>
2022-06-02 16:29:53 +10:00
..
relocator ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
sl ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
bootgen.sh ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
bootloader.mk py: Change makemoduledefs process so it uses output of qstr extraction. 2022-06-02 16:29:53 +10:00
bootmgr.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
bootmgr.lds ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
flc.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
main.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
runapp.s ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00