Skip to content

Framework Wireless Touchpad Keyboard Boards - #2

Open
JohnAZoidberg wants to merge 4 commits into
mainfrom
framework-wireless-boards
Open

JohnAZoidberg wants to merge 4 commits into
mainfrom
framework-wireless-boards

Conversation

@JohnAZoidberg

Copy link
Copy Markdown
Member

WIP PR here before upstreaming it.

The USBHS wrapper driver tracks VBUS state with a k_event, but its
Kconfig option does not select EVENTS. Any configuration that enables
the wrapper without some other option selecting EVENTS fails to link
with undefined references to z_impl_k_event_init(),
z_impl_k_event_post() and z_impl_k_event_set_masked().

The default nrf54lm20dk configuration hides this because REGULATOR is
off, so the wrapper is not built. Building samples/basic/blinky for
nrf54lm20dk/nrf54lm20a/cpuapp with CONFIG_REGULATOR=y reproduces the
link failure; with this change it links.

Tested on nRF54LM20 hardware.

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

  samples/hello_world (linked for the MCUboot application slot)
  samples/subsys/usb/cdc_acm

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

  samples/basic/blinky (linked for the MCUboot application slot)
  samples/basic/blinky_pwm
  samples/subsys/usb/hid-keyboard

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

@github-actions github-actions Bot 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.

Hello @JohnAZoidberg, and thank you very much for your first pull request to the Zephyr project!

A project maintainer just triggered our CI pipeline to run it against your PR and ensure it's compliant and doesn't cause any issues. You might want to take this opportunity to review the project's Contributor Expectations and make any updates to your pull request if necessary. 😊

Signed-off-by: Daniel Schaefer <dhs@frame.work>
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