59#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega2561__)
61#elif defined(CORE_TEENSY)
62 #if defined(__MK64FX512__) || defined(__MK66FX1M0__)
64 #elif defined(__IMXRT1062__)
67#elif defined(STM32_MCU_SERIES) || defined(ARDUINO_ARCH_STM32) || defined(STM32)
69#elif defined(__SAME51J19A__)
70 #include "board_same51.h"
72#elif defined(EXTERNAL_BOARD_H)
73 #include EXTERNAL_BOARD_H
75 #error Incorrect board selected. Please select the correct board (Usually Mega 2560) and upload again
78#if defined(RTC_ENABLED)
80void boardInitRTC(
void);
85#define SET_COMPARE(compare, value) (compare) = (COMPARE_TYPE)(value)
EEPROMClass EEPROM_t
Definition board_avr2560.h:63
static constexpr uint32_t ticksToMicros(COMPARE_TYPE ticks)
Convert timer ticks to µS.
Definition board_avr2560.h:49
uint8_t getSystemTemp(void)
Get the board temp for display in TunerStudio (optional)
constexpr uint32_t MAX_TIMER_PERIOD
The longest period of time (in uS) that the timer can permit.
Definition board_definition.h:91
uint16_t getEepromWriteBlockSize(const statuses ¤t)
The maximum number of write operations that will be performed in one go.
EEPROM_t & getEEPROM(void)
Access the EEPROM singleton.
void boardInitPins(void)
Pin specific initialisation (optional - can be empty)
void jumpToBootloader(void)
Trigger the boot loader (optional)
void initBoard(uint32_t baudRate)
Initialise the board, including USB comms.
void doSystemReset(void)
Reset the board (optional)
uint16_t freeRam(void)
Calculate free RAM for display in TunerStudio.
Definition type_traits.h:27
The status struct with current values for all 'live' variables.
Definition statuses.h:24
Minimal polyfill for the standard library type traits, since it isn't available with avr-gcc.