Detect Teensy v4 and differentiate from other Teensy
This commit is contained in:
parent
50ab4f9548
commit
89ee0e350d
|
@ -1,6 +1,6 @@
|
||||||
#ifndef TEENSY35_H
|
#ifndef TEENSY35_H
|
||||||
#define TEENSY35_H
|
#define TEENSY35_H
|
||||||
#if defined(CORE_TEENSY)
|
#if defined(CORE_TEENSY) && defined(CORE_TEENSY35)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
***********************************************************************************************************
|
***********************************************************************************************************
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#if defined(CORE_TEENSY)
|
#if defined(CORE_TEENSY) && defined(CORE_TEENSY35)
|
||||||
#include "board_teensy35.h"
|
#include "board_teensy35.h"
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
#include "auxiliaries.h"
|
#include "auxiliaries.h"
|
||||||
|
|
|
@ -16,7 +16,13 @@
|
||||||
//#define TIMER5_MICROS
|
//#define TIMER5_MICROS
|
||||||
|
|
||||||
#elif defined(CORE_TEENSY)
|
#elif defined(CORE_TEENSY)
|
||||||
#define BOARD_H "board_teensy35.h"
|
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
||||||
|
#define CORE_TEENSY35
|
||||||
|
#define BOARD_H "board_teensy35.h"
|
||||||
|
#elif defined(__IMXRT1062__)
|
||||||
|
#define CORE_TEENSY40
|
||||||
|
#define BOARD_H "board_teensy40.h"
|
||||||
|
#endif
|
||||||
#define INJ_CHANNELS 8
|
#define INJ_CHANNELS 8
|
||||||
#define IGN_CHANNELS 8
|
#define IGN_CHANNELS 8
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue