mirror of https://github.com/g4klx/MMDVM.git
Include the Teensy 3.5 as a supported platform.
This commit is contained in:
parent
890b1ae141
commit
762482f6f5
19
IOTeensy.cpp
19
IOTeensy.cpp
|
@ -20,10 +20,8 @@
|
||||||
#include "Globals.h"
|
#include "Globals.h"
|
||||||
#include "IO.h"
|
#include "IO.h"
|
||||||
|
|
||||||
#if defined(__MK20DX256__) || defined(__MK66FX1M0__)
|
#if defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
||||||
|
|
||||||
// A Teensy 3.1/3.2
|
|
||||||
#if defined(__MK20DX256__)
|
|
||||||
#define PIN_LED 13
|
#define PIN_LED 13
|
||||||
#define PIN_COS 52
|
#define PIN_COS 52
|
||||||
#define PIN_PTT 23
|
#define PIN_PTT 23
|
||||||
|
@ -35,20 +33,6 @@
|
||||||
#define PIN_ADC 5 // A0
|
#define PIN_ADC 5 // A0
|
||||||
#define PIN_RSSI 8 // A2
|
#define PIN_RSSI 8 // A2
|
||||||
|
|
||||||
// A Teensy 3.6
|
|
||||||
#elif defined(__MK66FX1M0__)
|
|
||||||
#define PIN_LED 13
|
|
||||||
#define PIN_COS 52
|
|
||||||
#define PIN_PTT 23
|
|
||||||
#define PIN_COSLED 22
|
|
||||||
#define PIN_DSTAR 9
|
|
||||||
#define PIN_DMR 8
|
|
||||||
#define PIN_YSF 7
|
|
||||||
#define PIN_P25 6
|
|
||||||
#define PIN_ADC 5 // A0
|
|
||||||
#define PIN_RSSI 8 // A2
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define PDB_CH0C1_TOS 0x0100
|
#define PDB_CH0C1_TOS 0x0100
|
||||||
#define PDB_CH0C1_EN 0x01
|
#define PDB_CH0C1_EN 0x01
|
||||||
|
|
||||||
|
@ -231,4 +215,3 @@ void CIO::setP25Int(bool on)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue