Adding custom module size info to 'make size' output
Posted: Mon Jan 07, 2019 10:13 am
Hi,
I've created a custom C module for https://github.com/bbcmicrobit/micropython.git (Version 0.9x) by adding a suitable `micropython/source/mymodule.cmake` file and my source.
Running`make size` doesn't show the size info for my libraries as they don't have .map files generated that can be to passed to the mbed `tools.memap` utility used in the MicroPython Makefile 'size' target.
Please could someone let me know how do I tell the MicroPython/Yotta build system (in my 'mymodule.cmake'?) to generate map file(s) for my module?
Thanks
Wayne
I've created a custom C module for https://github.com/bbcmicrobit/micropython.git (Version 0.9x) by adding a suitable `micropython/source/mymodule.cmake` file and my source.
Running`make size` doesn't show the size info for my libraries as they don't have .map files generated that can be to passed to the mbed `tools.memap` utility used in the MicroPython Makefile 'size' target.
Please could someone let me know how do I tell the MicroPython/Yotta build system (in my 'mymodule.cmake'?) to generate map file(s) for my module?
Thanks
Wayne