mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-21 23:22:03 +00:00
Remove rules.mk and add VIK configuration
This commit is contained in:
parent
60cef34a36
commit
0cc4665552
@ -16,7 +16,7 @@ The Halcyon Kyria rev4 is the fourth Kyria revision and the first keyboard in ou
|
|||||||
|
|
||||||
Make example for this keyboard (after setting up your build environment):
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
make splitkb/halcyon/kyria:default
|
make splitkb/halcyon/kyria/rev4:default
|
||||||
|
|
||||||
The keyboard can be flashed by copying the resulting `.uf2` file onto the `RPI-RP2` flash drive.
|
The keyboard can be flashed by copying the resulting `.uf2` file onto the `RPI-RP2` flash drive.
|
||||||
|
|
||||||
|
27
keyboards/splitkb/halcyon/kyria/rev4/halconf.h
Normal file
27
keyboards/splitkb/halcyon/kyria/rev4/halconf.h
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
// Copyright 2024 splitkb.com (support@splitkb.com)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
//// VIK
|
||||||
|
|
||||||
|
// GPIO1 = GP27
|
||||||
|
// GPIO2 = GP26
|
||||||
|
// CS = GP13
|
||||||
|
|
||||||
|
#if HAL_USE_I2C == TRUE
|
||||||
|
# define I2C_DRIVER I2C0
|
||||||
|
# define I2C1_SDA_PIN GP16
|
||||||
|
# define I2C1_SCL_PIN GP17
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if HAL_USE_SPI == TRUE
|
||||||
|
# define SPI_DRIVER SPID1
|
||||||
|
# define SPI_SCK_PIN GP14
|
||||||
|
# define SPI_MOSI_PIN GP15
|
||||||
|
# define SPI_MISO_PIN GP12
|
||||||
|
# define SPI_USE_WAIT TRUE
|
||||||
|
# define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include_next <halconf.h>
|
18
keyboards/splitkb/halcyon/kyria/rev4/mcuconf.h
Normal file
18
keyboards/splitkb/halcyon/kyria/rev4/mcuconf.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
// Copyright 2024 splitkb.com (support@splitkb.com)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include_next <mcuconf.h>
|
||||||
|
|
||||||
|
//// VIK
|
||||||
|
|
||||||
|
#if HAL_USE_I2C == TRUE
|
||||||
|
# undef RP_I2C_USE_I2C0
|
||||||
|
# define RP_I2C_USE_I2C0 TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if HAL_USE_SPI == TRUE
|
||||||
|
# undef RP_SPI_USE_SPI1
|
||||||
|
# define RP_SPI_USE_SPI1 TRUE
|
||||||
|
#endif
|
@ -1 +0,0 @@
|
|||||||
DEFAULT_FOLDER = splitkb/halcyon/kyria/rev4
|
|
Loading…
Reference in New Issue
Block a user