Skip to content

examples/keyboard: add CMake build support - #3965

Merged
xiaoxiang781216 merged 1 commit into
apache:masterfrom
Swatantra-66:examples/keyboard-cmake-support
Nov 4, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:masterfrom
Swatantra-66:examples/keyboard-cmake-support

Conversation

@Swatantra-66

Copy link
Copy Markdown
Contributor

Summary

Adds CMakeLists.txt to apps/examples/keyboard providing CMake build support matching Makefile 1:1.

Addresses part of apache/nuttx#19549 by adding CMake build support for apps/examples/keyboard.

Impact

  • Impact on user: Users building Apache NuttX with CMake can now configure and compile the keyboard example application (kbd).
  • Impact on build: Adds CMake build target for examples/keyboard when CONFIG_EXAMPLES_KEYBOARD is enabled. No impact on existing GNU Make builds.
  • Impact on hardware: None.

Testing

  • Formatter verification: Verified with cmake-format --check inside Docker (exit code 0, 0 formatting diffs).
  • Parity check: Verified 1:1 mapping against apps/examples/keyboard/Makefile.

Adds CMakeLists.txt to apps/examples/keyboard providing CMake build
support matching Makefile 1:1. Resolves missing CMakeLists.txt
gap identified in issue #19549.

Signed-off-by: Swatantra Yadav <[email protected]>
Assisted-by: Google Gemini
@Swatantra-66
Swatantra-66 force-pushed the examples/keyboard-cmake-support branch from 95b94f6 to 2f51055 Compare November 3, 2026 21:07
@xiaoxiang781216
xiaoxiang781216 merged commit 2a452d4 into apache:master Nov 4, 2026
39 of 41 checks passed
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