Begin Teensy 3.1 port

This commit is contained in:
PaulStoffregen
2014-06-07 18:47:44 -07:00
parent d765d114e0
commit ba10c7c572
6 changed files with 118 additions and 32 deletions

View File

@@ -22,7 +22,9 @@
/** \file
Includes the chip-specfic defaults and pin definitions. */
#ifdef __AVR__
#include <avr/io.h>
#endif
#ifndef PB0
#define PB0 PORTB0
@@ -110,6 +112,13 @@
/* Teensy++ 2.0 */
#include "Teensypp_xxx6.h"
#elif defined (__MK20DX128__) \
|| defined (__MK20DX256__)
/* Teensy 3.0 & 3.1 */
#include "Teensy_KinetisK20.h"
#else
#error "Unknown Chip!"
#endif