diff --git a/keyboards/splitkb/halcyon/elora/readme.md b/keyboards/splitkb/halcyon/elora/readme.md index fc0cfd06620..0a9ae8121bb 100644 --- a/keyboards/splitkb/halcyon/elora/readme.md +++ b/keyboards/splitkb/halcyon/elora/readme.md @@ -7,7 +7,7 @@ Make example for this keyboard (after setting up your build environment): - make splitkb/halcyon/elora:default + make splitkb/halcyon/elora/rev2:default The keyboard can be flashed by copying the resulting `.uf2` file onto the `RPI-RP2` flash drive. diff --git a/keyboards/splitkb/halcyon/elora/rev2/halconf.h b/keyboards/splitkb/halcyon/elora/rev2/halconf.h new file mode 100644 index 00000000000..d7d125d31d4 --- /dev/null +++ b/keyboards/splitkb/halcyon/elora/rev2/halconf.h @@ -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 \ No newline at end of file diff --git a/keyboards/splitkb/halcyon/elora/rev2/mcuconf.h b/keyboards/splitkb/halcyon/elora/rev2/mcuconf.h new file mode 100644 index 00000000000..a445da5c021 --- /dev/null +++ b/keyboards/splitkb/halcyon/elora/rev2/mcuconf.h @@ -0,0 +1,18 @@ +// Copyright 2024 splitkb.com (support@splitkb.com) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include_next + +//// 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 \ No newline at end of file diff --git a/keyboards/splitkb/halcyon/elora/rules.mk b/keyboards/splitkb/halcyon/elora/rules.mk deleted file mode 100644 index 81b58f829dd..00000000000 --- a/keyboards/splitkb/halcyon/elora/rules.mk +++ /dev/null @@ -1 +0,0 @@ -DEFAULT_FOLDER = splitkb/halcyon/elora/rev2 \ No newline at end of file diff --git a/keyboards/splitkb/halcyon/kyria/readme.md b/keyboards/splitkb/halcyon/kyria/readme.md index 20973e2570f..62689d35b05 100755 --- a/keyboards/splitkb/halcyon/kyria/readme.md +++ b/keyboards/splitkb/halcyon/kyria/readme.md @@ -2,12 +2,21 @@ ![splitkb/halcyon/kyria](https://i.imgur.com/n7WuUs9.jpg) +The Halcyon Kyria rev4 is the fourth Kyria revision and the first keyboard in our Halcyon range. Similar to Aurora, all keyboards in the series share the same feature set. The key highlights: + +- Halcyon keyboards come preassembled! You won't need a soldering iron. +- You'll be able to install [VIK](https://github.com/sadekbaroudi/vik) modules. +- It'll come fully documented, which includes the unboxing, assembly (with only a screwdriver), first installation and some advanced use cases. +- Both the connection to the host device as well as the interconnect between the keyboard halves use USB C. +- The controller has full ESD protection on all USB C ports, as well as all switch matrix GPIO! +- The controller is interchangable. If part of your keyboard ever breaks, we can replace just the bits that need replacing. + * Keyboard Maintainer: [splitkb.com](https://github.com/splitkb.com) * Hardware Availability: [splitkb.com](https://splitkb.com). 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. diff --git a/keyboards/splitkb/halcyon/kyria/rev4/halconf.h b/keyboards/splitkb/halcyon/kyria/rev4/halconf.h new file mode 100644 index 00000000000..d7d125d31d4 --- /dev/null +++ b/keyboards/splitkb/halcyon/kyria/rev4/halconf.h @@ -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 \ No newline at end of file diff --git a/keyboards/splitkb/halcyon/kyria/rev4/mcuconf.h b/keyboards/splitkb/halcyon/kyria/rev4/mcuconf.h new file mode 100644 index 00000000000..a445da5c021 --- /dev/null +++ b/keyboards/splitkb/halcyon/kyria/rev4/mcuconf.h @@ -0,0 +1,18 @@ +// Copyright 2024 splitkb.com (support@splitkb.com) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include_next + +//// 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 \ No newline at end of file diff --git a/keyboards/splitkb/halcyon/kyria/rules.mk b/keyboards/splitkb/halcyon/kyria/rules.mk deleted file mode 100755 index b0f981ea1ba..00000000000 --- a/keyboards/splitkb/halcyon/kyria/rules.mk +++ /dev/null @@ -1 +0,0 @@ -DEFAULT_FOLDER = splitkb/halcyon/kyria/rev4 \ No newline at end of file