Fix broken Teensy 4.1 build
This commit is contained in:
parent
2439883a69
commit
4e15c77c00
|
@ -16,6 +16,7 @@
|
|||
#define COMPARE_TYPE uint16_t
|
||||
#define COUNTER_TYPE uint16_t
|
||||
#define SERIAL_BUFFER_SIZE 517 //Size of the serial buffer used by new comms protocol. For SD transfers this must be at least 512 + 1 (flag) + 4 (sector)
|
||||
#define SD_LOGGING //SD logging enabled by default for Teensy 3.5 as it has the slot built in
|
||||
#define BOARD_MAX_DIGITAL_PINS 34
|
||||
#define BOARD_MAX_IO_PINS 34 //digital pins + analog channels + 1
|
||||
#ifdef USE_SPI_EEPROM
|
||||
|
|
|
@ -15,12 +15,14 @@
|
|||
#define COMPARE_TYPE uint32_t
|
||||
#define COUNTER_TYPE uint32_t
|
||||
#define SERIAL_BUFFER_SIZE 517 //Size of the serial buffer used by new comms protocol. For SD transfers this must be at least 512 + 1 (flag) + 4 (sector)
|
||||
#define SD_LOGGING //SD logging enabled by default for Teensy 4.1 as it has the slot built in
|
||||
#define BOARD_MAX_DIGITAL_PINS 34
|
||||
#define BOARD_MAX_IO_PINS 34 //digital pins + analog channels + 1
|
||||
#define EEPROM_LIB_H <EEPROM.h>
|
||||
typedef int eeprom_address_t;
|
||||
#define RTC_ENABLED
|
||||
#define RTC_LIB_H "TimeLib.h"
|
||||
#define SD_CONFIG SdioConfig(FIFO_SDIO) //Set Teensy to use SDIO in FIFO mode. This is the fastest SD mode on Teensy as it offloads most of the writes
|
||||
|
||||
#define micros_safe() micros() //timer5 method is not used on anything but AVR, the micros_safe() macro is simply an alias for the normal micros()
|
||||
#define pinIsReserved(pin) ( ((pin) == 0) ) //Forbiden pins like USB
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
#if defined(__MK64FX512__) || defined(__MK66FX1M0__)
|
||||
#define CORE_TEENSY35
|
||||
#define BOARD_H "board_teensy35.h"
|
||||
#define SD_LOGGING //SD logging enabled by default for Teensy 3.5 as it has the slot built in
|
||||
#define BOARD_MAX_ADC_PINS 22 //Number of analog pins
|
||||
#elif defined(__IMXRT1062__)
|
||||
#define CORE_TEENSY41
|
||||
|
|
Loading…
Reference in New Issue