-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Macros freeze/hangs keyboard on stm32 #2375
Comments
Can you also get logging output? https://zmk.dev/docs/development/usb-logging |
@caksoylar I tried to add logging, but it fails to compile, whenever I set flag on it just pops with lots of errors |
See the updates docs on using the new logging snippet to enable this: https://zmk.dev/docs/development/usb-logging#usb-logging-snippet I would guess that you're blowing the stack, but hard to tell for sure. You could try bumping the system work queue stack size too. |
Oh, haven't seen updated docs for usb logging, thanks for pointing, will try.
Not sure how to do this one, I don't have much experience with zephyr |
You can set:
For instance. If building locally, you can do a |
I can confirm that bumping the system workqueue size to 2048 allows that macro to function without locking up the board, at least for this shield.
To restore USB logging, you can:
For the record: this also affects mouse emulation. |
Pressing key assigned to a macros doesn't do anything
After that keyboard stops responding
Macros complexity doesn't matter, default one from documentation behaves the same
Key position/layer anything else doesn't change situation.
This is reproducing using on both github actions build and local west build
Both builds are successful and don't fail
Any other behaviour works as expected (hold-tap, mod-tap, etc),
Board: STM32 f411ce black pill
Keymap configuration:
Here is overlay
The text was updated successfully, but these errors were encountered: