diff options
author | Robert Mills <[email protected]> | 2023-03-07 10:13:46 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-07 10:13:46 -0800 |
commit | 8812db1d64d8927a23fdca49dd2409e090998e35 (patch) | |
tree | d1e0850e9fde158c1ece710fe13c3bfefcf12bfb /keyboards/karn/config.h | |
parent | e6e11dfde77a82d197f30289ca6bff8d3921a439 (diff) | |
download | qmk_firmware-8812db1d64d8927a23fdca49dd2409e090998e35.tar.gz qmk_firmware-8812db1d64d8927a23fdca49dd2409e090998e35.zip |
[Keyboard] Add Karn Keyboard (#19846)
Co-authored-by: jack <[email protected]>
Co-authored-by: Joel Challis <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'keyboards/karn/config.h')
-rw-r--r-- | keyboards/karn/config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/karn/config.h b/keyboards/karn/config.h new file mode 100644 index 0000000000..2e737bfd71 --- /dev/null +++ b/keyboards/karn/config.h @@ -0,0 +1,18 @@ +// Copyright 2023 Robert Mills (@robcmills) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define DIRECT_PINS {{NO_PIN, A15,A8, B15, B14, B13}, \ + {B10, B1, B0, A7, A6, A5 }, \ + {NO_PIN, B3, B4, B5, B8, B9 }, \ + {A4, A3, A2, NO_PIN, NO_PIN, NO_PIN}} + +#define DIRECT_PINS_RIGHT {{B13, B14, B15, A8, A15, NO_PIN}, \ + {A5, A6, A7, B0, B1, B10}, \ + {B9, B8, B5, B4, B3, NO_PIN}, \ + {A2, A3, A4, NO_PIN, NO_PIN, NO_PIN}} + +#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode. +#define SERIAL_USART_TX_PIN B6 // USART TX pin +#define SERIAL_USART_RX_PIN B7 // USART RX pin |