Skip to content

Introduce ConnectionStatusEvent, remove BleStatusEvent and ConnectionStateChangeEvent#844

Merged
HaoboGu merged 3 commits into
mainfrom
refactor/connection_status
May 11, 2026
Merged

Introduce ConnectionStatusEvent, remove BleStatusEvent and ConnectionStateChangeEvent#844
HaoboGu merged 3 commits into
mainfrom
refactor/connection_status

Conversation

@HaoboGu
Copy link
Copy Markdown
Owner

@HaoboGu HaoboGu commented May 11, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

Size Report

Example main PR Diff .text .data .bss
use_config/nrf52832_ble 372.0 KiB 371.8 KiB -0.05% ⬇️ -144 0 -80
use_config/nrf52840_ble 421.4 KiB 421.3 KiB -0.03% ⬇️ -72 0 -80
use_config/nrf52840_ble_split (central) 496.0 KiB 496.3 KiB +0.06% ⬆️ +412 0 -72
use_config/nrf52840_ble_split (peripheral) 320.3 KiB 321.9 KiB +0.51% ⬆️ +1212 0 +488
use_config/pi_pico_w_ble 659.3 KiB 659.0 KiB -0.04% ⬇️ -196 0 -80
use_config/rp2040 146.7 KiB 146.7 KiB +0.00% ⬇️ -12 0 +8
use_config/rp2040_split (central) 158.4 KiB 159.9 KiB +0.91% ⬆️ +1428 0 +56
use_config/rp2040_split (peripheral) 25.9 KiB 27.1 KiB +4.65% ⬆️ +932 +4 +296
use_config/stm32f1 62.4 KiB 62.4 KiB -0.01% ⬇️ -16 0 +8
use_config/stm32h7 99.8 KiB 99.8 KiB +0.00% ⬇️ -12 0 +8
use_rust/nrf52832_ble 359.2 KiB 359.0 KiB -0.04% ⬇️ -76 0 -80
use_rust/nrf52840_ble 417.6 KiB 417.4 KiB -0.05% ⬇️ -136 0 -80
use_rust/nrf52840_ble_split (central) 505.1 KiB 506.3 KiB +0.23% ⬆️ +1296 0 -72
use_rust/nrf52840_ble_split (peripheral) 317.0 KiB 318.6 KiB +0.50% ⬆️ +1144 0 +488
use_rust/pi_pico_w_ble 659.8 KiB 659.6 KiB -0.03% ⬇️ -168 0 -80
use_rust/rp2040 146.5 KiB 146.5 KiB +0.00% -8 0 +8
use_rust/rp2040_split (central) 157.7 KiB 159.4 KiB +1.04% ⬆️ +1632 0 +56
use_rust/rp2040_split (peripheral) 26.4 KiB 27.6 KiB +4.52% ⬆️ +924 +4 +296
use_rust/stm32f1 61.9 KiB 61.9 KiB -0.01% ⬇️ -16 0 +8
use_rust/stm32h7 121.0 KiB 121.0 KiB +0.00% -8 0 +8
use_config/nrf52832_ble — 372.0 KiB → 371.8 KiB (-0.05% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 341188	   5256	  34256	 380700	  5cf1c	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 341332	   5256	  34336	 380924	  5cffc	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%     +16  [ = ]       0    .debug_ranges
 -22.0%     -11  [ = ]       0    [Unmapped]
  -0.1%     -48  [ = ]       0    .debug_aranges
  -0.8%     -66  [ = ]       0    .debug_abbrev
  [ = ]       0  -0.2%     -80    .bss
  -0.2%     -80  [ = ]       0    .debug_frame
  -0.1%     -96  [ = ]       0    .symtab
  -0.0%    -144  -0.0%    -144    .text
  -0.1%    -171  [ = ]       0    .debug_line
  -0.1%    -191  [ = ]       0    .strtab
  -0.0%    -875  [ = ]       0    .debug_info
  -0.2% -1.26Ki  [ = ]       0    .debug_loc
  -0.3% -7.66Ki  [ = ]       0    .debug_str
  -0.2% -10.5Ki  -0.1%    -224    TOTAL
use_config/nrf52840_ble — 421.4 KiB → 421.3 KiB (-0.03% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 375084	   5264	  51056	 431404	  6952c	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 375156	   5264	  51136	 431556	  695c4	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%    +103  [ = ]       0    .debug_info
   +20%      +9  [ = ]       0    [Unmapped]
  -0.3%     -22  [ = ]       0    .debug_abbrev
  -0.1%     -64  [ = ]       0    .debug_aranges
  -0.0%     -72  -0.0%     -72    .text
  [ = ]       0  -0.2%     -80    .bss
  -0.0%     -96  [ = ]       0    .debug_line
  -0.2%    -116  [ = ]       0    .debug_frame
  -0.1%    -144  [ = ]       0    .symtab
  -0.1%    -163  [ = ]       0    .strtab
  -0.2%    -376  [ = ]       0    .debug_ranges
  -0.1%    -579  [ = ]       0    .debug_loc
  -0.2% -6.20Ki  [ = ]       0    .debug_str
  -0.1% -7.68Ki  -0.0%    -152    TOTAL
use_config/nrf52840_ble_split (central) — 496.0 KiB → 496.3 KiB (+0.06% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 454800	   6588	  46872	 508260	  7c164	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 454388	   6588	  46944	 507920	  7c010	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +37.9Ki  [ = ]       0    .debug_str
  +1.0% +22.0Ki  [ = ]       0    .debug_info
  +0.5% +1.61Ki  [ = ]       0    .strtab
  +0.5% +1.31Ki  [ = ]       0    .debug_ranges
  +0.4% +1.27Ki  [ = ]       0    .debug_line
  +0.1% +1.00Ki  [ = ]       0    .debug_loc
  +0.3%    +480  [ = ]       0    .symtab
  +0.6%    +252  +0.6%    +252    .rodata
  +0.5%    +248  [ = ]       0    .debug_frame
  +0.0%    +160  +0.0%    +160    .text
  +0.9%     +77  [ = ]       0    .debug_abbrev
  +0.1%     +56  [ = ]       0    .debug_aranges
  +0.4%      +4  [ = ]       0    .defmt
  +6.2%      +4  [ = ]       0    [Unmapped]
  [ = ]       0  -0.2%     -72    .bss
  +0.8% +66.3Ki  +0.1%    +340    TOTAL
use_config/nrf52840_ble_split (peripheral) — 320.3 KiB → 321.9 KiB (+0.51% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 296272	   5920	  27456	 329648	  507b0	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 295060	   5920	  26968	 327948	  5010c	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.8% +45.8Ki  [ = ]       0    .debug_str
  +1.4% +21.0Ki  [ = ]       0    .debug_info
  +0.6% +3.53Ki  [ = ]       0    .debug_loc
  +0.7% +1.66Ki  [ = ]       0    .debug_line
  +0.6% +1.29Ki  [ = ]       0    .strtab
  +0.8% +1.20Ki  [ = ]       0    .debug_ranges
  +0.5% +1.16Ki  +0.5% +1.16Ki    .text
  [ = ]       0  +1.9%    +488    .bss
  +0.4%    +464  [ = ]       0    .symtab
  +0.6%    +192  [ = ]       0    .debug_frame
  +0.2%     +80  [ = ]       0    .debug_aranges
  +0.1%     +28  +0.1%     +28    .rodata
   +10%      +6  [ = ]       0    [Unmapped]
  +0.6%      +4  [ = ]       0    .defmt
  +1.3% +76.4Ki  +0.5% +1.66Ki    TOTAL
use_config/pi_pico_w_ble — 659.3 KiB → 659.0 KiB (-0.04% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 619376	      0	  55452	 674828	  a4c0c	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 619572	      0	  55532	 675104	  a4d20	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
   +14%      +8  [ = ]       0    [Unmapped]
  +0.0%      +4  [ = ]       0    .debug_abbrev
  -0.1%     -32  [ = ]       0    .debug_aranges
  -0.1%     -36  [ = ]       0    .debug_frame
  -0.1%     -64  [ = ]       0    .symtab
  [ = ]       0  -0.1%     -80    .bss
  -0.0%    -128  [ = ]       0    .strtab
  -0.1%    -196  -0.1%    -196    .text
  -0.1%    -288  [ = ]       0    .debug_ranges
  -0.1%    -373  [ = ]       0    .debug_line
  -0.2% -1.83Ki  [ = ]       0    .debug_loc
  -0.2% -4.03Ki  [ = ]       0    .debug_info
  -0.2% -8.34Ki  [ = ]       0    .debug_str
  -0.2% -15.3Ki  -0.0%    -276    TOTAL
use_config/rp2040 — 146.7 KiB → 146.7 KiB (+0.00% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 135000	      0	  15252	 150252	  24aec	rmk-rp2040

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 135012	      0	  15244	 150256	  24af0	rmk-rp2040

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.1%    +145  [ = ]       0    .debug_line
   +42%     +17  [ = ]       0    [Unmapped]
  [ = ]       0  +0.1%      +8    .bss
  +0.0%      +6  [ = ]       0    .strtab
  -0.0%     -12  -0.0%     -12    .text
  -0.0%     -65  [ = ]       0    .debug_info
  -0.1%    -171  [ = ]       0    .debug_loc
  -0.0%    -256  [ = ]       0    .debug_str
  -0.0%    -336  -0.0%      -4    TOTAL
use_config/rp2040_split (central) — 158.4 KiB → 159.9 KiB (+0.91% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 147668	      0	  16064	 163732	  27f94	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 146240	      0	  16008	 162248	  279c8	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +3.2% +49.4Ki  [ = ]       0    .debug_str
  +2.0% +21.3Ki  [ = ]       0    .debug_info
  +2.3% +7.59Ki  [ = ]       0    .debug_loc
  +1.0% +1.73Ki  [ = ]       0    .debug_line
  +1.4% +1.44Ki  [ = ]       0    .strtab
  +0.9% +1.15Ki  +0.9% +1.15Ki    .text
  +1.1%    +976  [ = ]       0    .debug_ranges
  +1.2%    +416  [ = ]       0    .symtab
  +1.3%    +252  +1.3%    +252    .rodata
  +1.1%    +200  [ = ]       0    .debug_frame
  [ = ]       0  +0.4%     +56    .bss
  +0.3%     +56  [ = ]       0    .debug_aranges
   +40%     +18  [ = ]       0    [Unmapped]
  +0.9%      +4  [ = ]       0    .defmt
  +2.4% +84.5Ki  +0.9% +1.45Ki    TOTAL
use_config/rp2040_split (peripheral) — 25.9 KiB → 27.1 KiB (+4.65% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  24952	     60	   2708	  27720	   6c48	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  24020	     56	   2412	  26488	   6778	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +6.8% +43.9Ki  [ = ]       0    .debug_str
  +6.5% +22.5Ki  [ = ]       0    .debug_info
  +9.9% +5.95Ki  [ = ]       0    .debug_loc
  +3.0% +1.62Ki  [ = ]       0    .debug_line
  +7.9% +1.48Ki  [ = ]       0    .strtab
  +8.1% +1.18Ki  [ = ]       0    .debug_ranges
  +4.8%    +904  +4.8%    +904    .text
  [ = ]       0   +21%    +296    .bss
  +3.5%    +288  [ = ]       0    .symtab
  +1.1%     +56  [ = ]       0    .debug_frame
  +0.3%     +40  [ = ]       0    .debug_aranges
  +0.6%     +28  +0.6%     +28    .rodata
   +74%     +26  [ = ]       0    [Unmapped]
  +2.7%      +5  [ = ]       0    .defmt
  +4.2%      +4  +7.1%      +4    .data
  +6.5% +78.0Ki  +4.7% +1.20Ki    TOTAL
use_config/stm32f1 — 62.4 KiB → 62.4 KiB (-0.01% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  56416	     28	   7440	  63884	   f98c	rmk-stm32f1

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  56432	     28	   7432	  63892	   f994	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%     +55  [ = ]       0    .debug_info
  [ = ]       0  +0.1%      +8    .bss
  +0.0%      +7  [ = ]       0    .strtab
  -0.0%     -16  -0.0%     -16    .text
 -23.5%     -16  [ = ]       0    [Unmapped]
  -0.0%     -18  [ = ]       0    .debug_str
  -0.1%     -24  [ = ]       0    .debug_ranges
  -0.0%     -26  [ = ]       0    .debug_line
  -0.1%    -114  [ = ]       0    .debug_loc
  -0.0%    -152  -0.0%      -8    TOTAL
use_config/stm32h7 — 99.8 KiB → 99.8 KiB (+0.00% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  92208	    268	   9672	 102148	  18f04	rmk-stm32h7

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  92220	    268	   9664	 102152	  18f08	rmk-stm32h7

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.0%    +648  [ = ]       0    .debug_str
   +40%     +16  [ = ]       0    [Unmapped]
  [ = ]       0  +0.1%      +8    .bss
  +0.0%      +1  [ = ]       0    .strtab
  -0.0%     -11  [ = ]       0    .debug_line
  -0.0%     -12  -0.0%     -12    .text
  -0.0%     -24  [ = ]       0    .debug_ranges
  -0.1%     -32  [ = ]       0    .symtab
  -0.0%    -105  [ = ]       0    .debug_info
  -0.1%    -153  [ = ]       0    .debug_loc
  +0.0%    +328  -0.0%      -4    TOTAL
use_rust/nrf52832_ble — 359.2 KiB → 359.0 KiB (-0.04% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 329112	   5264	  33248	 367624	  59c08	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 329188	   5264	  33328	 367780	  59ca4	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  -0.0%      -4  [ = ]       0    .debug_line
 -31.0%     -18  [ = ]       0    [Unmapped]
  -0.6%     -48  [ = ]       0    .debug_abbrev
  -0.0%     -76  -0.0%     -76    .text
  [ = ]       0  -0.2%     -80    .bss
  -0.2%     -88  [ = ]       0    .debug_aranges
  -0.4%    -160  [ = ]       0    .debug_frame
  -0.1%    -224  [ = ]       0    .debug_ranges
  -0.3%    -288  [ = ]       0    .symtab
  -0.1%    -310  [ = ]       0    .strtab
  -0.2%   -1022  [ = ]       0    .debug_loc
  -0.1% -2.10Ki  [ = ]       0    .debug_info
  -0.3% -8.62Ki  [ = ]       0    .debug_str
  -0.2% -12.9Ki  -0.0%    -156    TOTAL
use_rust/nrf52840_ble — 417.6 KiB → 417.4 KiB (-0.05% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 375612	   5264	  46536	 427412	  68594	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 375748	   5264	  46616	 427628	  6866c	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
   +19%     +11  [ = ]       0    [Unmapped]
  -0.1%     -40  [ = ]       0    .debug_aranges
  -0.7%     -55  [ = ]       0    .debug_abbrev
  -0.1%     -68  [ = ]       0    .debug_frame
  -0.0%     -73  [ = ]       0    .debug_line
  [ = ]       0  -0.2%     -80    .bss
  -0.1%     -80  [ = ]       0    .symtab
  -0.0%    -100  [ = ]       0    .strtab
  -0.0%    -136  -0.0%    -136    .text
  -0.1%    -288  [ = ]       0    .debug_ranges
  -0.2% -1.21Ki  [ = ]       0    .debug_loc
  -0.1% -1.30Ki  [ = ]       0    .debug_info
  -0.3% -8.26Ki  [ = ]       0    .debug_str
  -0.2% -11.6Ki  -0.1%    -216    TOTAL
use_rust/nrf52840_ble_split (central) — 505.1 KiB → 506.3 KiB (+0.23% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 459248	   6588	  52608	 518444	  7e92c	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 457952	   6588	  52680	 517220	  7e464	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +37.0Ki  [ = ]       0    .debug_str
  +0.7% +16.8Ki  [ = ]       0    .debug_info
  +0.5% +4.17Ki  [ = ]       0    .debug_loc
  +0.4% +1.52Ki  [ = ]       0    .strtab
  +0.3% +1.21Ki  [ = ]       0    .debug_line
  +0.3% +1.02Ki  +0.3% +1.02Ki    .text
  +0.3%    +432  [ = ]       0    .symtab
  +0.2%    +416  [ = ]       0    .debug_ranges
  +0.6%    +252  +0.6%    +252    .rodata
  +0.4%    +220  [ = ]       0    .debug_frame
  +0.1%     +56  [ = ]       0    .debug_aranges
  +0.2%     +18  [ = ]       0    .debug_abbrev
   +34%     +18  [ = ]       0    [Unmapped]
  +0.4%      +4  [ = ]       0    .defmt
  [ = ]       0  -0.1%     -72    .bss
  +0.7% +63.1Ki  +0.2% +1.20Ki    TOTAL
use_rust/nrf52840_ble_split (peripheral) — 317.0 KiB → 318.6 KiB (+0.50% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 294656	   5360	  26216	 326232	  4fa58	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 293512	   5360	  25728	 324600	  4f3f8	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.8% +46.2Ki  [ = ]       0    .debug_str
  +1.4% +21.0Ki  [ = ]       0    .debug_info
  +0.6% +3.33Ki  [ = ]       0    .debug_loc
  +0.7% +1.69Ki  [ = ]       0    .debug_line
  +0.6% +1.31Ki  [ = ]       0    .strtab
  +0.4% +1.09Ki  +0.4% +1.09Ki    .text
  +0.6% +1.01Ki  [ = ]       0    .debug_ranges
  +0.5%    +496  [ = ]       0    .symtab
  [ = ]       0  +2.0%    +488    .bss
  +0.6%    +208  [ = ]       0    .debug_frame
  +0.2%     +88  [ = ]       0    .debug_aranges
  +0.1%     +28  +0.1%     +28    .rodata
   +17%      +9  [ = ]       0    [Unmapped]
  +0.6%      +4  [ = ]       0    .defmt
  +1.3% +76.4Ki  +0.5% +1.59Ki    TOTAL
use_rust/pi_pico_w_ble — 659.8 KiB → 659.6 KiB (-0.03% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 619804	      0	  55596	 675400	  a4e48	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 619972	      0	  55676	 675648	  a4f40	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
   +15%      +7  [ = ]       0    [Unmapped]
  -0.3%     -32  [ = ]       0    .debug_abbrev
  -0.1%     -32  [ = ]       0    .debug_aranges
  -0.1%     -36  [ = ]       0    .debug_frame
  [ = ]       0  -0.1%     -80    .bss
  -0.2%    -128  [ = ]       0    .symtab
  -0.1%    -140  [ = ]       0    .strtab
  -0.1%    -168  -0.1%    -168    .text
  -0.1%    -240  [ = ]       0    .debug_ranges
  -0.1%    -442  [ = ]       0    .debug_line
  -0.1% -1.49Ki  [ = ]       0    .debug_loc
  -0.2% -4.14Ki  [ = ]       0    .debug_info
  -0.3% -8.97Ki  [ = ]       0    .debug_str
  -0.2% -15.8Ki  -0.0%    -248    TOTAL
use_rust/rp2040 — 146.5 KiB → 146.5 KiB (+0.00%)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 134872	      0	  15132	 150004	  249f4	rmk-rp2040

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 134880	      0	  15124	 150004	  249f4	rmk-rp2040

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.1%    +106  [ = ]       0    .debug_line
  [ = ]       0  +0.1%      +8    .bss
   +16%      +8  [ = ]       0    [Unmapped]
  +0.0%      +6  [ = ]       0    .strtab
  -0.0%      -8  -0.0%      -8    .text
  -0.0%     -28  [ = ]       0    .debug_str
  -0.1%    -181  [ = ]       0    .debug_loc
  -0.0%    -279  [ = ]       0    .debug_info
  -0.0%    -376  [ = ]       0    TOTAL
use_rust/rp2040_split (central) — 157.7 KiB → 159.4 KiB (+1.04% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 147364	      0	  15844	 163208	  27d88	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 145732	      0	  15788	 161520	  276f0	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +3.2% +48.5Ki  [ = ]       0    .debug_str
  +2.0% +21.1Ki  [ = ]       0    .debug_info
  +1.6% +5.41Ki  [ = ]       0    .debug_loc
  +1.0% +1.74Ki  [ = ]       0    .debug_line
  +1.4% +1.42Ki  [ = ]       0    .strtab
  +1.1% +1.35Ki  +1.1% +1.35Ki    .text
  +1.1% +1.02Ki  [ = ]       0    .debug_ranges
  +0.8%    +288  [ = ]       0    .symtab
  +1.3%    +252  +1.3%    +252    .rodata
  +1.1%    +200  [ = ]       0    .debug_frame
  [ = ]       0  +0.4%     +56    .bss
  +0.3%     +56  [ = ]       0    .debug_aranges
  +0.9%      +4  [ = ]       0    .defmt
  -4.4%      -2  [ = ]       0    [Unmapped]
  +2.3% +81.3Ki  +1.0% +1.65Ki    TOTAL
use_rust/rp2040_split (peripheral) — 26.4 KiB → 27.6 KiB (+4.52% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  25244	     60	   2972	  28276	   6e74	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  24320	     56	   2676	  27052	   69ac	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +6.7% +44.2Ki  [ = ]       0    .debug_str
  +6.5% +22.6Ki  [ = ]       0    .debug_info
   +11% +6.57Ki  [ = ]       0    .debug_loc
  +2.9% +1.58Ki  [ = ]       0    .debug_line
  +8.3% +1.50Ki  [ = ]       0    .strtab
  +7.9% +1.14Ki  [ = ]       0    .debug_ranges
  +4.7%    +896  +4.7%    +896    .text
  +4.4%    +352  [ = ]       0    .symtab
  [ = ]       0   +18%    +296    .bss
  +1.1%     +56  [ = ]       0    .debug_frame
  +0.3%     +40  [ = ]       0    .debug_aranges
  +0.6%     +28  +0.6%     +28    .rodata
  +7.2%     +13  [ = ]       0    .defmt
  +4.2%      +4  +7.1%      +4    .data
  +5.4%      +3  [ = ]       0    [Unmapped]
  -0.1%      -8  [ = ]       0    .debug_abbrev
  +6.5% +78.9Ki  +4.5% +1.20Ki    TOTAL
use_rust/stm32f1 — 61.9 KiB → 61.9 KiB (-0.01% ⬇️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  55956	     28	   7416	  63400	   f7a8	rmk-stm32f1

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  55972	     28	   7408	  63408	   f7b0	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
   +29%     +14  [ = ]       0    [Unmapped]
  [ = ]       0  +0.1%      +8    .bss
  -0.2%      -8  [ = ]       0    .debug_aranges
  -0.1%     -16  [ = ]       0    .debug_frame
  -0.0%     -16  -0.0%     -16    .text
  -0.1%     -18  [ = ]       0    .strtab
  -0.0%     -24  [ = ]       0    .debug_line
  -0.1%     -32  [ = ]       0    .debug_ranges
  -0.2%     -32  [ = ]       0    .symtab
  -0.1%    -114  [ = ]       0    .debug_loc
  -0.0%    -233  [ = ]       0    .debug_info
  -0.0%    -277  [ = ]       0    .debug_str
  -0.0%    -756  -0.0%      -8    TOTAL
use_rust/stm32h7 — 121.0 KiB → 121.0 KiB (+0.00%)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 108072	    324	  15460	 123856	  1e3d0	rmk-stm32h7

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 108080	    324	  15452	 123856	  1e3d0	rmk-stm32h7

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.1%    +193  [ = ]       0    .debug_line
  +0.0%     +90  [ = ]       0    .debug_loc
  +0.0%     +63  [ = ]       0    .debug_str
  +0.0%     +49  [ = ]       0    .debug_info
  +0.1%     +32  [ = ]       0    .symtab
  +0.0%     +15  [ = ]       0    .strtab
  [ = ]       0  +0.1%      +8    .bss
  +3.2%      +2  [ = ]       0    [Unmapped]
  -0.0%      -8  -0.0%      -8    .text
  -0.0%     -24  [ = ]       0    .debug_ranges
  +0.0%    +412  [ = ]       0    TOTAL

@HaoboGu HaoboGu merged commit f8210e6 into main May 11, 2026
44 of 45 checks passed
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