Skip to content

fix(k04): release v0.1.9 with active-USB host-power guard - #18

Merged
kissetfall merged 4 commits into
mainfrom
release/rmk-v0.1.9
Sep 4, 2026
Merged

fix(k04): release v0.1.9 with active-USB host-power guard#18
kissetfall merged 4 commits into
mainfrom
release/rmk-v0.1.9

Conversation

@kissetfall

Copy link
Copy Markdown
Member

Summary

  • carry forward the complete standalone K:04 Series v0.1.9-rc.2 production work from feat(k04): prepare v0.1.9-rc.1 production firmware #17
  • promote K:04, K:04 Mini, and K:04 Micro to stable firmware identity 0.1.9
  • defer host-BLE idle and disconnect transitions while USB is the active output
  • keep the host power policy unchanged when BLE is the active output
  • keep every Qube and non-K:04 firmware identity at 0.1.8

Regression

Published v0.1.8 could freeze both K:04 halves after the two-minute idle boundary while the standalone central was connected by USB. The host-BLE power task changed connection parameters even though USB owned output; host BLE and split BLE share the same controller.

A physical A/B build that disabled only the host-BLE power policy eliminated the freeze. The final guard was then validated on the same hardware and remained stable.

Verification

  • cargo fmt --all -- --check
  • scripts/check_ergohaven_profile.sh
  • targeted host-power cargo nextest suite
  • K:04 / Mini / Micro production_v22 central and peripheral release builds: 6/6
  • physical K:04 validation across the 120-second idle boundary: passed twice

This PR supersedes #17 for integration while preserving both contributor commits and their already-green full CI coverage.

D19ital and others added 4 commits September 2, 2026 15:40
Scope: standalone K:04, K:04 Mini, and K:04 Micro. K:04 Qube and every other keyboard profile remain on v0.1.8.

Versioning:
- embed the full 0.1.9-rc.1 identity in the selected Vial definition
- advertise numeric 0.1.9 and USB BCD 0x0109 where prerelease suffixes cannot be represented
- enforce the standalone/Qube version split in build.rs and the Ergohaven profile contract

Changes from stock v0.1.8:
- add the production_v22 profile with diagnostic features excluded at compile time and stripped release binaries
- send accumulated full-width i16 movement from the right half every 15 ms while retaining 4 ms local sampling
- pace BLE HID mouse reports at 7.5 ms and preserve motion vectors while splitting large deltas
- use +8 dBm, 1M PHY, and the E73 REG1 DC/DC path
- configure PMW3610 for 600 CPI, Smart Mode, software axis swapping, verified setup, and recovery from failed reads or motion gaps
- harden split teardown and reconnection so resetting the left half does not require resetting the right
- refresh bonded-host link parameters with an Apple-safe 15 ms request, then 7.5 ms when accepted, with a 15 ms fallback
- clear stale USB, POWER, and NVIC state left by the UF2 bootloader on the right half
- correct VBUS and charging indication and prevent stale split state from overriding the searching LED
- retain the v0.1.8 120-second sleep timeout and host power policy
- keep gated RTT diagnostics and regression helpers available for development but disabled in production

Verification:
- motion pacing and movement preservation: 4/4
- complete RMK feature test matrix: passed
- Ergohaven profile contract: 14/14
- production builds: 6/6 for K:04, Mini, and Micro
- release binaries contain no debug sections or diagnostic markers
- physical v22 validation completed on K:04 at 20 cm and 60 cm; Mini and Micro still require model-specific hardware regression
Build the standalone K:04 series with production_v22 in release CI, restore live Ball DPI with a 600 CPI default, apply the USB bcdDevice value, and keep the production split watchdog enabled.

Replace the non-portable BLE session atomic and queue native i16 mouse motion as one wide item with transport-side HID chunking. Restore the legacy Qube motion profile and add regression coverage for the corrected contracts.
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Size Report

Example main PR Diff .text .data .bss
use_config/nrf52832_ble 425.3 KiB 430.4 KiB +1.19% ⬆️ +3936 0 +1272
use_config/nrf52840_ble 472.1 KiB 478.2 KiB +1.29% ⬆️ +4580 0 +1680
use_config/nrf52840_ble_split (central) 542.1 KiB 548.0 KiB +1.08% ⬆️ +4328 0 +1704
use_config/nrf52840_ble_split (peripheral) 334.4 KiB 336.6 KiB +0.63% ⬆️ +1368 0 +808
use_config/pi_pico_w_ble 701.9 KiB 708.3 KiB +0.91% ⬆️ +4860 0 +1700
use_config/rp2040 163.6 KiB 165.0 KiB +0.86% ⬆️ +1032 0 +416
use_config/rp2040_split (central) 180.6 KiB 182.0 KiB +0.79% ⬆️ +1060 0 +408
use_config/rp2040_split (peripheral) 30.2 KiB 30.4 KiB +0.76% ⬆️ -124 0 +360
use_config/stm32f1 64.9 KiB 66.2 KiB +2.07% ⬆️ +884 0 +496
use_config/stm32h7 112.8 KiB 114.4 KiB +1.39% ⬆️ +1120 0 +496
use_rust/nrf52832_ble 411.4 KiB 416.4 KiB +1.20% ⬆️ +3816 0 +1272
use_rust/nrf52840_ble 465.8 KiB 471.6 KiB +1.25% ⬆️ +4304 0 +1680
use_rust/nrf52840_ble_split (central) 549.7 KiB 556.1 KiB +1.17% ⬆️ +4896 0 +1704
use_rust/nrf52840_ble_split (peripheral) 331.3 KiB 333.4 KiB +0.64% ⬆️ +1396 0 +808
use_rust/pi_pico_w_ble 701.7 KiB 708.1 KiB +0.90% ⬆️ +4844 0 +1692
use_rust/rp2040 162.8 KiB 164.3 KiB +0.90% ⬆️ +1096 0 +416
use_rust/rp2040_split (central) 179.0 KiB 180.5 KiB +0.84% ⬆️ +1140 0 +408
use_rust/rp2040_split (peripheral) 30.6 KiB 30.8 KiB +0.67% ⬆️ -148 0 +360
use_rust/stm32f1 64.2 KiB 65.6 KiB +2.23% ⬆️ +972 0 +496
use_rust/stm32h7 134.7 KiB 136.3 KiB +1.18% ⬆️ +1224 0 +408
use_config/nrf52832_ble — 425.3 KiB → 430.4 KiB (+1.19% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 393608	   4884	  42192	 440684	  6b96c	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 389672	   4884	  40920	 435476	  6a514	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.2% +46.1Ki  [ = ]       0    .debug_str
  +1.2% +23.4Ki  [ = ]       0    .debug_info
  +1.2% +8.58Ki  [ = ]       0    .debug_loc
  +1.3% +4.68Ki  [ = ]       0    .strtab
  +1.3% +4.18Ki  [ = ]       0    .debug_line
  +1.1% +3.80Ki  +1.1% +3.80Ki    .text
  +1.3% +2.88Ki  [ = ]       0    .debug_ranges
  +1.2% +1.59Ki  [ = ]       0    .symtab
  [ = ]       0  +3.2% +1.24Ki    .bss
  +1.5%    +752  [ = ]       0    .debug_frame
  +1.0%    +480  [ = ]       0    .debug_aranges
  +1.3%    +110  [ = ]       0    .debug_abbrev
  +0.1%     +48  +0.1%     +48    .rodata
  +1.8%     +16  [ = ]       0    .defmt
  +5.9%      +3  [ = ]       0    [Unmapped]
  +1.2% +96.6Ki  +1.2% +5.09Ki    TOTAL
use_config/nrf52840_ble — 472.1 KiB → 478.2 KiB (+1.29% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 427180	   5108	  57408	 489696	  778e0	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 422600	   5108	  55728	 483436	  7606c	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +42.7Ki  [ = ]       0    .debug_str
  +1.0% +23.1Ki  [ = ]       0    .debug_info
  +1.0% +7.81Ki  [ = ]       0    .debug_loc
  +1.2% +4.40Ki  +1.2% +4.40Ki    .text
  +1.1% +4.37Ki  [ = ]       0    .strtab
  +1.1% +3.97Ki  [ = ]       0    .debug_line
  +1.1% +2.73Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +3.1% +1.64Ki    .bss
  +1.0% +1.39Ki  [ = ]       0    .symtab
  +1.3%    +664  [ = ]       0    .debug_frame
  +0.9%    +424  [ = ]       0    .debug_aranges
  +0.2%     +72  +0.2%     +72    .rodata
  +0.6%     +51  [ = ]       0    .debug_abbrev
  +1.7%     +16  [ = ]       0    .defmt
  -3.9%      -2  [ = ]       0    [Unmapped]
  +1.0% +91.7Ki  +1.3% +6.11Ki    TOTAL
use_config/nrf52840_ble_split (central) — 542.1 KiB → 548.0 KiB (+1.08% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 492148	   8972	  60056	 561176	  89018	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 487820	   8972	  58352	 555144	  87888	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.9% +48.9Ki  [ = ]       0    .debug_str
  +0.9% +22.8Ki  [ = ]       0    .debug_info
  +0.5% +4.78Ki  [ = ]       0    .debug_loc
  +1.1% +4.76Ki  [ = ]       0    .strtab
  +1.0% +4.13Ki  +1.0% +4.13Ki    .text
  +1.0% +3.82Ki  [ = ]       0    .debug_line
  +0.8% +2.20Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +3.0% +1.66Ki    .bss
  +0.7% +1.17Ki  [ = ]       0    .symtab
  +0.9%    +508  [ = ]       0    .debug_frame
  +0.8%    +384  [ = ]       0    .debug_aranges
  +1.5%    +125  [ = ]       0    .debug_abbrev
  +0.2%    +100  +0.2%    +100    .rodata
  +1.7%     +17  [ = ]       0    .defmt
 -14.5%      -8  [ = ]       0    [Unmapped]
  +0.9% +93.7Ki  +1.1% +5.89Ki    TOTAL
use_config/nrf52840_ble_split (peripheral) — 334.4 KiB → 336.6 KiB (+0.63% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 303816	   8788	  32024	 344628	  54234	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 302448	   8788	  31216	 342452	  539b4	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.5% +17.6Ki  [ = ]       0    .debug_str
  +0.5% +7.87Ki  [ = ]       0    .debug_info
  +0.4% +2.02Ki  [ = ]       0    .debug_loc
  +0.7% +1.91Ki  [ = ]       0    .strtab
  +0.5% +1.26Ki  +0.5% +1.26Ki    .text
  +0.5% +1.21Ki  [ = ]       0    .debug_line
  [ = ]       0  +2.7%    +808    .bss
  +0.5%    +576  [ = ]       0    .symtab
  +0.3%    +496  [ = ]       0    .debug_ranges
  +0.7%    +296  [ = ]       0    .debug_aranges
  +0.6%    +200  [ = ]       0    .debug_frame
  +0.2%     +80  +0.2%     +80    .rodata
  +1.4%      +9  [ = ]       0    .defmt
   +13%      +6  [ = ]       0    [Unmapped]
  +0.5% +33.5Ki  +0.6% +2.12Ki    TOTAL
use_config/pi_pico_w_ble — 701.9 KiB → 708.3 KiB (+0.91% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 662252	      0	  63012	 725264	  b1110	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 657392	      0	  61312	 718704	  af770	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +46.6Ki  [ = ]       0    .debug_str
  +0.9% +23.7Ki  [ = ]       0    .debug_info
  +0.9% +10.5Ki  [ = ]       0    .debug_loc
  +1.3% +4.63Ki  +1.3% +4.63Ki    .text
  +1.2% +4.59Ki  [ = ]       0    .strtab
  +0.9% +4.05Ki  [ = ]       0    .debug_line
  [ = ]       0  +2.8% +1.66Ki    .bss
  +0.6% +1.63Ki  [ = ]       0    .debug_ranges
  +1.2% +1.09Ki  [ = ]       0    .symtab
  +0.9%    +396  [ = ]       0    .debug_frame
  +0.7%    +296  [ = ]       0    .debug_aranges
  +0.0%    +116  +0.0%    +116    .rodata
  +1.0%    +108  [ = ]       0    .debug_abbrev
  +1.7%     +16  [ = ]       0    .defmt
  +7.9%      +5  [ = ]       0    [Unmapped]
  +1.0% +97.7Ki  +0.9% +6.41Ki    TOTAL
use_config/rp2040 — 163.6 KiB → 165.0 KiB (+0.86% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 151792	      0	  17132	 168924	  293dc	rmk-rp2040

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 150760	      0	  16716	 167476	  28e34	rmk-rp2040

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.4% +7.46Ki  [ = ]       0    .debug_str
  +0.4% +3.73Ki  [ = ]       0    .debug_info
  +0.7% +2.11Ki  [ = ]       0    .debug_loc
  +0.7% +1.21Ki  [ = ]       0    .debug_line
  +0.8%    +996  +0.8%    +996    .text
  +0.7%    +938  [ = ]       0    .strtab
  [ = ]       0  +2.7%    +416    .bss
  +0.4%    +384  [ = ]       0    .debug_ranges
  +1.1%    +384  [ = ]       0    .symtab
  +0.9%    +160  [ = ]       0    .debug_frame
  +1.4%    +108  [ = ]       0    .debug_abbrev
  +0.5%     +88  [ = ]       0    .debug_aranges
  +0.2%     +36  +0.2%     +36    .rodata
   +70%     +28  [ = ]       0    [Unmapped]
  +1.9%      +8  [ = ]       0    .defmt
  +0.5% +17.6Ki  +0.9% +1.41Ki    TOTAL
use_config/rp2040_split (central) — 180.6 KiB → 182.0 KiB (+0.79% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 168100	      0	  18260	 186360	  2d7f8	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 167040	      0	  17852	 184892	  2d23c	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +4.49Ki  [ = ]       0    .debug_str
  +0.3% +3.55Ki  [ = ]       0    .debug_info
  +0.7% +1.45Ki  [ = ]       0    .debug_line
  +0.7%   +1024  +0.7%   +1024    .text
  +0.4%    +630  [ = ]       0    .strtab
  [ = ]       0  +2.4%    +408    .bss
  +0.6%    +256  [ = ]       0    .symtab
  +0.2%    +192  [ = ]       0    .debug_ranges
  +0.8%    +160  [ = ]       0    .debug_frame
  +1.3%    +108  [ = ]       0    .debug_abbrev
  +0.5%     +88  [ = ]       0    .debug_aranges
  +0.2%     +36  +0.2%     +36    .rodata
  +4.4%      +2  [ = ]       0    [Unmapped]
  -0.1%    -567  [ = ]       0    .debug_loc
  +0.3% +11.4Ki  +0.8% +1.43Ki    TOTAL
use_config/rp2040_split (peripheral) — 30.2 KiB → 30.4 KiB (+0.76% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  27680	     60	   3380	  31120	   7990	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  27804	     60	   3020	  30884	   78a4	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +3.02Ki  [ = ]       0    .debug_str
  +0.7%    +568  [ = ]       0    .debug_loc
  +0.1%    +427  [ = ]       0    .debug_info
  [ = ]       0   +18%    +360    .bss
  -5.3%      -3  [ = ]       0    [Unmapped]
  -0.5%     -48  [ = ]       0    .symtab
  -1.0%     -56  [ = ]       0    .debug_frame
  -0.2%     -58  [ = ]       0    .strtab
  -0.4%     -72  [ = ]       0    .debug_ranges
  -0.5%    -124  -0.5%    -124    .text
  -3.9%    -233  [ = ]       0    .debug_abbrev
  -1.0%    -612  [ = ]       0    .debug_line
  +0.2% +2.81Ki  +0.8%    +236    TOTAL
use_config/stm32f1 — 64.9 KiB → 66.2 KiB (+2.07% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  59624	     28	   8136	  67788	  108cc	rmk-stm32f1

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  58740	     28	   7640	  66408	  10368	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.4% +3.34Ki  [ = ]       0    .debug_str
  +0.5% +3.07Ki  [ = ]       0    .debug_info
  +1.4% +1.26Ki  [ = ]       0    .debug_line
  +0.9% +1.20Ki  [ = ]       0    .debug_loc
  +1.5%    +880  +1.5%    +880    .text
  +1.3%    +584  [ = ]       0    .debug_ranges
  +1.1%    +541  [ = ]       0    .strtab
  [ = ]       0  +6.5%    +496    .bss
  +1.1%    +240  [ = ]       0    .symtab
  +1.4%    +184  [ = ]       0    .debug_frame
  +1.9%    +110  [ = ]       0    .debug_abbrev
  +1.0%     +64  [ = ]       0    .debug_aranges
  +0.5%      +4  +0.6%      +4    .rodata
 -30.2%     -19  [ = ]       0    [Unmapped]
  +0.6% +11.4Ki  +2.1% +1.35Ki    TOTAL
use_config/stm32h7 — 112.8 KiB → 114.4 KiB (+1.39% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 106316	    264	  10580	 117160	  1c9a8	rmk-stm32h7

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 105196	    264	  10084	 115544	  1c358	rmk-stm32h7

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +3.83Ki  [ = ]       0    .debug_str
  +0.3% +3.16Ki  [ = ]       0    .debug_info
  +1.0% +2.02Ki  [ = ]       0    .debug_loc
  +1.1% +1.45Ki  [ = ]       0    .debug_line
  +1.2% +1.06Ki  +1.2% +1.06Ki    .text
  +1.2%    +896  [ = ]       0    .debug_ranges
  [ = ]       0  +4.9%    +496    .bss
  +0.6%    +452  [ = ]       0    .strtab
  +0.6%    +176  [ = ]       0    .symtab
  +0.7%    +120  [ = ]       0    .debug_frame
  +1.6%    +110  [ = ]       0    .debug_abbrev
  +0.2%     +36  +0.2%     +36    .rodata
  +0.1%     +32  [ = ]       0    .debug_aranges
  -6.2%      -4  [ = ]       0    [Unmapped]
  +0.4% +13.3Ki  +1.4% +1.58Ki    TOTAL
use_rust/nrf52832_ble — 411.4 KiB → 416.4 KiB (+1.20% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 380584	   4604	  41216	 426404	  681a4	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 376768	   4604	  39944	 421316	  66dc4	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.2% +44.4Ki  [ = ]       0    .debug_str
  +1.2% +23.1Ki  [ = ]       0    .debug_info
  +1.3% +9.63Ki  [ = ]       0    .debug_loc
  +1.2% +3.85Ki  [ = ]       0    .debug_line
  +1.1% +3.68Ki  +1.1% +3.68Ki    .text
  +1.2% +2.69Ki  [ = ]       0    .debug_ranges
  +0.7% +2.10Ki  [ = ]       0    .strtab
  [ = ]       0  +3.3% +1.24Ki    .bss
  +0.7%    +896  [ = ]       0    .symtab
  +1.1%    +528  [ = ]       0    .debug_frame
  +0.6%    +240  [ = ]       0    .debug_aranges
  +1.5%    +126  [ = ]       0    .debug_abbrev
  +0.1%     +48  +0.1%     +48    .rodata
  -9.3%      -5  [ = ]       0    [Unmapped]
  +1.2% +91.2Ki  +1.2% +4.97Ki    TOTAL
use_rust/nrf52840_ble — 465.8 KiB → 471.6 KiB (+1.25% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 425312	   4644	  53000	 482956	  75e8c	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 421008	   4644	  51320	 476972	  7472c	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.1% +46.1Ki  [ = ]       0    .debug_str
  +1.0% +22.8Ki  [ = ]       0    .debug_info
  +0.8% +6.08Ki  [ = ]       0    .debug_loc
  +1.3% +4.79Ki  [ = ]       0    .strtab
  +1.1% +4.14Ki  +1.1% +4.14Ki    .text
  +1.1% +4.03Ki  [ = ]       0    .debug_line
  +0.9% +2.16Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +3.3% +1.64Ki    .bss
  +1.0% +1.36Ki  [ = ]       0    .symtab
  +1.1%    +600  [ = ]       0    .debug_frame
  +0.8%    +392  [ = ]       0    .debug_aranges
  +0.1%     +64  +0.1%     +64    .rodata
  +0.6%     +51  [ = ]       0    .debug_abbrev
  +1.8%     +16  [ = ]       0    .defmt
 -27.4%     -17  [ = ]       0    [Unmapped]
  +1.0% +92.5Ki  +1.3% +5.84Ki    TOTAL
use_rust/nrf52840_ble_split (central) — 549.7 KiB → 556.1 KiB (+1.17% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 495544	   8732	  65200	 569476	  8b084	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 490648	   8732	  63496	 562876	  896bc	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +50.7Ki  [ = ]       0    .debug_str
  +1.0% +26.2Ki  [ = ]       0    .debug_info
  +0.8% +6.88Ki  [ = ]       0    .debug_loc
  +1.1% +4.70Ki  +1.1% +4.70Ki    .text
  +1.0% +4.37Ki  [ = ]       0    .strtab
  +1.1% +4.15Ki  [ = ]       0    .debug_line
  +0.8% +2.12Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +2.7% +1.66Ki    .bss
  +0.6% +1.02Ki  [ = ]       0    .symtab
  +0.7%    +428  [ = ]       0    .debug_frame
  +0.7%    +352  [ = ]       0    .debug_aranges
  +1.5%    +125  [ = ]       0    .debug_abbrev
  +0.2%     +80  +0.2%     +80    .rodata
  +1.6%     +16  [ = ]       0    .defmt
  +1.0%  +101Ki  +1.2% +6.45Ki    TOTAL
use_rust/nrf52840_ble_split (peripheral) — 331.3 KiB → 333.4 KiB (+0.64% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 302232	   8548	  30648	 341428	  535b4	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 300836	   8548	  29840	 339224	  52d18	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.5% +17.7Ki  [ = ]       0    .debug_str
  +0.5% +7.91Ki  [ = ]       0    .debug_info
  +0.4% +2.40Ki  [ = ]       0    .debug_loc
  +0.7% +1.99Ki  [ = ]       0    .strtab
  +0.5% +1.29Ki  +0.5% +1.29Ki    .text
  +0.5% +1.17Ki  [ = ]       0    .debug_line
  [ = ]       0  +2.8%    +808    .bss
  +0.6%    +608  [ = ]       0    .symtab
  +0.3%    +472  [ = ]       0    .debug_ranges
  +0.7%    +304  [ = ]       0    .debug_aranges
  +0.7%    +228  [ = ]       0    .debug_frame
  +0.2%     +80  +0.2%     +80    .rodata
  +1.4%      +9  [ = ]       0    .defmt
 -28.0%     -21  [ = ]       0    [Unmapped]
  +0.5% +34.1Ki  +0.6% +2.15Ki    TOTAL
use_rust/pi_pico_w_ble — 701.7 KiB → 708.1 KiB (+0.90% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 661868	      0	  63188	 725056	  b1040	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 657024	      0	  61496	 718520	  af6b8	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +46.7Ki  [ = ]       0    .debug_str
  +0.9% +23.6Ki  [ = ]       0    .debug_info
  +0.9% +10.7Ki  [ = ]       0    .debug_loc
  +1.3% +4.62Ki  +1.3% +4.62Ki    .text
  +1.2% +4.58Ki  [ = ]       0    .strtab
  +1.0% +4.18Ki  [ = ]       0    .debug_line
  [ = ]       0  +2.8% +1.65Ki    .bss
  +0.5% +1.46Ki  [ = ]       0    .debug_ranges
  +1.1%   +1024  [ = ]       0    .symtab
  +0.9%    +396  [ = ]       0    .debug_frame
  +0.7%    +296  [ = ]       0    .debug_aranges
  +0.0%    +112  +0.0%    +112    .rodata
  +1.0%    +108  [ = ]       0    .debug_abbrev
   +52%     +23  [ = ]       0    [Unmapped]
  +1.7%     +16  [ = ]       0    .defmt
  +1.0% +97.7Ki  +0.9% +6.38Ki    TOTAL
use_rust/rp2040 — 162.8 KiB → 164.3 KiB (+0.90% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 151136	      0	  17060	 168196	  29104	rmk-rp2040

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 150040	      0	  16644	 166684	  28b1c	rmk-rp2040

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +4.23Ki  [ = ]       0    .debug_str
  +0.3% +3.53Ki  [ = ]       0    .debug_info
  +0.7% +1.20Ki  [ = ]       0    .debug_line
  +0.8% +1.04Ki  +0.8% +1.04Ki    .text
  +0.3%    +835  [ = ]       0    .debug_loc
  +0.5%    +639  [ = ]       0    .strtab
  [ = ]       0  +2.7%    +416    .bss
  +0.9%    +336  [ = ]       0    .symtab
  +0.9%    +160  [ = ]       0    .debug_frame
  +1.4%    +108  [ = ]       0    .debug_abbrev
  +0.5%     +88  [ = ]       0    .debug_aranges
  +0.1%     +88  [ = ]       0    .debug_ranges
  +0.2%     +32  +0.2%     +32    .rodata
 -19.0%     -11  [ = ]       0    [Unmapped]
  +0.3% +12.2Ki  +0.9% +1.48Ki    TOTAL
use_rust/rp2040_split (central) — 179.0 KiB → 180.5 KiB (+0.84% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 166772	      0	  18068	 184840	  2d208	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 165632	      0	  17660	 183292	  2cbfc	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +5.17Ki  [ = ]       0    .debug_str
  +0.3% +3.72Ki  [ = ]       0    .debug_info
  +0.4% +1.62Ki  [ = ]       0    .debug_loc
  +0.7% +1.34Ki  [ = ]       0    .debug_line
  +0.8% +1.08Ki  +0.8% +1.08Ki    .text
  +0.4%    +641  [ = ]       0    .strtab
  [ = ]       0  +2.5%    +408    .bss
  +0.8%    +320  [ = ]       0    .symtab
  +0.2%    +200  [ = ]       0    .debug_ranges
  +0.8%    +160  [ = ]       0    .debug_frame
  +1.3%    +108  [ = ]       0    .debug_abbrev
  +0.5%     +88  [ = ]       0    .debug_aranges
  +0.2%     +32  +0.2%     +32    .rodata
   +26%     +13  [ = ]       0    [Unmapped]
  +0.3% +14.5Ki  +0.8% +1.51Ki    TOTAL
use_rust/rp2040_split (peripheral) — 30.6 KiB → 30.8 KiB (+0.67% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  27804	     60	   3644	  31508	   7b14	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  27952	     60	   3284	  31296	   7a40	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +3.02Ki  [ = ]       0    .debug_str
  +0.1%    +439  [ = ]       0    .debug_info
  [ = ]       0   +16%    +360    .bss
   +50%     +18  [ = ]       0    [Unmapped]
  -1.0%     -56  [ = ]       0    .debug_frame
  -0.3%     -66  [ = ]       0    .strtab
  -0.4%     -72  [ = ]       0    .debug_ranges
  -0.9%     -80  [ = ]       0    .symtab
  -0.1%     -96  [ = ]       0    .debug_loc
  -0.7%    -148  -0.7%    -148    .text
  -3.9%    -233  [ = ]       0    .debug_abbrev
  -1.0%    -613  [ = ]       0    .debug_line
  +0.1% +2.13Ki  +0.7%    +212    TOTAL
use_rust/stm32f1 — 64.2 KiB → 65.6 KiB (+2.23% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  59012	     28	   8152	  67192	  10678	rmk-stm32f1

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  58040	     28	   7656	  65724	  100bc	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.4% +3.40Ki  [ = ]       0    .debug_str
  +0.5% +2.88Ki  [ = ]       0    .debug_info
  +1.5% +1.30Ki  [ = ]       0    .debug_line
  +1.7%    +972  +1.7%    +972    .text
  +0.7%    +917  [ = ]       0    .debug_loc
  +1.6%    +720  [ = ]       0    .debug_ranges
  +1.2%    +556  [ = ]       0    .strtab
  [ = ]       0  +6.5%    +496    .bss
  +1.3%    +272  [ = ]       0    .symtab
  +1.4%    +184  [ = ]       0    .debug_frame
  +1.9%    +110  [ = ]       0    .debug_abbrev
  +1.3%     +64  [ = ]       0    .debug_aranges
 -20.3%     -13  [ = ]       0    [Unmapped]
  +0.6% +11.3Ki  +2.2% +1.43Ki    TOTAL
use_rust/stm32h7 — 134.7 KiB → 136.3 KiB (+1.18% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 121896	    336	  17344	 139576	  22138	rmk-stm32h7

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 120672	    336	  16936	 137944	  21ad8	rmk-stm32h7

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +4.36Ki  [ = ]       0    .debug_str
  +0.3% +3.20Ki  [ = ]       0    .debug_info
  +0.7% +1.84Ki  [ = ]       0    .debug_loc
  +0.9% +1.45Ki  [ = ]       0    .debug_line
  +1.1% +1.20Ki  +1.1% +1.20Ki    .text
  +1.0%    +960  [ = ]       0    .debug_ranges
  +0.6%    +624  [ = ]       0    .strtab
  [ = ]       0  +2.6%    +408    .bss
  +0.3%    +112  [ = ]       0    .symtab
  +1.6%    +110  [ = ]       0    .debug_abbrev
  +0.5%    +104  [ = ]       0    .debug_frame
  +0.1%     +48  [ = ]       0    .debug_aranges
  +2.6%      +8  [ = ]       0    .defmt
  -6.3%      -4  [ = ]       0    [Unmapped]
  +0.3% +14.0Ki  +1.2% +1.59Ki    TOTAL

@kissetfall
kissetfall merged commit 9a54f4c into main Sep 4, 2026
87 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.

2 participants