-
-
Notifications
You must be signed in to change notification settings - Fork 39.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
Bastard Keyboards: upstream recent changes #19083
Conversation
|
Also, I missed it but in dilemma.c, line 334, void keyboard_pre_init_user(void) { This should be the kb version, and then call the user version. (appears to be the only place this sort of issue has occurred). |
This seems to be an arbitrary limit, and I can't seem to find any reference to it. It also doesn't match the output of the CI builder which shows that According to https://github.com/qmk/qmk_firmware/blob/master/lib/python/qmk/keyboard.py#L101-L108, it seems that QMK's CLI is defining a keyboard folder as a folder that contains a qmk compile -c -j 72 -kb bastardkb/scylla/v2/splinky -km default Compiles, but yields a non-functioning firmware. The issue is actually flagged at compile time by a warning:
In light of this, I believe that the appropriate course of action is to use #19093 adds the necessary I also verified locally that these targets now build fine and with no warnings:
|
Addressed in #19091. |
It is. And the code that arbitrates that is here: qmk_firmware/builddefs/build_keyboard.mk Lines 59 to 91 in df5689e
|
Thanks, I did miss this! This doesn't seem to be what was causing the CI issues though, since the I happy to add to the madness and submit a PR for |
It would be better to rethink your folder structure, keyboard names with lots of nesting can be confusing to users. |
What alternatives are supported by the build system? The goal of using this structure was to be able to eventually transition to "data-driven" keyboard definitions, where sub-folders could inherit definitions of their parents in a composable way. The 2 alternatives that I can think of at the moment are:
As for the potential confusion, AFAICT our experience with users on our Discord server shows that this is not really a problem in practice. I would rather be certain that this structure is a source of confusion before spending time reworking it, and confusing existing users that are already familiar with the current structure. |
I made a suggestion here: #19088 (comment) |
Fix split-hand pin hint for boards supporting v2 an v3 of the Splinky Co-authored-by: Simian <alex@Mandelbrot> Co-authored-by: Charly Delay <0xcharly@users.noreply.github.com>
4f5d5e5
to
4c18838
Compare
I have a follow-up PR to re-work the Splinky versioning (0xcharly#2). Let me know if you prefer to keep it as a follow-up, which I'll send as soon as this PR is merged, or if you'd rather merge them both. |
That makes no sense to me, I just clicked the request review icon on Drashna… |
i ... yeah, wow. WTF github. It sometimes does some very weird stuff... |
I think this is one of those weird issues. using IIRC, and from what the code appears to read as, it reads for the furthest down (eg v3) and gets each layer higher. However, this means that anything in the 6th from the bottom or further doesn't get processed. So nothing in bastardkb gets processed (not included in vpath, not included rules/confg, etc. So anything in that folter is actively ignored, basically. Right now, that's not breaking anything, at least from the compiler standpoint. But any deeper, and it would ignore the charybdis config and files (including charybdis.c). For instance, the |
Thanks! Follow-up PR to address splinky versioning and folder hierarchy issues: #19123 |
Co-authored-by: Simian <alex@Mandelbrot> Co-authored-by: Charly Delay <0xcharly@users.noreply.github.com> Co-authored-by: Alex Baldwin <alexbaldwin42@gmail.com>
Co-authored-by: Simian <alex@Mandelbrot> Co-authored-by: Charly Delay <0xcharly@users.noreply.github.com> Co-authored-by: Alex Baldwin <alexbaldwin42@gmail.com>
Co-authored-by: Simian <alex@Mandelbrot> Co-authored-by: Charly Delay <0xcharly@users.noreply.github.com> Co-authored-by: Alex Baldwin <alexbaldwin42@gmail.com>
Co-authored-by: Simian <alex@Mandelbrot> Co-authored-by: Charly Delay <0xcharly@users.noreply.github.com> Co-authored-by: Alex Baldwin <alexbaldwin42@gmail.com>
Description
Types of Changes
Issues Fixed or Closed by This PR
Checklist