-
-
Notifications
You must be signed in to change notification settings - Fork 40.4k
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
[Bug] Trying to compile for steno gives linking error(wheatfield/split75) #13834
Comments
Yes, the V-USB backend code does not have support for virtser - it probably is not possible to add support due to the endpoint limitations of V-USB, and because it leverages library code from LUFA (which is for the USB AVRs). THat stuff would have to be reimplemented by hand. |
Would changing the bootloader do anything at all? Or is this limitation because of the chip? BTW is there any documentation in QMK about how to check if a board will support a certain feature? When I chose boards in the future I probably want to make sure virtser is supported. |
The bootloader is a separate piece of code, unconnected to QMK. The limitation in this case is a combination of the MCU and the USB library QMK uses for this particular MCU. The ATmega32A does not have hardware USB capability, so it must be done completely in software using V-USB: https://www.obdev.at/products/vusb/index.html Because of this, however, only USB low-speed is supported, and V-USB has a limited number of USB endpoints it can support (two interrupt/bulk-in, though our fork has squeezed in an extra one, and 7 interrupt/bulk-out). Virtser requires one interrupt-in, one bulk-in, and one bulk-out endpoint (one for control signals, two for data). |
Is the ATmega32A the only controller that have this limitation? Or are there other controllers with similar limitations? |
Anything that uses V-USB: https://docs.qmk.fm/#/compatible_microcontrollers |
I am attempting to compile a layout with a steno layer for the wheatfield/split75 keyboard. When building, I get the linking error:
.../process_steno.o: In function send_steno_state:
.../process_steno.c:77: undefined reference to virtser_send
Is steno not supported for bootloadHID boards, or is something else wrong?
The text was updated successfully, but these errors were encountered: