QMK DFU bootloader generation (#2009)
* adds :bootloader target * update planck and preonic revisions * remove references to .h files for planck * update preonic keymap * only add keyboard.h files that exist * add production target * hook things up with the new lufa variables * update rules for planck/preonic * back backlight key turn of status led when pressed * add manufacturer/product strings to bootloader
This commit is contained in:
@@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6060
|
||||
#define MANUFACTURER OLKB
|
||||
#define PRODUCT The Planck Keyboard
|
||||
#define PRODUCT Planck
|
||||
#define DESCRIPTION A compact ortholinear keyboard
|
||||
|
||||
/* key matrix size */
|
||||
@@ -36,6 +36,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
#define QMK_ESC_OUTPUT F1
|
||||
#define QMK_ESC_INPUT D5
|
||||
#define QMK_LED E6
|
||||
#define QMK_SPEAKER C6
|
||||
|
||||
#define AUDIO_VOICES
|
||||
#define C6_AUDIO
|
||||
|
||||
|
||||
@@ -224,8 +224,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
backlight_step();
|
||||
#endif
|
||||
PORTE &= ~(1<<6);
|
||||
} else {
|
||||
unregister_code(KC_RSFT);
|
||||
PORTE |= (1<<6);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
|
||||
@@ -32,11 +32,4 @@
|
||||
#define KEYMAP LAYOUT_planck_grid
|
||||
#define LAYOUT_ortho_4x12 LAYOUT_planck_grid
|
||||
|
||||
#ifdef KEYBOARD_planck_rev3
|
||||
#include "rev3.h"
|
||||
#endif
|
||||
#ifdef KEYBOARD_planck_rev4
|
||||
#include "rev4.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
#include "rev3.h"
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef REV3_H
|
||||
#define REV3_H
|
||||
|
||||
#include "planck.h"
|
||||
|
||||
#endif
|
||||
@@ -1 +0,0 @@
|
||||
#include "rev4.h"
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef REV4_H
|
||||
#define REV4_H
|
||||
|
||||
#include "planck.h"
|
||||
|
||||
#endif
|
||||
8
keyboards/planck/rev5/config.h
Normal file
8
keyboards/planck/rev5/config.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef REV5_CONFIG_H
|
||||
#define REV5_CONFIG_H
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
#define DEVICE_VER 0x0005
|
||||
|
||||
#endif
|
||||
3
keyboards/planck/rev5/info.json
Normal file
3
keyboards/planck/rev5/info.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"identifier": "FEED:6060:0005"
|
||||
}
|
||||
1
keyboards/planck/rev5/rules.mk
Normal file
1
keyboards/planck/rev5/rules.mk
Normal file
@@ -0,0 +1 @@
|
||||
AUDIO_ENABLE = yes # Audio output on port C6
|
||||
@@ -69,4 +69,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
|
||||
LAYOUTS = ortho_4x12 planck_mit planck_grid
|
||||
|
||||
DEFAULT_FOLDER = planck/rev4
|
||||
DEFAULT_FOLDER = planck/rev5
|
||||
|
||||
Reference in New Issue
Block a user