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

Move GMMK Pro to allow for multiple revisions #16423

Merged
merged 29 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
134965c
Added GMMK PRO Rev2 WBG7 MCU compatibility. Added GMMK 2 WBG7 MCU com…
GloriousThrall Feb 22, 2022
cd8886f
GMMK PRO MCU Updates only (removed other kbs)
GloriousThrall Feb 22, 2022
b75deac
Merge branch 'qmk:master' into gmmk_updates_and_v2
GloriousThrall Feb 22, 2022
064e2e7
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into gm…
Feb 23, 2022
936d7a7
fix problems
Feb 23, 2022
b129a75
Merge pull request #1 from wb-Joy/gmmk_updates_and_v2
Feb 23, 2022
c3efc9e
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into gm…
Mar 14, 2022
72fd2d1
Optimize the code.
Mar 14, 2022
bdbde18
Merge pull request #5 from wb-Joy/gmmk_updates_and_v2
Mar 14, 2022
685fe04
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into gm…
Apr 14, 2022
7cb43b3
Merge pull request #6 from wb-Joy/gmmk_updates_and_v2
Apr 14, 2022
7bb54c0
Update form develop branch
Apr 14, 2022
f8237f2
Update
Apr 14, 2022
e689f9b
Merge pull request #7 from wb-Joy/gmmk_updates_and_v2
Apr 14, 2022
7910fc4
Merge remote-tracking branch 'upstream/develop' into gmmk_updates_and_v2
Apr 20, 2022
ded9c7e
Updater from qmk/develop
Apr 20, 2022
b578ae3
Merge pull request #8 from wb-Joy/gmmk_updates_and_v2
Apr 20, 2022
27ecf89
Merge remote-tracking branch 'upstream/develop' into gmmk_updates_and_v2
Apr 22, 2022
d1c336e
Update
Apr 22, 2022
d21844f
Update from develop
Apr 22, 2022
254ed06
Update config.h
Apr 24, 2022
4e60820
Update config.h
Apr 24, 2022
35903b4
Merge branch 'develop' of https://github.com/qmk/qmk_firmware into gm…
May 16, 2022
2cc32b1
Remove gmmk pro rev2
May 16, 2022
4e52724
Merge pull request #13 from wb-Joy/gmmk_updates_and_v2
May 16, 2022
c8014d0
move moults31/keymap.c
May 16, 2022
4f773a9
Merge pull request #14 from wb-Joy/gmmk_updates_and_v2
May 16, 2022
96372c7
Update
May 16, 2022
bf4da1d
tidy up
zvecr May 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/mappings/keyboard_aliases.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
target: 'gh60/revc'
},
'gmmk/pro': {
target: 'gmmk/pro/ansi'
target: 'gmmk/pro/rev1/ansi'
},
'handwired/ferris': {
target: 'ferris/0_1'
Expand Down
1 change: 0 additions & 1 deletion keyboards/gmmk/pro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#define LOCKING_RESYNC_ENABLE

/* SPI Config for LED Driver */
#define SPI_DRIVER SPID1
#define SPI_SCK_PIN A5
#define SPI_MOSI_PIN A6
#define SPI_MISO_PIN A7
Expand Down
16 changes: 16 additions & 0 deletions keyboards/gmmk/pro/halconf.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define HAL_USE_SPI TRUE
Expand Down
6 changes: 0 additions & 6 deletions keyboards/gmmk/pro/mcuconf.h

This file was deleted.

8 changes: 4 additions & 4 deletions keyboards/gmmk/pro/pro.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#include "quantum.h"

#if defined(KEYBOARD_gmmk_pro_ansi)
# include "ansi.h"
#elif defined(KEYBOARD_gmmk_pro_iso)
# include "iso.h"
#if defined(KEYBOARD_gmmk_pro_rev1_ansi)
# include "rev1/ansi/ansi.h"
#elif defined(KEYBOARD_gmmk_pro_rev1_iso)
# include "rev1/iso/iso.h"
#endif // GMMK Pro revisions
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ A tenkeyless 75% keyboard made and sold by Glorious LLC. Equipped with the STM32

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

make gmmk/pro/ansi:default
make gmmk/pro/rev1/ansi:default

Flashing example for this keyboard:

make gmmk/pro/ansi:default:flash
make gmmk/pro/rev1/ansi:default:flash

To reset the board into bootloader mode, do one of the following:

Expand Down
File renamed without changes.
22 changes: 22 additions & 0 deletions keyboards/gmmk/pro/rev1/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "config_common.h"

/* SPI Config for LED Driver */
#define SPI_DRIVER SPID1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ A tenkeyless 75% keyboard made and sold by Glorious LLC. Equipped with the STM32

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

make gmmk/pro/iso:default
make gmmk/pro/rev1/iso:default

Flashing example for this keyboard:

make gmmk/pro/iso:default:flash
make gmmk/pro/rev1/iso:default:flash

To reset the board into bootloader mode, do one of the following:

Expand Down
File renamed without changes.
22 changes: 22 additions & 0 deletions keyboards/gmmk/pro/rev1/mcuconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* Copyright 2021 Glorious, LLC <salman@pcgamingrace.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include_next <mcuconf.h>

#undef STM32_SPI_USE_SPI1
#define STM32_SPI_USE_SPI1 TRUE