Skip to content

Add EC_CMD_KBD_FLASH_STM32 - #390

Merged
JohnAZoidberg merged 1 commit into
mainfrom
stm32-hc
Nov 18, 2026
Merged

JohnAZoidberg merged 1 commit into
mainfrom
stm32-hc

Conversation

@JohnAZoidberg

@JohnAZoidberg JohnAZoidberg commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

For Laptop 12 2nd gen input deck.

@JohnAZoidberg
JohnAZoidberg requested review from TapFW and a balanced review from Copilot November 12, 2026 02:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The unresolved crate::stm32_kbd intra-doc link causes the documentation CI job to fail because it runs cargo doc with warnings treated as errors.

1 open issue
What changed in this PR

Adds EC command definitions for switching the Laptop 12 2nd-gen input deck’s STM32 keyboard controller between its application and ROM bootloader.

Changes:

  • Registers KbdFlashStm32 with command ID 0x3E2C.
  • Adds Enter/Exit subcommands and the request type, with documentation describing host-side flashing over I2C passthrough.
File Description
framework_lib/​src/​chromium_ec/​commands.rs Defines keyboard bootloader subcommands and the EC request payload.
framework_lib/​src/​chromium_ec/​command.rs Registers the STM32 keyboard command ID.

Review effort: Balanced

Signed-off-by: Daniel Schaefer <dhs@frame.work>

@TapFW TapFW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JohnAZoidberg
JohnAZoidberg merged commit a888c19 into main Nov 18, 2026
11 checks passed
@JohnAZoidberg
JohnAZoidberg deleted the stm32-hc branch November 18, 2026 07:03
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.

3 participants