summaryrefslogtreecommitdiff
path: root/tools/metrics.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-06-04 09:52:31 +1000
committerDamien George <damien@micropython.org>2024-06-04 10:54:35 +1000
commit0e19286c944d12a0eb7b15f004e368a09affbccd (patch)
treeb1a279346e9a78495335e5f7867f8800a6485c3b /tools/metrics.py
parent932f76c6ba64c5a3e68de3324556d9979f09303b (diff)
tools/metrics.py: Change rp2 board selection to RPI_PICO_W.
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>
Diffstat (limited to 'tools/metrics.py')
-rwxr-xr-xtools/metrics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/metrics.py b/tools/metrics.py
index 9c5ed1d7d..2064675be 100755
--- a/tools/metrics.py
+++ b/tools/metrics.py
@@ -69,7 +69,7 @@ port_data = {
"x": PortData("mimxrt", "mimxrt", "build-TEENSY40/firmware.elf"),
"e": PortData("renesas-ra", "renesas-ra", "build-EK_RA6M2/firmware.elf"),
"r": PortData("nrf", "nrf", "build-PCA10040/firmware.elf"),
- "p": PortData("rp2", "rp2", "build-RPI_PICO/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"),
}