Skip to content
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

Fix json target #99

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Apteryks
Copy link

No description provided.

* build-scripts/gen-ui-info.py: Move imports to the top.
(gen_derived, parse_mapfile): Delete procedures.
(main): Adjust accordingly.
Automated via Black:

  $ black -l79 build-scripts/*.py
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant