Skip to content

feat(k04): prepare v0.1.9-rc.1 production firmware - #17

Open
D19ital wants to merge 2 commits into
ergohaven:mainfrom
D19ital:main
Open

feat(k04): prepare v0.1.9-rc.1 production firmware#17
D19ital wants to merge 2 commits into
ergohaven:mainfrom
D19ital:main

Conversation

@D19ital

@D19ital D19ital commented Sep 2, 2026

Copy link
Copy Markdown

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

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 2, 2026

Copy link
Copy Markdown

Size Report

Example main PR Diff .text .data .bss
use_config/nrf52832_ble 425.2 KiB 430.2 KiB +1.16% ⬆️ +3820 0 +1272
use_config/nrf52840_ble 472.1 KiB 478.1 KiB +1.27% ⬆️ +4488 0 +1680
use_config/nrf52840_ble_split (central) 542.1 KiB 548.0 KiB +1.07% ⬆️ +4272 0 +1704
use_config/nrf52840_ble_split (peripheral) 334.4 KiB 336.5 KiB +0.63% ⬆️ +1372 0 +808
use_config/pi_pico_w_ble 702.0 KiB 708.2 KiB +0.89% ⬆️ +4736 0 +1700
use_config/rp2040 163.6 KiB 165.0 KiB +0.86% ⬆️ +1032 0 +416
use_config/rp2040_split (central) 180.5 KiB 182.0 KiB +0.79% ⬆️ +1064 0 +408
use_config/rp2040_split (peripheral) 30.1 KiB 30.3 KiB +0.77% ⬆️ -120 0 +360
use_config/stm32f1 64.8 KiB 66.2 KiB +2.08% ⬆️ +888 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.21% ⬆️ +3844 0 +1272
use_rust/nrf52840_ble 465.8 KiB 471.5 KiB +1.23% ⬆️ +4220 0 +1680
use_rust/nrf52840_ble_split (central) 549.7 KiB 556.1 KiB +1.15% ⬆️ +4820 0 +1704
use_rust/nrf52840_ble_split (peripheral) 331.2 KiB 333.4 KiB +0.65% ⬆️ +1404 0 +808
use_rust/pi_pico_w_ble 701.7 KiB 708.0 KiB +0.89% ⬆️ +4756 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% ⬆️ +1144 0 +408
use_rust/rp2040_split (peripheral) 30.5 KiB 30.7 KiB +0.67% ⬆️ -148 0 +360
use_rust/stm32f1 64.2 KiB 65.6 KiB +2.22% ⬆️ +968 0 +496
use_rust/stm32h7 134.7 KiB 136.3 KiB +1.18% ⬆️ +1228 0 +408
use_config/nrf52832_ble — 425.2 KiB → 430.2 KiB (+1.16% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 393428	   4884	  42192	 440504	  6b8b8	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 389608	   4884	  40920	 435412	  6a4d4	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.2% +45.3Ki  [ = ]       0    .debug_str
  +1.0% +21.0Ki  [ = ]       0    .debug_info
  +1.2% +8.94Ki  [ = ]       0    .debug_loc
  +1.2% +4.34Ki  [ = ]       0    .strtab
  +1.1% +3.71Ki  [ = ]       0    .debug_line
  +1.1% +3.68Ki  +1.1% +3.68Ki    .text
  +1.4% +3.04Ki  [ = ]       0    .debug_ranges
  +1.2% +1.55Ki  [ = ]       0    .symtab
  [ = ]       0  +3.2% +1.24Ki    .bss
  +1.5%    +736  [ = ]       0    .debug_frame
  +0.9%    +448  [ = ]       0    .debug_aranges
  +1.3%    +110  [ = ]       0    .debug_abbrev
  +0.1%     +48  +0.1%     +48    .rodata
   +36%     +19  [ = ]       0    [Unmapped]
  +1.8%     +16  [ = ]       0    .defmt
  +1.1% +92.9Ki  +1.2% +4.97Ki    TOTAL
use_config/nrf52840_ble — 472.1 KiB → 478.1 KiB (+1.27% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 427072	   5108	  57408	 489588	  77874	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 422584	   5108	  55728	 483420	  7605c	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.1% +46.9Ki  [ = ]       0    .debug_str
  +1.0% +23.2Ki  [ = ]       0    .debug_info
  +1.1% +8.90Ki  [ = ]       0    .debug_loc
  +1.2% +4.59Ki  [ = ]       0    .strtab
  +1.2% +4.31Ki  +1.2% +4.31Ki    .text
  +1.1% +3.97Ki  [ = ]       0    .debug_line
  +1.2% +2.88Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +3.1% +1.64Ki    .bss
  +0.9% +1.28Ki  [ = ]       0    .symtab
  +1.2%    +632  [ = ]       0    .debug_frame
  +0.8%    +384  [ = ]       0    .debug_aranges
  +1.1%     +90  [ = ]       0    .debug_abbrev
  +0.2%     +72  +0.2%     +72    .rodata
  +1.7%     +16  [ = ]       0    .defmt
 -13.0%      -9  [ = ]       0    [Unmapped]
  +1.1% +97.2Ki  +1.3% +6.02Ki    TOTAL
use_config/nrf52840_ble_split (central) — 542.1 KiB → 548.0 KiB (+1.07% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 492092	   8972	  60056	 561120	  88fe0	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.8Ki  [ = ]       0    .debug_str
  +0.9% +22.7Ki  [ = ]       0    .debug_info
  +0.7% +6.26Ki  [ = ]       0    .debug_loc
  +1.0% +4.48Ki  [ = ]       0    .strtab
  +0.9% +4.07Ki  +0.9% +4.07Ki    .text
  +0.9% +3.59Ki  [ = ]       0    .debug_line
  +0.9% +2.56Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +3.0% +1.66Ki    .bss
  +0.7% +1.11Ki  [ = ]       0    .symtab
  +0.8%    +492  [ = ]       0    .debug_frame
  +0.7%    +360  [ = ]       0    .debug_aranges
  +0.2%    +100  +0.2%    +100    .rodata
  +0.5%     +47  [ = ]       0    .debug_abbrev
  +1.7%     +17  [ = ]       0    .defmt
 -29.1%     -16  [ = ]       0    [Unmapped]
  +0.9% +94.6Ki  +1.1% +5.84Ki    TOTAL
use_config/nrf52840_ble_split (peripheral) — 334.4 KiB → 336.5 KiB (+0.63% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 303796	   8788	  32024	 344608	  54220	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 302424	   8788	  31216	 342428	  5399c	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.5% +17.4Ki  [ = ]       0    .debug_str
  +0.5% +8.05Ki  [ = ]       0    .debug_info
  +0.4% +2.00Ki  [ = ]       0    .debug_loc
  +0.7% +1.88Ki  [ = ]       0    .strtab
  +0.5% +1.30Ki  [ = ]       0    .debug_line
  +0.5% +1.26Ki  +0.5% +1.26Ki    .text
  [ = ]       0  +2.7%    +808    .bss
  +0.5%    +576  [ = ]       0    .symtab
  +0.3%    +496  [ = ]       0    .debug_ranges
  +0.7%    +280  [ = ]       0    .debug_aranges
  +0.6%    +200  [ = ]       0    .debug_frame
  +0.2%     +80  +0.2%     +80    .rodata
  +1.4%      +9  [ = ]       0    .defmt
  +4.3%      +3  [ = ]       0    [Unmapped]
  +0.5% +33.5Ki  +0.6% +2.13Ki    TOTAL
use_config/pi_pico_w_ble — 702.0 KiB → 708.2 KiB (+0.89% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 662232	      0	  63012	 725244	  b10fc	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 657496	      0	  61312	 718808	  af7d8	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +46.6Ki  [ = ]       0    .debug_str
  +0.9% +23.9Ki  [ = ]       0    .debug_info
  +0.9% +10.3Ki  [ = ]       0    .debug_loc
  +1.3% +4.51Ki  +1.3% +4.51Ki    .text
  +1.2% +4.28Ki  [ = ]       0    .strtab
  +0.9% +4.08Ki  [ = ]       0    .debug_line
  +0.6% +1.72Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +2.8% +1.66Ki    .bss
  +1.1%   +1024  [ = ]       0    .symtab
  +0.9%    +396  [ = ]       0    .debug_frame
  +0.6%    +280  [ = ]       0    .debug_aranges
  +1.4%    +147  [ = ]       0    .debug_abbrev
  +0.0%    +116  +0.0%    +116    .rodata
  +1.7%     +16  [ = ]       0    .defmt
  +5.6%      +3  [ = ]       0    [Unmapped]
  +1.0% +97.2Ki  +0.9% +6.29Ki    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.41Ki  [ = ]       0    .debug_str
  +0.4% +3.78Ki  [ = ]       0    .debug_info
  +0.7% +2.11Ki  [ = ]       0    .debug_loc
  +0.8% +1.37Ki  [ = ]       0    .debug_line
  +0.8%    +996  +0.8%    +996    .text
  +0.7%    +922  [ = ]       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
   +62%     +25  [ = ]       0    [Unmapped]
  +1.9%      +8  [ = ]       0    .defmt
  +0.5% +17.7Ki  +0.9% +1.41Ki    TOTAL
use_config/rp2040_split (central) — 180.5 KiB → 182.0 KiB (+0.79% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 168068	      0	  18260	 186328	  2d7d8	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 167004	      0	  17852	 184856	  2d218	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +4.52Ki  [ = ]       0    .debug_str
  +0.3% +3.54Ki  [ = ]       0    .debug_info
  +0.7% +1.43Ki  [ = ]       0    .debug_line
  +0.7% +1.00Ki  +0.7% +1.00Ki    .text
  +0.4%    +628  [ = ]       0    .strtab
  [ = ]       0  +2.4%    +408    .bss
  +0.6%    +224  [ = ]       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
 -16.1%      -9  [ = ]       0    [Unmapped]
  -0.2%    -803  [ = ]       0    .debug_loc
  +0.2% +11.1Ki  +0.8% +1.44Ki    TOTAL
use_config/rp2040_split (peripheral) — 30.1 KiB → 30.3 KiB (+0.77% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  27592	     60	   3380	  31032	   7938	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  27712	     60	   3020	  30792	   7848	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.3% +3.02Ki  [ = ]       0    .debug_str
  +0.1%    +437  [ = ]       0    .debug_info
  [ = ]       0   +18%    +360    .bss
 -17.6%      -9  [ = ]       0    [Unmapped]
  -0.0%     -33  [ = ]       0    .debug_loc
  -1.0%     -56  [ = ]       0    .debug_frame
  -0.2%     -64  [ = ]       0    .strtab
  -0.4%     -72  [ = ]       0    .debug_ranges
  -0.9%     -80  [ = ]       0    .symtab
  -0.5%    -120  -0.5%    -120    .text
  -3.9%    -233  [ = ]       0    .debug_abbrev
  -1.0%    -604  [ = ]       0    .debug_line
  +0.1% +2.20Ki  +0.8%    +240    TOTAL
use_config/stm32f1 — 64.8 KiB → 66.2 KiB (+2.08% ⬆️)

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
  58736	     28	   7640	  66404	  10364	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.4% +3.40Ki  [ = ]       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%    +884  +1.5%    +884    .text
  +1.3%    +584  [ = ]       0    .debug_ranges
  +1.2%    +550  [ = ]       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
 -36.2%     -25  [ = ]       0    [Unmapped]
  +0.6% +11.5Ki  +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.89Ki  [ = ]       0    .debug_str
  +0.3% +3.16Ki  [ = ]       0    .debug_info
  +1.0% +2.02Ki  [ = ]       0    .debug_loc
  +1.0% +1.31Ki  [ = ]       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%    +461  [ = ]       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
  +3.4%      +2  [ = ]       0    [Unmapped]
  +0.3% +13.2Ki  +1.4% +1.58Ki    TOTAL
use_rust/nrf52832_ble — 411.4 KiB → 416.4 KiB (+1.21% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 380560	   4604	  41216	 426380	  6818c	rmk-nrf52832

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 376716	   4604	  39944	 421264	  66d90	rmk-nrf52832

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.1% +43.0Ki  [ = ]       0    .debug_str
  +1.0% +20.4Ki  [ = ]       0    .debug_info
  +1.3% +9.08Ki  [ = ]       0    .debug_loc
  +1.1% +3.71Ki  +1.1% +3.71Ki    .text
  +1.0% +3.22Ki  [ = ]       0    .debug_line
  +1.2% +2.74Ki  [ = ]       0    .debug_ranges
  +0.7% +2.04Ki  [ = ]       0    .strtab
  [ = ]       0  +3.3% +1.24Ki    .bss
  +0.8%    +928  [ = ]       0    .symtab
  +1.1%    +528  [ = ]       0    .debug_frame
  +0.6%    +240  [ = ]       0    .debug_aranges
  +1.1%     +94  [ = ]       0    .debug_abbrev
  +0.1%     +48  +0.1%     +48    .rodata
   +71%     +30  [ = ]       0    [Unmapped]
  +1.1% +86.1Ki  +1.2% +5.00Ki    TOTAL
use_rust/nrf52840_ble — 465.8 KiB → 471.5 KiB (+1.23% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 425208	   4644	  53000	 482852	  75e24	rmk-nrf52840

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 420988	   4644	  51320	 476952	  74718	rmk-nrf52840

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.1% +45.8Ki  [ = ]       0    .debug_str
  +1.0% +22.7Ki  [ = ]       0    .debug_info
  +0.9% +7.12Ki  [ = ]       0    .debug_loc
  +1.2% +4.50Ki  [ = ]       0    .strtab
  +1.1% +4.06Ki  +1.1% +4.06Ki    .text
  +1.1% +4.04Ki  [ = ]       0    .debug_line
  +0.9% +2.27Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +3.3% +1.64Ki    .bss
  +0.9% +1.25Ki  [ = ]       0    .symtab
  +1.1%    +568  [ = ]       0    .debug_frame
  +0.7%    +352  [ = ]       0    .debug_aranges
  +0.1%     +64  +0.1%     +64    .rodata
  +0.6%     +51  [ = ]       0    .debug_abbrev
  +1.8%     +16  [ = ]       0    .defmt
  +6.0%      +3  [ = ]       0    [Unmapped]
  +1.0% +92.7Ki  +1.2% +5.76Ki    TOTAL
use_rust/nrf52840_ble_split (central) — 549.7 KiB → 556.1 KiB (+1.15% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 495476	   8732	  65200	 569408	  8b040	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 490656	   8732	  63496	 562884	  896c4	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +50.0Ki  [ = ]       0    .debug_str
  +0.9% +23.5Ki  [ = ]       0    .debug_info
  +0.9% +7.61Ki  [ = ]       0    .debug_loc
  +1.1% +4.63Ki  +1.1% +4.63Ki    .text
  +0.9% +4.09Ki  [ = ]       0    .strtab
  +0.9% +3.37Ki  [ = ]       0    .debug_line
  +0.9% +2.49Ki  [ = ]       0    .debug_ranges
  [ = ]       0  +2.7% +1.66Ki    .bss
  +0.6% +1.02Ki  [ = ]       0    .symtab
  +0.7%    +444  [ = ]       0    .debug_frame
  +0.7%    +344  [ = ]       0    .debug_aranges
  +1.0%     +86  [ = ]       0    .debug_abbrev
  +0.2%     +80  +0.2%     +80    .rodata
  +1.6%     +16  [ = ]       0    .defmt
   +21%     +11  [ = ]       0    [Unmapped]
  +0.9% +97.7Ki  +1.2% +6.37Ki    TOTAL
use_rust/nrf52840_ble_split (peripheral) — 331.2 KiB → 333.4 KiB (+0.65% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 302216	   8548	  30648	 341412	  535a4	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 300812	   8548	  29840	 339200	  52d00	peripheral

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.5% +17.3Ki  [ = ]       0    .debug_str
  +0.5% +7.87Ki  [ = ]       0    .debug_info
  +0.4% +2.41Ki  [ = ]       0    .debug_loc
  +0.7% +1.96Ki  [ = ]       0    .strtab
  +0.5% +1.29Ki  +0.5% +1.29Ki    .text
  +0.4% +1.12Ki  [ = ]       0    .debug_line
  [ = ]       0  +2.8%    +808    .bss
  +0.6%    +608  [ = ]       0    .symtab
  +0.3%    +472  [ = ]       0    .debug_ranges
  +0.7%    +288  [ = ]       0    .debug_aranges
  +0.7%    +228  [ = ]       0    .debug_frame
  +0.2%     +80  +0.2%     +80    .rodata
  +1.4%      +9  [ = ]       0    .defmt
  +7.7%      +5  [ = ]       0    [Unmapped]
  +0.5% +33.6Ki  +0.7% +2.16Ki    TOTAL
use_rust/pi_pico_w_ble — 701.7 KiB → 708.0 KiB (+0.89% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
 661848	      0	  63188	 725036	  b102c	rmk-pi-pico-w

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 657092	      0	  61496	 718588	  af6fc	rmk-pi-pico-w

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +1.0% +47.2Ki  [ = ]       0    .debug_str
  +1.0% +24.5Ki  [ = ]       0    .debug_info
  +0.9% +10.6Ki  [ = ]       0    .debug_loc
  +1.3% +4.54Ki  +1.3% +4.54Ki    .text
  +1.0% +4.30Ki  [ = ]       0    .debug_line
  +1.1% +4.26Ki  [ = ]       0    .strtab
  [ = ]       0  +2.8% +1.65Ki    .bss
  +0.6% +1.61Ki  [ = ]       0    .debug_ranges
  +1.1%    +960  [ = ]       0    .symtab
  +0.9%    +396  [ = ]       0    .debug_frame
  +0.6%    +280  [ = ]       0    .debug_aranges
  +0.0%    +112  +0.0%    +112    .rodata
  +1.0%    +108  [ = ]       0    .debug_abbrev
  +1.7%     +16  [ = ]       0    .defmt
   +32%     +13  [ = ]       0    [Unmapped]
  +1.0% +98.8Ki  +0.9% +6.30Ki    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.26Ki  [ = ]       0    .debug_str
  +0.3% +3.57Ki  [ = ]       0    .debug_info
  +0.8% +1.34Ki  [ = ]       0    .debug_line
  +0.8% +1.04Ki  +0.8% +1.04Ki    .text
  +0.3%    +850  [ = ]       0    .debug_loc
  +0.5%    +632  [ = ]       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
 -18.3%     -11  [ = ]       0    [Unmapped]
  +0.3% +12.4Ki  +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
 166748	      0	  18068	 184816	  2d1f0	central

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
 165604	      0	  17660	 183264	  2cbe0	central

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.2% +5.20Ki  [ = ]       0    .debug_str
  +0.3% +3.76Ki  [ = ]       0    .debug_info
  +0.6% +2.26Ki  [ = ]       0    .debug_loc
  +0.7% +1.33Ki  [ = ]       0    .debug_line
  +0.8% +1.09Ki  +0.8% +1.09Ki    .text
  +0.5%    +645  [ = ]       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
  +4.2%      +2  [ = ]       0    [Unmapped]
  +0.3% +15.2Ki  +0.8% +1.52Ki    TOTAL
use_rust/rp2040_split (peripheral) — 30.5 KiB → 30.7 KiB (+0.67% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  27748	     60	   3644	  31452	   7adc	peripheral

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  27896	     60	   3284	  31240	   7a08	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
 -15.8%      -9  [ = ]       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.11Ki  +0.7%    +212    TOTAL
use_rust/stm32f1 — 64.2 KiB → 65.6 KiB (+2.22% ⬆️)

cargo size (PR):

   text	   data	    bss	    dec	    hex	filename
  59016	     28	   8152	  67196	  1067c	rmk-stm32f1

cargo size (main):

   text	   data	    bss	    dec	    hex	filename
  58048	     28	   7656	  65732	  100c4	rmk-stm32f1

Bloaty diff (PR vs main):

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  +0.4% +3.34Ki  [ = ]       0    .debug_str
  +0.5% +2.88Ki  [ = ]       0    .debug_info
  +1.5% +1.30Ki  [ = ]       0    .debug_line
  +1.7%    +968  +1.7%    +968    .text
  +0.7%    +917  [ = ]       0    .debug_loc
  +1.6%    +720  [ = ]       0    .debug_ranges
  +1.2%    +547  [ = ]       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
 -13.5%      -7  [ = ]       0    [Unmapped]
  +0.6% +11.2Ki  +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
 121900	    336	  17344	 139580	  2213c	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.30Ki  [ = ]       0    .debug_str
  +0.3% +3.21Ki  [ = ]       0    .debug_info
  +0.7% +1.86Ki  [ = ]       0    .debug_loc
  +1.0% +1.61Ki  [ = ]       0    .debug_line
  +1.1% +1.20Ki  +1.1% +1.20Ki    .text
  +1.0%    +960  [ = ]       0    .debug_ranges
  +0.5%    +615  [ = ]       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
 -13.8%      -9  [ = ]       0    [Unmapped]
  +0.3% +14.1Ki  +1.2% +1.60Ki    TOTAL

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