Browse Source

[Keyboard] Kangaroo Rev2 (#18199)

pull/18217/head
Xelus22 1 year ago
committed by GitHub
parent
commit
f3d52d8fe8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 118 additions and 28 deletions
  1. +3
    -5
      keyboards/xelus/kangaroo/info.json
  2. +1
    -6
      keyboards/xelus/kangaroo/kangaroo.c
  3. +0
    -0
      keyboards/xelus/kangaroo/rev1/config.h
  4. +0
    -0
      keyboards/xelus/kangaroo/rev1/halconf.h
  5. +6
    -0
      keyboards/xelus/kangaroo/rev1/info.json
  6. +0
    -0
      keyboards/xelus/kangaroo/rev1/mcuconf.h
  7. +3
    -2
      keyboards/xelus/kangaroo/rev1/readme.md
  8. +6
    -15
      keyboards/xelus/kangaroo/rev1/rev1.c
  9. +17
    -0
      keyboards/xelus/kangaroo/rev1/rev1.h
  10. +0
    -0
      keyboards/xelus/kangaroo/rev1/rules.mk
  11. +38
    -0
      keyboards/xelus/kangaroo/rev2/config.h
  12. +6
    -0
      keyboards/xelus/kangaroo/rev2/info.json
  13. +14
    -0
      keyboards/xelus/kangaroo/rev2/readme.md
  14. +24
    -0
      keyboards/xelus/kangaroo/rev2/rules.mk

+ 3
- 5
keyboards/xelus/kangaroo/info.json View File

@ -1,12 +1,10 @@
{
"keyboard_name": "Kangaroo",
"manufacturer": "Xelus",
"url": "https://github.com/qmk/qmk_firmware/tree/master/keyboards/xelus/kangaroo",
"maintainer": "qmk",
"url": "https://github.com/qmk/qmk_firmware/tree/master/keyboards/xelus/kangaroo",
"maintainer": "qmk",
"usb": {
"vid": "0x5845",
"pid": "0x524F",
"device_version": "0.0.1"
"pid": "0x524F"
},
"layouts": {
"LAYOUT_all": {


+ 1
- 6
keyboards/xelus/kangaroo/kangaroo.c View File

@ -1,4 +1,4 @@
/* Copyright 2020 Harrison Chan (Xelus)
/* Copyright 2022 Harrison Chan (Xelus)
*
* 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
@ -16,9 +16,4 @@
#include "kangaroo.h"
void board_init(void) {
SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP;
SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_SPI2_DMA_RMP);
}
void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }

keyboards/xelus/kangaroo/config.h → keyboards/xelus/kangaroo/rev1/config.h View File


keyboards/xelus/kangaroo/halconf.h → keyboards/xelus/kangaroo/rev1/halconf.h View File


+ 6
- 0
keyboards/xelus/kangaroo/rev1/info.json View File

@ -0,0 +1,6 @@
{
"keyboard_name": "Kangaroo Rev 1.0",
"usb": {
"device_version": "0.0.1"
}
}

keyboards/xelus/kangaroo/mcuconf.h → keyboards/xelus/kangaroo/rev1/mcuconf.h View File


keyboards/xelus/kangaroo/readme.md → keyboards/xelus/kangaroo/rev1/readme.md View File

@ -1,4 +1,4 @@
# Kangaroo
# Kangaroo Rev 1
Left Hand Fullsized Keyboard designed by Jono.
@ -8,6 +8,7 @@ Left Hand Fullsized Keyboard designed by Jono.
Make example for this keyboard (after setting up your build environment):
make xelus/kangaroo:default
make xelus/kangaroo/rev1:default
make xelus/kangaroo/rev1:via
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

keyboards/xelus/kangaroo/chconf.h → keyboards/xelus/kangaroo/rev1/rev1.c View File

@ -1,4 +1,4 @@
/* Copyright 2020 QMK
/* Copyright 2022 Harrison Chan (Xelus)
*
* 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
@ -14,18 +14,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* This file was auto-generated by:
* `qmk chibios-confmigrate -i keyboards/xelus/kangaroo/chconf.h -r platforms/chibios/common/configs/chconf.h`
*/
#pragma once
#define CH_CFG_ST_FREQUENCY 10000
#define CH_CFG_OPTIMIZE_SPEED FALSE
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
#include_next <chconf.h>
#include "rev1.h"
void board_init(void) {
SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP;
SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_SPI2_DMA_RMP);
}

+ 17
- 0
keyboards/xelus/kangaroo/rev1/rev1.h View File

@ -0,0 +1,17 @@
/* Copyright 2022 Harrison Chan (Xelus)
*
* 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/>.
*/
#include "quantum.h"

keyboards/xelus/kangaroo/rules.mk → keyboards/xelus/kangaroo/rev1/rules.mk View File


+ 38
- 0
keyboards/xelus/kangaroo/rev2/config.h View File

@ -0,0 +1,38 @@
/* Copyright 2020 Harrison Chan (Xelus)
*
* 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
/* key matrix size */
#define MATRIX_ROWS 12
#define MATRIX_COLS 11
#define MATRIX_COL_PINS { B10, B2, B11, A10, B7, B6, B5, B4, B3, A15, A14 }
#define MATRIX_ROW_PINS { A9, A8, B15, B14, B13, B12, A4, A5, A6, A7, B0, B1 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE WEAR_LEVELING_LOGICAL_SIZE*2

+ 6
- 0
keyboards/xelus/kangaroo/rev2/info.json View File

@ -0,0 +1,6 @@
{
"keyboard_name": "Kangaroo Rev 2.0",
"usb": {
"device_version": "0.0.2"
}
}

+ 14
- 0
keyboards/xelus/kangaroo/rev2/readme.md View File

@ -0,0 +1,14 @@
# Kangaroo Rev 2
Left Hand Fullsized Keyboard designed by Jono.
* Keyboard Maintainer: [Xelus22](https://github.com/Xelus22)
* Hardware Supported: Kangaroo
* Hardware Availability: Custom keyboard group buys
Make example for this keyboard (after setting up your build environment):
make xelus/kangaroo/rev2:default
make xelus/kangaroo/rev2:via
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).

+ 24
- 0
keyboards/xelus/kangaroo/rev2/rules.mk View File

@ -0,0 +1,24 @@
# MCU name
MCU = STM32L412
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
EEPROM_DRIVER = i2c
EEPROM_DRIVER = wear_leveling
WEAR_LEVELING_DRIVER = embedded_flash
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

Loading…
Cancel
Save