Merge pull request #129 from wez/master

basic support for non-avr, non-usb boards
pull/130/head
Jesse Vincent 8 years ago committed by GitHub
commit b5ffa280a3

@ -9,7 +9,9 @@ Kaleidoscope_::Kaleidoscope_(void) {
void void
Kaleidoscope_::setup(void) { Kaleidoscope_::setup(void) {
#ifdef __AVR__
wdt_disable(); wdt_disable();
#endif
delay(100); delay(100);
Keyboard.begin(); Keyboard.begin();
KeyboardHardware.setup(); KeyboardHardware.setup();

@ -18,7 +18,9 @@ void setup();
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#ifdef __AVR__
#include <avr/wdt.h> #include <avr/wdt.h>
#endif
#include KALEIDOSCOPE_HARDWARE_H #include KALEIDOSCOPE_HARDWARE_H
#include "key_events.h" #include "key_events.h"

@ -1,6 +1,8 @@
#pragma once #pragma once
#include <Arduino.h> #include <Arduino.h>
#if defined(USBCON) && !defined(CORE_TEENSY)
#include "KeyboardioHID.h" #include "KeyboardioHID.h"
#endif
#include KALEIDOSCOPE_HARDWARE_H #include KALEIDOSCOPE_HARDWARE_H
#include "key_defs.h" #include "key_defs.h"

Loading…
Cancel
Save