Skip to content

Conversation

@uruz-7
Copy link

@uruz-7 uruz-7 commented Feb 5, 2026

Description

This PR restores support for the RN-42 Bluetooth module on the HHKB keyboard, which is removed in 0.21 for lack of maintain. It re-introduces the necessary driver files and configuration under rn42 and updates the ANSI variant configuration.

Require HHKB_RN42_ENABLE=yes to be set.

The original issue #1096 and pr #2693

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

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).

- Implement battery management with new battery.h and battery.c files.
- Create main.c to initialize hardware and manage USB/Bluetooth tasks.
- Add RN-42 communication functions in rn42.c and rn42.h.
- Implement RN-42 task handling in rn42_task.c and rn42_task.h.
- Introduce serial communication functions in serial.h and serial_uart.c.
- Add software UART implementation in suart.S and suart.h.
- Ensure compatibility with NKRO and power management features.
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.

2 participants