From 58e768914266dbe07eb1a9a2894e92957e6322eb Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Thu, 12 Sep 2024 23:26:40 +0200 Subject: [PATCH 1/2] tools/metrics.py: Add VIRT_RV32 to the code size metrics. 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 --- tools/metrics.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/metrics.py b/tools/metrics.py index 2064675be9f5c..f6189e65abb4d 100755 --- a/tools/metrics.py +++ b/tools/metrics.py @@ -71,6 +71,7 @@ def __init__(self, name, dir, output, make_flags=None): "r": PortData("nrf", "nrf", "build-PCA10040/firmware.elf"), "p": PortData("rp2", "rp2", "build-RPI_PICO_W/firmware.elf", "BOARD=RPI_PICO_W"), "d": PortData("samd", "samd", "build-ADAFRUIT_ITSYBITSY_M4_EXPRESS/firmware.elf"), + "v": PortData("qemu rv32", "qemu", "build-VIRT_RV32/firmware.elf", "BOARD=VIRT_RV32"), } From 3e085c3aa67c8517678440d4b37754ee555bb809 Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Fri, 13 Sep 2024 15:48:58 +0200 Subject: [PATCH 2/2] tools/ci.sh: Report code size for `VIRT_RV32` as well. This commit adds the `VIRT_RV32` board to the list of targets for calculating code size changes as part of the CI pipeline. Signed-off-by: Alessandro Gatti --- tools/ci.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ci.sh b/tools/ci.sh index 4e860a7913bb5..946ef86a3285d 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -55,11 +55,12 @@ function ci_code_size_setup { sudo apt-get install gcc-multilib gcc --version ci_gcc_arm_setup + ci_gcc_riscv_setup } function ci_code_size_build { # check the following ports for the change in their code size - PORTS_TO_CHECK=bmusxpd + PORTS_TO_CHECK=bmusxpdv SUBMODULES="lib/asf4 lib/berkeley-db-1.xx lib/btstack lib/cyw43-driver lib/lwip lib/mbedtls lib/micropython-lib lib/nxp_driver lib/pico-sdk lib/stm32lib lib/tinyusb" # starts off at either the ref/pull/N/merge FETCH_HEAD, or the current branch HEAD pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy