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

Consolidate all YMDK keyboards into the YMDK directory #12177

Closed
wants to merge 10 commits into from

Conversation

ennation
Copy link

@ennation ennation commented Mar 9, 2021

Description

  • Consolidate all YMDK keyboards to the YMDK directory, as some were in it and some were not. The YD60MQ, YMD75, YMD96, and YMD_NP21 have been moved into the directory
  • Update example make commands in the readmes of all YMDK keyboards to use the newer qmk script, and to reflect the movement of the moved keyboards

The exception is the YD68, as although it is named similarly to the YD60, I cannot find anything definitely tying it to YMDK, so I left it out as a precaution.

Currently resolving YMD75 build issues resulting from the move.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

ennation added 2 commits March 9, 2021 01:25
I thought it odd that there existed a YMDK directory, but only about half the YMDK boards resided there. This simply moves the remaining YMDK keyboards (YD60MQ, YMD75, YMD96, and YMDK_NP21) to the YMDK directory.

The exception here is the YD68, which although it shares the YD naming convention with the YD60MQ, I was unable to find anything definitively linking the board to YMDK, so I've left it out as a precaution.
Documentation updates to YD60MQ, YMD75, YMD96, and YMDK_NP21 to reflect the consolidation of YMDK keyboards to the YMDK directory
@github-actions github-actions bot added keyboard keymap via Adds via keymap and/or updates keyboard for via support labels Mar 9, 2021
Copy link
Contributor

@filterpaper filterpaper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also a good opportunity to update the compilation and flashing commands to qmk script that supports more build options and agnostic to current-directory location.

Comment on lines 16 to 18
make ymdk/yd60mq:default # builds the 12 LED variant
make ymdk/yd60mq/12led:default # also builds the 12 LED variant
make ymdk/yd60mq/16led:default # builds the 16 LED variant
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/yd60mq:default # builds the 12 LED variant
make ymdk/yd60mq/12led:default # also builds the 12 LED variant
make ymdk/yd60mq/16led:default # builds the 16 LED variant
qmk compile -kb ymdk/yd60mq -km default # builds the 12 LED variant
qmk compile -kb ymdk/yd60mq/12led -km default # also builds the 12 LED variant
qmk compile -kb ymdk/yd60mq/16led -km default # builds the 16 LED variant

Comment on lines 24 to 26
make ymdk/yd60mq:default:flash # builds and flashes the 12 LED variant
make ymdk/yd60mq/12led:default:flash # also builds and flashes the 12 LED variant
make ymdk/yd60mq/16led:default:flash # builds and flashes the 16 LED variant
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/yd60mq:default:flash # builds and flashes the 12 LED variant
make ymdk/yd60mq/12led:default:flash # also builds and flashes the 12 LED variant
make ymdk/yd60mq/16led:default:flash # builds and flashes the 16 LED variant
qmk flash -kb ymdk/yd60mq -km default # builds and flashes the 12 LED variant
qmk flash -kb ymdk/yd60mq/12led -km default # also builds and flashes the 12 LED variant
qmk flash -kb ymdk/yd60mq/16led -km default # builds and flashes the 16 LED variant

@@ -13,11 +13,11 @@ This firmware can also be flashed onto the KBDFans KBD75 Round 2 Bootmapper Clie

Make example for this keyboard (after setting up your build environment):

make ymd75/rev1:default
make ymdk/ymd75/rev1:default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/ymd75/rev1:default
qmk compile -kb ymdk/ymd75/rev1 -km default


Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid))

make ymd75/rev1:default:flash
make ymdk/ymd75/rev1:default:flash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/ymd75/rev1:default:flash
qmk flash -kb ymdk/ymd75/rev1 -km default

@@ -8,11 +8,11 @@ A 96-keyboard which supports both ANSI and ISO along with many different layout

Make example for this keyboard (after setting up your build environment):

make ymd96:default
make ymdk/ymd96:default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/ymd96:default
qmk compile -kb ymdk/ymd96 -km default


Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid))

make ymd96:default:flash
make ymdk/ymd96:default:flash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/ymd96:default:flash
qmk flash -kb ymdk/ymd96 -km default

@@ -10,11 +10,11 @@ ps2avrGB based number-pad sold fully assembled by YMDK on Aliexpress.

Make example for this keyboard (after setting up your build environment):

make ymdk_np21:default
make ymdk/ymdk_np21:default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/ymdk_np21:default
qmk compile -kb ymdk/ymdk_np21 -km default


Flashing example for this keyboard ([after setting up the bootloadHID flashing environment](https://docs.qmk.fm/#/flashing_bootloadhid))

make ymdk_np21:default:flash
make ymdk/ymdk_np21:default:flash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
make ymdk/ymdk_np21:default:flash
qmk flash -kb ymdk/ymdk_np21 -km default

@github-actions github-actions bot removed keymap keyboard via Adds via keymap and/or updates keyboard for via support labels Mar 9, 2021
@ennation
Copy link
Author

ennation commented Mar 9, 2021

This is also a good opportunity to update the compilation and flashing commands to qmk script that supports more build options and agnostic to current-directory location.

Agreed. Still working out some issues with the YMD75 compile though. @drashna said in the QMK Discord that I might need to update some include statements for that board, but after looking at other boards with a similar file hierarchy, I'm not sure what I need to do to them.

@fauxpark
Copy link
Member

fauxpark commented Mar 9, 2021

You'll need to add ymdk_ to the ifdefs in ymd75.h:

#if defined(KEYBOARD_ymdk_ymd75_rev1)
    #include "rev1.h"
#elif defined(KEYBOARD_ymdk_ymd75_rev2)
    #include "rev2.h"
#elif defined(KEYBOARD_ymdk_ymd75_rev3)
    #include "rev3.h"
#endif

@github-actions github-actions bot added keyboard keymap via Adds via keymap and/or updates keyboard for via support labels Mar 9, 2021
@ennation ennation marked this pull request as ready for review March 9, 2021 23:06
@stale
Copy link

stale bot commented Jun 2, 2021

Thank you for your contribution!
This pull request has been automatically marked as stale because it has not had activity in the last 45 days. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, or re-open when it's ready.
For maintainers: Please label with awaiting review, breaking_change, in progress, or on hold to prevent the issue from being re-flagged.

@stale
Copy link

stale bot commented Jul 8, 2021

Thank you for your contribution!
This pull request has been automatically closed because it has not had activity in the last 30 days. Please feel free to give a status update now, ping for review, or re-open when it's ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting changes keyboard keymap via Adds via keymap and/or updates keyboard for via support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants