Skip to content

Add autoshift - #1071

Draft
HaoboGu wants to merge 1 commit into
mainfrom
feat/autoshift
Draft

Add autoshift#1071
HaoboGu wants to merge 1 commit into
mainfrom
feat/autoshift

Conversation

@HaoboGu

@HaoboGu HaoboGu commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@HaoboGu
HaoboGu marked this pull request as draft August 19, 2026 13:56
@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown

Size Report

Example main PR Diff .text .data .bss
use_config/nrf52832_ble 398.7 KiB 400.6 KiB +0.46% ⬆️ +1608 0 +296
use_config/nrf52840_ble 440.8 KiB 442.6 KiB +0.40% ⬆️ +1536 0 +296
use_config/nrf52840_ble_split (central) 506.3 KiB 509.5 KiB +0.62% ⬆️ +2944 0 +296
use_config/nrf52840_ble_split (peripheral) 317.5 KiB 318.0 KiB +0.17% ⬆️ +312 0 +272
use_config/pi_pico_w_ble 673.9 KiB 675.3 KiB +0.20% ⬆️ +1132 0 +296
use_config/rp2040 146.1 KiB 147.9 KiB +1.20% ⬆️ +1504 0 +296
use_config/rp2040_split (central) 159.8 KiB 161.4 KiB +1.01% ⬆️ +1368 0 +296
use_config/rp2040_split (peripheral) 27.9 KiB 27.9 KiB +0.00% 0 0 0
use_config/stm32f1 62.7 KiB 63.4 KiB +1.15% ⬆️ +716 0 +24
use_config/stm32h7 100.9 KiB 101.4 KiB +0.50% ⬆️ +500 0 +24
use_rust/nrf52832_ble 386.8 KiB 388.5 KiB +0.44% ⬆️ +1448 0 +296
use_rust/nrf52840_ble 436.3 KiB 437.8 KiB +0.36% ⬆️ +1324 0 +296
use_rust/nrf52840_ble_split (central) 508.4 KiB 510.2 KiB +0.34% ⬆️ +1508 0 +296
use_rust/nrf52840_ble_split (peripheral) 315.2 KiB 315.7 KiB +0.16% ⬆️ +268 0 +272
use_rust/pi_pico_w_ble 673.2 KiB 674.6 KiB +0.20% ⬆️ +1104 0 +296
use_rust/rp2040 145.6 KiB 147.3 KiB +1.15% ⬆️ +1432 0 +296
use_rust/rp2040_split (central) 158.4 KiB 160.1 KiB +1.04% ⬆️ +1404 0 +296
use_rust/rp2040_split (peripheral) 28.2 KiB 28.2 KiB +0.00% 0 0 0
use_rust/stm32f1 61.9 KiB 62.6 KiB +1.12% ⬆️ +692 0 +24
use_rust/stm32h7 119.3 KiB 121.3 KiB +1.71% ⬆️ +1800 0 +296
use_config/nrf52832_ble — 398.7 KiB → 400.6 KiB (+0.46% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 367344	   8620	  34248	 410212	  64264	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 365736	   8620	  33952	 408308	  63af4	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +4.81Ki  [ = ]       0    .debug_info
  +0.4% +2.67Ki  [ = ]       0    .debug_loc
  +0.1% +2.35Ki  [ = ]       0    .debug_str
  +0.5% +1.61Ki  [ = ]       0    .debug_line
  +0.4% +1.43Ki  +0.4% +1.43Ki    .text
  +0.2%    +750  [ = ]       0    .strtab
  +0.3%    +576  [ = ]       0    .debug_ranges
  +0.4%    +480  [ = ]       0    .symtab
  +0.8%    +380  [ = ]       0    .debug_frame
  [ = ]       0  +0.9%    +296    .bss
  +0.4%    +140  +0.4%    +140    .rodata
  +0.3%    +120  [ = ]       0    .debug_aranges
  +0.0%      +4  [ = ]       0    .debug_abbrev
  -3.4%      -2  [ = ]       0    [Unmapped]
  +0.2% +15.3Ki  +0.5% +1.86Ki    TOTAL
use_config/nrf52840_ble — 440.8 KiB → 442.6 KiB (+0.40% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 400300	   8628	  44280	 453208	  6ea58	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 398764	   8628	  43984	 451376	  6e330	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +5.21Ki  [ = ]       0    .debug_info
  +0.1% +2.21Ki  [ = ]       0    .debug_str
  +0.3% +2.10Ki  [ = ]       0    .debug_loc
  +0.4% +1.47Ki  [ = ]       0    .debug_line
  +0.4% +1.36Ki  +0.4% +1.36Ki    .text
  +0.1%    +526  [ = ]       0    .strtab
  +0.2%    +448  [ = ]       0    .debug_ranges
  [ = ]       0  +0.7%    +296    .bss
  +0.5%    +236  [ = ]       0    .debug_frame
  +0.2%    +224  [ = ]       0    .symtab
  +0.3%    +140  +0.3%    +140    .rodata
  +0.7%     +59  [ = ]       0    .debug_abbrev
  +0.1%     +48  [ = ]       0    .debug_aranges
 -11.8%      -6  [ = ]       0    [Unmapped]
  +0.2% +14.0Ki  +0.4% +1.79Ki    TOTAL
use_config/nrf52840_ble_split (central) — 506.3 KiB → 509.5 KiB (+0.62% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 462612	   8684	  50432	 521728	  7f600	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 459668	   8684	  50136	 518488	  7e958	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.9% +7.56Ki  [ = ]       0    .debug_loc
  +0.2% +5.38Ki  [ = ]       0    .debug_info
  +0.7% +2.74Ki  +0.7% +2.74Ki    .text
  +0.4% +1.43Ki  [ = ]       0    .debug_line
  +0.4% +1.06Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +0.6%    +296    .bss
  +0.3%    +140  +0.3%    +140    .rodata
  +0.4%     +38  [ = ]       0    .debug_abbrev
  -2.1%      -1  [ = ]       0    [Unmapped]
  -0.4%    -192  [ = ]       0    .debug_aranges
  -0.4%    -244  [ = ]       0    .debug_frame
  -0.4%    -672  [ = ]       0    .symtab
  -0.2%    -828  [ = ]       0    .strtab
  -0.0% -1.24Ki  [ = ]       0    .debug_str
  +0.2% +15.2Ki  +0.6% +3.16Ki    TOTAL
use_config/nrf52840_ble_split (peripheral) — 317.5 KiB → 318.0 KiB (+0.17% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 291708	   8508	  25456	 325672	  4f828	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 291396	   8508	  25184	 325088	  4f5e0	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.1% +1.21Ki  [ = ]       0    .debug_info
  +0.1%    +300  +0.1%    +300    .text
  +0.1%    +276  [ = ]       0    .debug_line
  [ = ]       0  +1.1%    +272    .bss
  +0.1%    +180  [ = ]       0    .strtab
  +0.0%     +64  [ = ]       0    .debug_ranges
  +0.1%     +64  [ = ]       0    .symtab
  +0.1%     +32  [ = ]       0    .debug_frame
  +0.3%     +20  [ = ]       0    .debug_abbrev
  +0.0%     +12  +0.0%     +12    .rodata
   +21%     +10  [ = ]       0    [Unmapped]
  +0.0%      +8  [ = ]       0    .debug_aranges
  -0.0%     -19  [ = ]       0    .debug_loc
  -0.0%     -51  [ = ]       0    .debug_str
  +0.0% +2.09Ki  +0.2%    +584    TOTAL
use_config/pi_pico_w_ble — 673.9 KiB → 675.3 KiB (+0.20% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 637220	      0	  54312	 691532	  a8d4c	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 636088	      0	  54016	 690104	  a87b8	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +6.35Ki  [ = ]       0    .debug_info
  +0.1% +4.73Ki  [ = ]       0    .debug_str
  +0.1% +1.16Ki  [ = ]       0    .debug_loc
  +0.3%    +988  +0.3%    +988    .text
  +0.2%    +926  [ = ]       0    .debug_line
  +0.2%    +580  [ = ]       0    .strtab
  +0.6%    +480  [ = ]       0    .symtab
  +0.1%    +312  [ = ]       0    .debug_ranges
  [ = ]       0  +0.6%    +296    .bss
  +0.5%    +232  [ = ]       0    .debug_frame
  +0.0%    +144  +0.0%    +144    .rodata
  +0.1%     +48  [ = ]       0    .debug_aranges
  +0.2%     +20  [ = ]       0    .debug_abbrev
  -0.9%      -8  [ = ]       0    .defmt
 -22.8%     -13  [ = ]       0    [Unmapped]
  +0.2% +15.9Ki  +0.2% +1.39Ki    TOTAL
use_config/rp2040 — 146.1 KiB → 147.9 KiB (+1.20% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 137212	      0	  14196	 151408	  24f70	rmk-rp2040

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 135708	      0	  13900	 149608	  24868	rmk-rp2040

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.7% +6.45Ki  [ = ]       0    .debug_info
  +0.3% +5.07Ki  [ = ]       0    .debug_str
  +0.8% +2.40Ki  [ = ]       0    .debug_loc
  +0.8% +1.36Ki  [ = ]       0    .debug_line
  +1.1% +1.33Ki  +1.1% +1.33Ki    .text
  +0.5%    +579  [ = ]       0    .strtab
  +1.0%    +320  [ = ]       0    .symtab
  [ = ]       0  +2.3%    +296    .bss
  +0.4%    +296  [ = ]       0    .debug_ranges
  +1.3%    +232  [ = ]       0    .debug_frame
  +0.9%    +140  +0.9%    +140    .rodata
  +0.3%     +48  [ = ]       0    .debug_aranges
  +0.1%     +10  [ = ]       0    .debug_abbrev
  -1.9%      -1  [ = ]       0    [Unmapped]
  +0.5% +18.2Ki  +1.2% +1.76Ki    TOTAL
use_config/rp2040_split (central) — 159.8 KiB → 161.4 KiB (+1.01% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 150116	      0	  15140	 165256	  28588	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 148748	      0	  14844	 163592	  27f08	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.6% +6.50Ki  [ = ]       0    .debug_info
  +0.3% +5.09Ki  [ = ]       0    .debug_str
  +1.3% +4.66Ki  [ = ]       0    .debug_loc
  +0.8% +1.38Ki  [ = ]       0    .debug_line
  +0.9% +1.20Ki  +0.9% +1.20Ki    .text
  +0.4%    +565  [ = ]       0    .strtab
  +0.5%    +480  [ = ]       0    .debug_ranges
  +1.1%    +384  [ = ]       0    .symtab
  [ = ]       0  +2.1%    +296    .bss
  +1.2%    +232  [ = ]       0    .debug_frame
  +0.8%    +140  +0.8%    +140    .rodata
  +0.3%     +48  [ = ]       0    .debug_aranges
  +0.1%     +10  [ = ]       0    .debug_abbrev
   +17%      +6  [ = ]       0    [Unmapped]
  +0.5% +20.7Ki  +1.0% +1.62Ki    TOTAL
use_config/rp2040_split (peripheral) — 27.9 KiB → 27.9 KiB (+0.00%)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  25696	     60	   2804	  28560	   6f90	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  25696	     60	   2804	  28560	   6f90	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%    +118  [ = ]       0    .debug_str
  +0.0%     +48  [ = ]       0    .debug_info
  +8.0%      +4  [ = ]       0    [Unmapped]
  -0.0%      -2  [ = ]       0    .strtab
  -0.1%      -8  [ = ]       0    .debug_aranges
  +0.0%    +160  [ = ]       0    TOTAL
use_config/stm32f1 — 62.7 KiB → 63.4 KiB (+1.15% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  58504	     28	   6384	  64916	   fd94	rmk-stm32f1

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  57788	     28	   6360	  64176	   fab0	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.5% +4.47Ki  [ = ]       0    .debug_str
  +0.6% +3.62Ki  [ = ]       0    .debug_info
  +0.9% +1.11Ki  [ = ]       0    .debug_loc
  +0.8%    +752  [ = ]       0    .debug_line
  +1.3%    +712  +1.3%    +712    .text
  +1.2%    +566  [ = ]       0    .strtab
  +1.2%    +240  [ = ]       0    .symtab
  +1.7%    +220  [ = ]       0    .debug_frame
  +0.4%    +192  [ = ]       0    .debug_ranges
  +0.9%     +56  [ = ]       0    .debug_aranges
  [ = ]       0  +0.4%     +24    .bss
  +0.3%     +20  [ = ]       0    .debug_abbrev
  +0.5%      +4  +0.5%      +4    .rodata
 -18.9%     -10  [ = ]       0    [Unmapped]
  +0.6% +11.9Ki  +1.2%    +740    TOTAL
use_config/stm32h7 — 100.9 KiB → 101.4 KiB (+0.50% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  95424	    264	   8136	 103824	  19590	rmk-stm32h7

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  94924	    264	   8112	 103300	  19384	rmk-stm32h7

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +6.01Ki  [ = ]       0    .debug_str
  +0.4% +3.73Ki  [ = ]       0    .debug_info
  +1.4%    +902  [ = ]       0    .strtab
  +0.5%    +424  +0.5%    +424    .text
  +0.3%    +344  [ = ]       0    .debug_line
  +1.7%    +252  [ = ]       0    .debug_frame
  +0.5%    +144  [ = ]       0    .symtab
  +0.6%     +76  +0.6%     +76    .rodata
  +0.2%     +56  [ = ]       0    .debug_aranges
  [ = ]       0  +0.3%     +24    .bss
 -38.7%     -24  [ = ]       0    [Unmapped]
  -4.0% -2.82Ki  [ = ]       0    .debug_ranges
  -2.8% -5.08Ki  [ = ]       0    .debug_loc
  +0.1% +3.96Ki  +0.5%    +524    TOTAL
use_rust/nrf52832_ble — 386.8 KiB → 388.5 KiB (+0.44% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 355008	   8620	  34192	 397820	  611fc	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 353560	   8620	  33896	 396076	  60b2c	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +5.04Ki  [ = ]       0    .debug_info
  +0.3% +2.29Ki  [ = ]       0    .debug_loc
  +0.1% +2.17Ki  [ = ]       0    .debug_str
  +0.4% +1.28Ki  +0.4% +1.28Ki    .text
  +0.4% +1.27Ki  [ = ]       0    .debug_line
  +0.2%    +436  [ = ]       0    .strtab
  [ = ]       0  +0.9%    +296    .bss
  +0.4%    +188  [ = ]       0    .debug_frame
  +0.1%    +160  [ = ]       0    .symtab
  +0.1%    +144  [ = ]       0    .debug_ranges
  +0.4%    +140  +0.4%    +140    .rodata
   +53%     +25  [ = ]       0    [Unmapped]
  +0.1%     +24  [ = ]       0    .debug_aranges
  +0.2%     +20  [ = ]       0    .debug_abbrev
  +0.2% +13.2Ki  +0.4% +1.70Ki    TOTAL
use_rust/nrf52840_ble — 436.3 KiB → 437.8 KiB (+0.36% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 398212	   8628	  41512	 448352	  6d760	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 396888	   8628	  41216	 446732	  6d10c	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +5.06Ki  [ = ]       0    .debug_info
  +0.1% +2.27Ki  [ = ]       0    .debug_str
  +0.2% +1.65Ki  [ = ]       0    .debug_loc
  +0.3% +1.16Ki  +0.3% +1.16Ki    .text
  +0.2%    +814  [ = ]       0    .debug_line
  +0.1%    +526  [ = ]       0    .strtab
  +0.2%    +488  [ = ]       0    .debug_ranges
  +0.2%    +320  [ = ]       0    .symtab
  [ = ]       0  +0.7%    +296    .bss
  +0.5%    +252  [ = ]       0    .debug_frame
  +0.3%    +140  +0.3%    +140    .rodata
  +0.1%     +56  [ = ]       0    .debug_aranges
  +0.2%     +20  [ = ]       0    .debug_abbrev
 -21.1%     -15  [ = ]       0    [Unmapped]
  +0.2% +12.7Ki  +0.4% +1.58Ki    TOTAL
use_rust/nrf52840_ble_split (central) — 508.4 KiB → 510.2 KiB (+0.34% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 461780	   8684	  51984	 522448	  7f8d0	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 460272	   8684	  51688	 520644	  7f1c4	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +6.93Ki  [ = ]       0    .debug_info
  +0.1% +5.81Ki  [ = ]       0    .debug_str
  +0.3% +1.34Ki  +0.3% +1.34Ki    .text
  +0.1% +1.19Ki  [ = ]       0    .debug_loc
  +0.3% +1.03Ki  [ = ]       0    .debug_line
  +0.3%    +912  [ = ]       0    .debug_ranges
  +0.1%    +455  [ = ]       0    .strtab
  [ = ]       0  +0.6%    +296    .bss
  +0.3%    +156  [ = ]       0    .debug_frame
  +0.3%    +140  +0.3%    +140    .rodata
  +0.1%     +96  [ = ]       0    .symtab
  +0.4%     +38  [ = ]       0    .debug_abbrev
  +0.0%      +8  [ = ]       0    .debug_aranges
  -9.4%      -5  [ = ]       0    [Unmapped]
  +0.2% +18.1Ki  +0.3% +1.76Ki    TOTAL
use_rust/nrf52840_ble_split (peripheral) — 315.2 KiB → 315.7 KiB (+0.16% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 289576	   8508	  25224	 323308	  4eeec	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 289308	   8508	  24952	 322768	  4ecd0	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.1% +1.26Ki  [ = ]       0    .debug_info
  +0.1%    +288  [ = ]       0    .debug_loc
  [ = ]       0  +1.1%    +272    .bss
  +0.1%    +260  [ = ]       0    .debug_line
  +0.1%    +256  +0.1%    +256    .text
  +0.1%    +206  [ = ]       0    .strtab
  +0.2%    +192  [ = ]       0    .symtab
  +0.1%     +48  [ = ]       0    .debug_frame
  +0.3%     +20  [ = ]       0    .debug_abbrev
  +0.0%     +16  [ = ]       0    .debug_aranges
  +0.0%     +12  +0.0%     +12    .rodata
 -13.2%      -7  [ = ]       0    [Unmapped]
  -0.0%     -24  [ = ]       0    .debug_ranges
  -0.0%     -61  [ = ]       0    .debug_str
  +0.0% +2.43Ki  +0.2%    +540    TOTAL
use_rust/pi_pico_w_ble — 673.2 KiB → 674.6 KiB (+0.20% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 636816	      0	  53992	 690808	  a8a78	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 635712	      0	  53696	 689408	  a8500	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +6.35Ki  [ = ]       0    .debug_info
  +0.2% +2.62Ki  [ = ]       0    .debug_loc
  +0.3%    +964  +0.3%    +964    .text
  +0.2%    +840  [ = ]       0    .debug_line
  +0.1%    +328  [ = ]       0    .debug_ranges
  [ = ]       0  +0.6%    +296    .bss
  +0.5%    +232  [ = ]       0    .debug_frame
  +0.0%    +140  +0.0%    +140    .rodata
  +0.1%     +96  [ = ]       0    .symtab
  +0.1%     +48  [ = ]       0    .debug_aranges
   +37%     +17  [ = ]       0    [Unmapped]
  -0.9%      -8  [ = ]       0    .defmt
  -0.2%     -19  [ = ]       0    .debug_abbrev
  -0.0%    -175  [ = ]       0    .debug_str
  -0.0%    -177  [ = ]       0    .strtab
  +0.1% +11.2Ki  +0.2% +1.37Ki    TOTAL
use_rust/rp2040 — 145.6 KiB → 147.3 KiB (+1.15% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 136768	      0	  14028	 150796	  24d0c	rmk-rp2040

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 135336	      0	  13732	 149068	  2464c	rmk-rp2040

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.7% +6.53Ki  [ = ]       0    .debug_info
  +0.4% +5.84Ki  [ = ]       0    .debug_str
  +0.9% +2.72Ki  [ = ]       0    .debug_loc
  +0.8% +1.33Ki  [ = ]       0    .debug_line
  +1.1% +1.26Ki  +1.1% +1.26Ki    .text
  +0.5%    +603  [ = ]       0    .strtab
  +1.4%    +448  [ = ]       0    .symtab
  +0.4%    +368  [ = ]       0    .debug_ranges
  [ = ]       0  +2.3%    +296    .bss
  +1.4%    +232  [ = ]       0    .debug_frame
  +0.9%    +140  +0.9%    +140    .rodata
  +0.3%     +48  [ = ]       0    .debug_aranges
  +0.1%     +10  [ = ]       0    .debug_abbrev
   +20%      +8  [ = ]       0    [Unmapped]
  +0.6% +19.5Ki  +1.2% +1.69Ki    TOTAL
use_rust/rp2040_split (central) — 158.4 KiB → 160.1 KiB (+1.04% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 149056	      0	  14884	 163940	  28064	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 147652	      0	  14588	 162240	  279c0	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.6% +6.24Ki  [ = ]       0    .debug_info
  +0.2% +4.68Ki  [ = ]       0    .debug_str
  +0.9% +3.01Ki  [ = ]       0    .debug_loc
  +0.7% +1.28Ki  [ = ]       0    .debug_line
  +1.0% +1.23Ki  +1.0% +1.23Ki    .text
  +0.4%    +577  [ = ]       0    .strtab
  +1.3%    +448  [ = ]       0    .symtab
  +0.5%    +432  [ = ]       0    .debug_ranges
  [ = ]       0  +2.2%    +296    .bss
  +1.2%    +232  [ = ]       0    .debug_frame
  +0.8%    +140  +0.8%    +140    .rodata
  +0.3%     +48  [ = ]       0    .debug_aranges
  +0.1%     +10  [ = ]       0    .debug_abbrev
  +7.1%      +3  [ = ]       0    [Unmapped]
  +0.4% +18.3Ki  +1.0% +1.66Ki    TOTAL
use_rust/rp2040_split (peripheral) — 28.2 KiB → 28.2 KiB (+0.00%)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  25796	     60	   3068	  28924	   70fc	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  25796	     60	   3068	  28924	   70fc	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%    +118  [ = ]       0    .debug_str
  +0.0%     +48  [ = ]       0    .debug_info
  -0.0%      -2  [ = ]       0    .strtab
  -0.1%      -8  [ = ]       0    .debug_aranges
  +0.0%    +156  [ = ]       0    TOTAL
use_rust/stm32f1 — 61.9 KiB → 62.6 KiB (+1.12% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  57816	     28	   6304	  64148	   fa94	rmk-stm32f1

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  57124	     28	   6280	  63432	   f7c8	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.5% +4.25Ki  [ = ]       0    .debug_str
  +0.7% +3.62Ki  [ = ]       0    .debug_info
  +0.8%   +1018  [ = ]       0    .debug_loc
  +0.8%    +735  [ = ]       0    .debug_line
  +1.2%    +688  +1.2%    +688    .text
  +1.2%    +527  [ = ]       0    .strtab
  +1.1%    +208  [ = ]       0    .symtab
  +1.6%    +204  [ = ]       0    .debug_frame
  +0.4%    +176  [ = ]       0    .debug_ranges
  +1.0%     +48  [ = ]       0    .debug_aranges
  [ = ]       0  +0.4%     +24    .bss
  +0.3%     +20  [ = ]       0    .debug_abbrev
   +13%      +7  [ = ]       0    [Unmapped]
  +0.5%      +4  +0.6%      +4    .rodata
  +0.6% +11.4Ki  +1.1%    +716    TOTAL
use_rust/stm32h7 — 119.3 KiB → 121.3 KiB (+1.71% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 109632	    320	  14308	 124260	  1e564	rmk-stm32h7

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 107832	    320	  14012	 122164	  1dd34	rmk-stm32h7

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +4.04Ki  [ = ]       0    .debug_info
  +0.2% +3.74Ki  [ = ]       0    .debug_str
  +1.7% +1.68Ki  +1.7% +1.68Ki    .text
  +1.0% +1.54Ki  [ = ]       0    .debug_line
  +0.5% +1.16Ki  [ = ]       0    .debug_loc
  +0.5%    +522  [ = ]       0    .strtab
  [ = ]       0  +2.3%    +296    .bss
  +0.4%    +296  [ = ]       0    .debug_ranges
  +1.9%     +76  +1.9%     +76    .rodata
 -17.2%     -10  [ = ]       0    [Unmapped]
  -0.5%    -104  [ = ]       0    .debug_frame
  -0.3%    -136  [ = ]       0    .debug_aranges
  -0.8%    -304  [ = ]       0    .symtab
  +0.3% +12.5Ki  +1.7% +2.05Ki    TOTAL

Signed-off-by: Haobo Gu <haobogu@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant