Skip to content

DD support for RP2040 bootloader options#25660

Open
waffle87 wants to merge 25 commits intoqmk:developfrom
waffle87:dd/rp2040_config_opts
Open

DD support for RP2040 bootloader options#25660
waffle87 wants to merge 25 commits intoqmk:developfrom
waffle87:dd/rp2040_config_opts

Conversation

@waffle87
Copy link
Copy Markdown
Member

Description

Adds mappings to configure:

  • RP2040_BOOTLOADER_DOUBLE_TAP_RESET: rp2040_bootloader.double_tap_reset
  • RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT: rp2040_bootloader.double_tap_reset_timeout
  • RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED: rp2040_bootloader.double_tap_reset_led

Switches to using UINT32_C() macro to type the value when it is used, rather than where it is defined.

Types of Changes

  • Core
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@github-actions github-actions Bot added core documentation dd Data Driven Changes labels Sep 16, 2025
@waffle87 waffle87 marked this pull request as draft September 16, 2025 20:03
@drashna
Copy link
Copy Markdown
Member

drashna commented Sep 16, 2025

I feel like bootloader.rp2040.(options) would make more sense here, and be a bit more future proof. But implementing might be problematic

@waffle87
Copy link
Copy Markdown
Member Author

I agree that might be more future proof, and qmk_lufa_bootloader could potentially be migrated under bootloader as well.

Will see what I can do, along with migrating existing keyboards and migration support in info.py.

@zvecr
Copy link
Copy Markdown
Member

zvecr commented Sep 16, 2025

Bootloader is already used, and isn't an object so can't be implemented that way.

@github-actions github-actions Bot added keyboard python cli qmk cli command labels Sep 17, 2025
@waffle87 waffle87 force-pushed the dd/rp2040_config_opts branch from 0e92b2a to 300326e Compare September 17, 2025 04:23
@drashna
Copy link
Copy Markdown
Member

drashna commented Sep 17, 2025

Bootloader is already used, and isn't an object so can't be implemented that way.

Yup, I figured as much. :/

bootloader_settings might work though?

@waffle87 waffle87 marked this pull request as ready for review September 22, 2025 18:53
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 7, 2025

Thank you for your contribution!
This pull request has been automatically marked as stale because it has not had activity in the last 45 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, or re-open when it's ready.
For maintainers: Please label with bug, awaiting review, breaking_change, in progress, or on hold to prevent the issue from being re-flagged.

@github-actions github-actions Bot added the stale Issues or pull requests that have become inactive without resolution. label Nov 7, 2025
@waffle87 waffle87 added awaiting review and removed stale Issues or pull requests that have become inactive without resolution. labels Nov 10, 2025
@waffle87 waffle87 force-pushed the dd/rp2040_config_opts branch from 300326e to 262eff0 Compare November 13, 2025 08:00
@waffle87 waffle87 force-pushed the dd/rp2040_config_opts branch from 262eff0 to 0a86141 Compare February 18, 2026 08:00
@waffle87 waffle87 force-pushed the dd/rp2040_config_opts branch from 0a86141 to af12485 Compare April 12, 2026 07:00
@waffle87 waffle87 force-pushed the dd/rp2040_config_opts branch from af12485 to 1dbed47 Compare May 8, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants