Skip to content

Conversation

@dpgeorge
Copy link
Member

@dpgeorge dpgeorge commented Jun 3, 2024

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.

@dpgeorge dpgeorge added the tools Relates to tools/ directory in source, or other tooling label Jun 3, 2024
@codecov
Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.39%. Comparing base (932f76c) to head (0e19286).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #15197   +/-   ##
=======================================
  Coverage   98.39%   98.39%           
=======================================
  Files         161      161           
  Lines       21204    21204           
=======================================
  Hits        20864    20864           
  Misses        340      340           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link

github-actions bot commented Jun 4, 2024

Code size report:

   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
     mimxrt:    +0 +0.000% TEENSY40

@dpgeorge dpgeorge force-pushed the tools-metrics-change-rp2-to-w branch 2 times, most recently from 0e6dd30 to 7d2b702 Compare June 4, 2024 00:27
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>
@dpgeorge dpgeorge force-pushed the tools-metrics-change-rp2-to-w branch from 7d2b702 to 0e19286 Compare June 4, 2024 00:54
@dpgeorge
Copy link
Member Author

dpgeorge commented Jun 4, 2024

The correct code-size-diff output won't work until this is merged to master (because it's trying to compare previous RPI_PICO builds with RPI_PICO_W).

@dpgeorge dpgeorge merged commit 0e19286 into micropython:master Jun 4, 2024
@dpgeorge dpgeorge deleted the tools-metrics-change-rp2-to-w branch June 4, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Relates to tools/ directory in source, or other tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant