summaryrefslogtreecommitdiff
path: root/tools/metrics.py
AgeCommit message (Collapse)Author
2024-09-23tools/metrics.py: Add VIRT_RV32 to the code size metrics.Alessandro Gatti
This commit adds the Qemu-based RISC-V 32 bits `VIRT_RV32` board to the list of ports/boards to be built for measuring code size changes. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2024-06-04tools/metrics.py: Change rp2 board selection to RPI_PICO_W.Damien George
This tool is used to compute size differences in the firmware (eg as part of CI), but it doesn't currently check any firmware that has bare-metal lwIP/networking, making it hard to see how firmware size changes when networking related changes are made. So, change the board selection for the rp2 port to RPI_PICO_W. Changes in size to standard RPI_PICO firmware will be very similar to other bare-metal boards like PYBV10. Signed-off-by: Damien George <damien@micropython.org>
2023-10-04tools/metrics.py: Fix esp32 and esp8266 board names after renaming.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2023-09-02tools/metrics.py: Fix nrf and rp2 board names after renaming.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2023-04-27renesas-ra: Change MICROPY_HW_BOARD_NAME definition to product name.Takeo Takahashi
Changes in this commit: - Change MICROPY_HW_BOARD_NAME definition to match the product name. - Rename board folder's name to match the product name style. - Change related files like Makefile, document descriptions, test cases, CI and tools. Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
2022-08-11unix/variants: Remove variant suffix from executable filename.Damien George
The executable now lives in the build directory, and since the build directory already contains the variant name there is no need to also add it to the executable. Signed-off-by: Damien George <damien@micropython.org>
2022-06-17tools/metrics.py: Add mimxrt and renesas-ra to list of available ports.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-04-20tools/metrics.py: Add rp2 port to table of ports that can be built.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2021-04-06tools/metrics.py: Fix esp32 output filename due to move to CMake.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2020-04-22tools/metrics.py: Use OrderedDict when reading build log.Damien George
So that the output (eg of the diff command) always has the lines in the same order.
2020-04-22tools/metrics.py: Don't build mpy-cross if not needed by any ports.Damien George
To save build time.
2020-04-22tools/metrics.py: Add option to diff to error if delta above threshold.Damien George
Useful for things like CI where the size check is automated.
2020-03-11tools/metrics.py: Use check_call instead of run to error out on error.Damien George
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
This is run with uncrustify 0.70.1, and black 19.10b0.
2020-01-23tools: Add metrics.py script to build and compute port sizes/metrics.Damien George