From 0f62383be57d2e3dacc79a76973295c73e805038 Mon Sep 17 00:00:00 2001 From: skullydazed Date: Sat, 23 Feb 2019 17:25:25 -0800 Subject: Clueboard 66% Hotswap Support (#5204) * Initial Clueboard 66% arm support * Fix LAYOUT_66_ansi * wip * Bring this branch up to date with led_matrix * Get Clueboard 66% hotswap working with led_matrix * stm32 cleanup * Fix compiling for clueboard 66% hotswap prototype * Reduce the size of the prototype firmware --- .../clueboard/66_hotswap/prototype/prototype.c | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 keyboards/clueboard/66_hotswap/prototype/prototype.c (limited to 'keyboards/clueboard/66_hotswap/prototype/prototype.c') diff --git a/keyboards/clueboard/66_hotswap/prototype/prototype.c b/keyboards/clueboard/66_hotswap/prototype/prototype.c new file mode 100644 index 0000000000..991d4b8fae --- /dev/null +++ b/keyboards/clueboard/66_hotswap/prototype/prototype.c @@ -0,0 +1,63 @@ +#include "prototype.h" +#include +#include "backlight.h" +#include "print.h" + +void matrix_init_kb(void) { + // put your keyboard start-up code here + // runs once when the firmware starts up + matrix_init_user(); + led_init_ports(); + + // JTAG disable for PORT F. write JTD bit twice within four cycles. + MCUCR |= (1<