-
Notifications
You must be signed in to change notification settings - Fork 294
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
default Make target (dist) fails running gen-ui-info.py with KeyError: '_kb_layout' #97
Comments
works on my machine :) (lol) with a fresh clone -- can't tell what might be wrong here |
Which version of Python do you use? Here it's at 3.10.7. |
i'm on 3.11.3 right now, but the last change was ~10 years ago. |
another small thing:
edit: see #98 |
Apteryks
added a commit
to Apteryks/ergodox-firmware
that referenced
this issue
Sep 19, 2023
The avr-gcc cross-compiler should be used as some includes are specific to the AVR target and fail when using a GCC for the host. Also, expose any failure when running the GCC command; previously such errors would only manifest themselves later in a more confusing fashion (see: benblazak#97). Finally, the MAKEFILE_KEYBOARD_LAYOUT macro needs to be specified for the GCC command to succeed. * build-scripts/gen-ui-info.py (gen_mappings.parse_layout_file): Use subprocess.check_output. Replace 'gcc' with 'avr-gcc'. Specify the MAKEFILE_KEYBOARD_LAYOUT macro. Fixes: benblazak#97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Running
make
using the latest commit gives me:Is this a bug, or ?
Thanks :-)
The text was updated successfully, but these errors were encountered: