32#ifndef LF_ARDUINO_SUPPORT_H
33#define LF_ARDUINO_SUPPORT_H
46#if defined(ARDUINO_AVR_ADK)
48#elif defined(ARDUINO_AVR_BT)
50#elif defined(ARDUINO_AVR_DUEMILANOVE)
52#elif defined(ARDUINO_AVR_ESPLORA)
54#elif defined(ARDUINO_AVR_ETHERNET)
56#elif defined(ARDUINO_AVR_FIO)
58#elif defined(ARDUINO_AVR_GEMMA)
60#elif defined(ARDUINO_AVR_LEONARDO)
62#elif defined(ARDUINO_AVR_LILYPAD)
64#elif defined(ARDUINO_AVR_LILYPAD_USB)
66#elif defined(ARDUINO_AVR_MEGA)
68#elif defined(ARDUINO_AVR_MEGA2560)
70#elif defined(ARDUINO_AVR_MICRO)
72#elif defined(ARDUINO_AVR_MINI)
74#elif defined(ARDUINO_AVR_NANO)
76#elif defined(ARDUINO_AVR_NG)
78#elif defined(ARDUINO_AVR_PRO)
80#elif defined(ARDUINO_AVR_ROBOT_CONTROL)
82#elif defined(ARDUINO_AVR_ROBOT_MOTOR)
84#elif defined(ARDUINO_AVR_UNO) || defined(__AVR_ATmega4809__)
86#elif defined(ARDUINO_AVR_YUN)
90#elif defined(ARDUINO_SAM_DUE)
92#elif defined(ARDUINO_SAMD_ZERO)
94#elif defined(ARDUINO_ARC32_TOOLS)
96#elif defined(ARDUINO_ARDUINO_NANO33BLE)
101#define __STDC_FORMAT_MACROS
104#ifndef __timespec_defined
105#define __timespec_defined
106#ifndef _SYS__TIMESPEC_H_
107#define _SYS__TIMESPEC_H_
115#if !defined(LF_SINGLE_THREADED)
116#warning "Threaded support on Arduino is still experimental"
124#define PRINTF_TIME "%" PRIu32
125#define PRINTF_MICROSTEP "%" PRIu32
126#define PRINTF_TAG "(" PRINTF_TIME ", " PRINTF_MICROSTEP ")"
128#define LLONG_MAX __LONG_LONG_MAX__
129#define LLONG_MIN (-LLONG_MAX - 1LL)
130#define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
void * lf_cond_t
Definition lf_arduino_support.h:119
void * lf_thread_t
Definition lf_arduino_support.h:120
void * lf_mutex_t
Definition lf_arduino_support.h:118
Definition lf_arduino_support.h:108
long long tv_sec
Definition lf_arduino_support.h:109
long tv_nsec
Definition lf_arduino_support.h:110