diff options
author | QMK Bot <hello@qmk.fm> | 2023-10-13 07:53:54 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2023-10-13 07:53:54 +0000 |
commit | 527a4ee846e7cd1e64b40f1ee63488ae93b8774c (patch) | |
tree | 70a02ea6b7790d1c46cbce26695391573840ca6f /keyboards/sawnsprojects/okayu/stm32f072 | |
parent | 0943d0a2a0fdd236bbee06fe0db6f872562c25c3 (diff) | |
parent | 62ff02a101d0f69214754d4edeb583dddf14dd20 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/sawnsprojects/okayu/stm32f072')
4 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/sawnsprojects/okayu/stm32f072/config.h b/keyboards/sawnsprojects/okayu/stm32f072/config.h new file mode 100644 index 0000000000..c47f1928c8 --- /dev/null +++ b/keyboards/sawnsprojects/okayu/stm32f072/config.h @@ -0,0 +1,8 @@ +// Copyright 2023 MaiTheSan +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#define WS2812_SPI SPID1 +#define WS2812_SPI_MOSI_PAL_MODE 5 +#define WS2812_SPI_SCK_PIN B13 +#define WS2812_SPI_SCK_PAL_MODE 5
\ No newline at end of file diff --git a/keyboards/sawnsprojects/okayu/stm32f072/info.json b/keyboards/sawnsprojects/okayu/stm32f072/info.json new file mode 100644 index 0000000000..b5d728b1cd --- /dev/null +++ b/keyboards/sawnsprojects/okayu/stm32f072/info.json @@ -0,0 +1,4 @@ +{ + "processor": "STM32F072", + "bootloader": "stm32-dfu", +} diff --git a/keyboards/sawnsprojects/okayu/stm32f072/mcuconf.h b/keyboards/sawnsprojects/okayu/stm32f072/mcuconf.h new file mode 100644 index 0000000000..7cd72d9a86 --- /dev/null +++ b/keyboards/sawnsprojects/okayu/stm32f072/mcuconf.h @@ -0,0 +1,8 @@ +// Copyright 2023 MaiTheSan +// SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + +#include_next <mcuconf.h> + +#undef STM32_SPI_USE_SPI1 +#define STM32_SPI_USE_SPI1 TRUE diff --git a/keyboards/sawnsprojects/okayu/stm32f072/rules.mk b/keyboards/sawnsprojects/okayu/stm32f072/rules.mk new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/keyboards/sawnsprojects/okayu/stm32f072/rules.mk |