diff options
author | dvermd <315743+dvermd@users.noreply.github.com> | 2022-08-03 10:31:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 09:31:37 +0100 |
commit | 0206bd9df31521fcfd764c3dd4cff383e4957151 (patch) | |
tree | 38873d759919be585d3d3db74daa1cd756322621 /keyboards/handwired/splittest/keymaps/serial_fullduplex | |
parent | b6757d2380d32b5f60f61ffc42d27c40eb219208 (diff) |
add bluepill mcu to splittest (#16959)
* add bluepill mcu to splittest
* fix typo
* refactoring
* mcu config goes to mcuconf.h of keyboard
* keymap specific config goes to keymap config.h
* keyboard specific depending of keymap goes to post_config.h
* Apply suggested change
Co-authored-by: Ryan <fauxpark@gmail.com>
* Apply suggested change
Co-authored-by: Ryan <fauxpark@gmail.com>
* Apply suggested change
Co-authored-by: Ryan <fauxpark@gmail.com>
* Apply suggested change
Co-authored-by: Ryan <fauxpark@gmail.com>
* Apply suggested change
Co-authored-by: Ryan <fauxpark@gmail.com>
* splittest/bluepill: improve documentation
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/handwired/splittest/keymaps/serial_fullduplex')
4 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h b/keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h new file mode 100644 index 0000000000..b83dc43a1f --- /dev/null +++ b/keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h @@ -0,0 +1,8 @@ +// Copyright 2022 dvermd (@dvermd) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "config_common.h" + +#define SPLIT_SERIAL_FULLDUPLEX diff --git a/keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h b/keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h new file mode 100644 index 0000000000..35ae5bf214 --- /dev/null +++ b/keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h @@ -0,0 +1,2 @@ +#define HAL_USE_SERIAL TRUE +#include_next <halconf.h> diff --git a/keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c b/keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c new file mode 100644 index 0000000000..84919f53a7 --- /dev/null +++ b/keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c @@ -0,0 +1,11 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {[0] = LAYOUT(KC_L, KC_R)}; + +void keyboard_post_init_user(void) { + // Customise these values to desired behaviour + debug_enable = true; + debug_matrix = true; + debug_keyboard = true; + // debug_mouse=true; +} diff --git a/keyboards/handwired/splittest/keymaps/serial_fullduplex/rules.mk b/keyboards/handwired/splittest/keymaps/serial_fullduplex/rules.mk new file mode 100644 index 0000000000..c6e2988321 --- /dev/null +++ b/keyboards/handwired/splittest/keymaps/serial_fullduplex/rules.mk @@ -0,0 +1 @@ +SERIAL_DRIVER = usart |