Skip to content

[native_sim] Zephyr 4.1 breaks GPIO_EMUL_SDL and INPUT_SDL_TOUCH #87519

@PetervdPerk-NXP

Description

@PetervdPerk-NXP

Describe the bug

I've got this application that runs natively on the NXP FRDM-MCXN947 but also has a native/posix/64 target.
https://github.com/NXPHoverGames/Doom-MCX
When upgrading from Zephyr 4.0.0 to Zephyr 4.1.0 the input (GPIO SDL emulation and SDL touch) for native/posix/64 is not working anymore.

To Reproduce

# initialize  for the example-application (main branch)
west init -m https://github.com/nxphovergames/doom-mcx --mr main doom-mcx-workspace
# update Zephyr modules
cd doom-mcx-workspace
west update
cd doom-mcx
west build -p always -b native_sim/native/64
./build/zephyr/zephyr.exe

When modifying west.yml to point to Zephyr v4.0.0 8469084dfae85f854555f0607f2c838dad097235
Then input is working again

Impact
No SDL input on native_sim

Environment (please complete the following information):

  • OS: (Ubuntu 22.04 under wsl2)
  • Toolchain (Zephyr sdk 0.17.0)

Metadata

Metadata

Assignees

Labels

RegressionSomething, which was working, does not anymoreWaiting for responseWaiting for author's responsearea: InputInput Subsystem and Driversarea: native portHost native arch port (native_sim)bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions