Skip to content

Commit

Permalink
Merge pull request #1 from waffle87/patch
Browse files Browse the repository at this point in the history
Nitpicks
  • Loading branch information
daysgobye authored Feb 19, 2023
2 parents d65a093 + f23a1fc commit 23b5957
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 38 deletions.
19 changes: 0 additions & 19 deletions keyboards/boardsource/equals/config.h
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/

/* disable debug print */
// #define NO_DEBUG

/* disable print */
// #define NO_PRINT

/* disable action features */
// #define NO_ACTION_LAYER
// #define NO_ACTION_TAPPING
// #define NO_ACTION_ONESHOT

#pragma once
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 200U
Expand Down
5 changes: 3 additions & 2 deletions keyboards/boardsource/equals/graphics/thintel15.qff.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#include <qp.h>

const uint32_t font_thintel15_length = 966;
Expand Down Expand Up @@ -67,4 +68,4 @@ const uint8_t font_thintel15[966] = {
0x11, 0x84, 0x10, 0x0C, 0x00, 0x55, 0x55, 0x01, 0x83, 0x10, 0x82, 0x08, 0x21, 0x03, 0x00, 0x00,
0x00, 0xB0, 0x1A, 0x00, 0x00, 0x00,
};
// clang-format on
// clang-format on
5 changes: 3 additions & 2 deletions keyboards/boardsource/equals/halconf.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#define HAL_USE_I2C TRUE
#define HAL_USE_PWM TRUE
#define HAL_USE_SPI TRUE

#include_next <halconf.h>
#include_next <halconf.h>
6 changes: 2 additions & 4 deletions keyboards/boardsource/equals/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
"pid": "0x7688",
"vid": "0x4273"
},

"rgb_matrix": {
"driver": "WS2812",
"led_count": 70,
"max_brightness": 150,
"animations": {
"alphas_mods": true,
Expand Down Expand Up @@ -73,7 +71,7 @@
"splash":true,
"multisplash":true,
"solid_splash":true,
"solid_multisplash":true
"solid_multisplash":true
},
"layout": [
{ "flags": 2, "x": 220, "y": 17 },
Expand Down Expand Up @@ -213,4 +211,4 @@
]
}
}
}
}
4 changes: 3 additions & 1 deletion keyboards/boardsource/equals/keymaps/cole/config.h
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#define COMBO_COUNT 4
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#define COMBO_COUNT 4
4 changes: 3 additions & 1 deletion keyboards/boardsource/equals/keymaps/cole/keymap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

enum layers
Expand Down Expand Up @@ -64,4 +66,4 @@ void housekeeping_task_user(void)
{
// Draw the display
ui_task();
}
}
5 changes: 3 additions & 2 deletions keyboards/boardsource/equals/keymaps/cole/ui.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#include <stdio.h>
#include QMK_KEYBOARD_H
#include "qp.h"
#include "qp_st7735.h"
#include "graphics/thintel15.qff.c"
Expand Down Expand Up @@ -38,4 +39,4 @@ void ui_task(void)
qp_drawtext(oled, (20 + width), 140, font, "_PANIC_");
break;
}
}
}
4 changes: 3 additions & 1 deletion keyboards/boardsource/equals/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

enum layers
Expand Down Expand Up @@ -48,4 +50,4 @@ void housekeeping_task_user(void)
{
// Draw the display
ui_task();
}
}
5 changes: 3 additions & 2 deletions keyboards/boardsource/equals/keymaps/default/ui.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#include <stdio.h>
#include QMK_KEYBOARD_H
#include "qp.h"
#include "qp_st7735.h"
#include "graphics/thintel15.qff.c"
Expand Down Expand Up @@ -38,4 +39,4 @@ void ui_task(void)
qp_drawtext(oled, (20 + width), 140, font, "_PANIC_");
break;
}
}
}
2 changes: 2 additions & 0 deletions keyboards/boardsource/equals/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

enum layers
Expand Down
2 changes: 2 additions & 0 deletions keyboards/boardsource/equals/mcuconf.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2023 Cole Smith (@boardsource)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#include_next <mcuconf.h>
Expand Down
6 changes: 2 additions & 4 deletions keyboards/boardsource/equals/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

![equals](imgur.com image replace me!)

*A short description of the keyboard/project*

* Keyboard Maintainer: [Cole Smith](https://github.com/boardsource)
* Hardware Supported: *The PCBs, controllers supported*
* Hardware Availability: *Links to where you can find this hardware*
* Hardware Supported: Equals PCB w/ RP2040
* Hardware Availability: [boardsource](https://boardsource.xyz)

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

Expand Down

0 comments on commit 23b5957

Please sign in to comment.