*/ | */ | ||||
#include <string.h> // for memcpy | |||||
#include "AudioStream.h" | |||||
#include <Arduino.h> | #include <Arduino.h> | ||||
#include "AudioStream.h" | |||||
#if defined(__MKL26Z64__) | #if defined(__MKL26Z64__) | ||||
#define MAX_AUDIO_MEMORY 6144 | #define MAX_AUDIO_MEMORY 6144 |
* https://forum.pjrc.com/threads/44723-Arduino-Events | * https://forum.pjrc.com/threads/44723-Arduino-Events | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "EventResponder.h" | #include "EventResponder.h" | ||||
EventResponder * EventResponder::firstYield = nullptr; | EventResponder * EventResponder::firstYield = nullptr; |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "HardwareSerial.h" | #include "HardwareSerial.h" | ||||
HardwareSerial Serial1; | HardwareSerial Serial1; |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "HardwareSerial.h" | #include "HardwareSerial.h" | ||||
HardwareSerial2 Serial2; | HardwareSerial2 Serial2; |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "HardwareSerial.h" | #include "HardwareSerial.h" | ||||
HardwareSerial3 Serial3; | HardwareSerial3 Serial3; |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "HardwareSerial.h" | #include "HardwareSerial.h" | ||||
#ifdef HAS_KINETISK_UART3 | #ifdef HAS_KINETISK_UART3 |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "HardwareSerial.h" | #include "HardwareSerial.h" | ||||
#ifdef HAS_KINETISK_UART4 | #ifdef HAS_KINETISK_UART4 |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "HardwareSerial.h" | #include "HardwareSerial.h" | ||||
#if defined(HAS_KINETISK_UART5) || defined (HAS_KINETISK_LPUART0) | #if defined(HAS_KINETISK_UART5) || defined (HAS_KINETISK_LPUART0) |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||||
*/ | */ | ||||
#include "Arduino.h" | |||||
#include <Arduino.h> | |||||
#include "IPAddress.h" | #include "IPAddress.h" | ||||
size_t IPAddress::printTo(Print& p) const | size_t IPAddress::printTo(Print& p) const |
// developed for Teensyduino have made their way back into | // developed for Teensyduino have made their way back into | ||||
// Arduino's code base. :-) | // Arduino's code base. :-) | ||||
#include <inttypes.h> | |||||
#include <math.h> | |||||
#include "Print.h" | |||||
#include <Arduino.h> | |||||
size_t Print::write(const uint8_t *buffer, size_t size) | size_t Print::write(const uint8_t *buffer, size_t size) |
parsing functions based on TextFinder library by Michael Margolis | parsing functions based on TextFinder library by Michael Margolis | ||||
*/ | */ | ||||
#include "Arduino.h" | |||||
#include "Stream.h" | |||||
#include <Arduino.h> | |||||
#define PARSE_TIMEOUT 1000 // default number of milli-seconds to wait | #define PARSE_TIMEOUT 1000 // default number of milli-seconds to wait | ||||
#define NO_SKIP_CHAR 1 // a magic char not found in a valid ASCII numeric field | #define NO_SKIP_CHAR 1 // a magic char not found in a valid ASCII numeric field |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include "core_pins.h" | |||||
#include "pins_arduino.h" | |||||
#include "HardwareSerial.h" | |||||
#include "IntervalTimer.h" | |||||
#include <Arduino.h> | |||||
// IntervalTimer based tone. This allows tone() to share the timers with other | // IntervalTimer based tone. This allows tone() to share the timers with other | ||||
// libraries, rather than permanently hogging one PIT timer even for projects | // libraries, rather than permanently hogging one PIT timer even for projects |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||||
*/ | */ | ||||
#include "WString.h" | |||||
#include <Arduino.h> | |||||
/*********************************************/ | /*********************************************/ |
*/ | */ | ||||
#include "avr_emulation.h" | |||||
#include <Arduino.h> | |||||
#include "SPIFIFO.h" | #include "SPIFIFO.h" | ||||
uint8_t SPCRemulation::pinout = 0; | uint8_t SPCRemulation::pinout = 0; |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include "WProgram.h" | |||||
#include <Arduino.h> | |||||
extern "C" int main(void) | extern "C" int main(void) | ||||
{ | { |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include <Arduino.h> | |||||
#include "usb_dev.h" | #include "usb_dev.h" | ||||
#include "usb_audio.h" | |||||
#include "HardwareSerial.h" | |||||
#include <string.h> // for memcpy() | |||||
#ifdef AUDIO_INTERFACE // defined by usb_dev.h -> usb_desc.h | #ifdef AUDIO_INTERFACE // defined by usb_dev.h -> usb_desc.h | ||||
#if F_CPU >= 20000000 | #if F_CPU >= 20000000 |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include "WProgram.h" | |||||
#include <Arduino.h> | |||||
#include "usb_desc.h" | #include "usb_desc.h" | ||||
#if F_CPU >= 20000000 | #if F_CPU >= 20000000 |
* SOFTWARE. | * SOFTWARE. | ||||
*/ | */ | ||||
#include "core_pins.h" | |||||
#include "HardwareSerial.h" | |||||
#include "usb_serial.h" | |||||
#include "usb_seremu.h" | |||||
#include <Arduino.h> | |||||
#include "EventResponder.h" | #include "EventResponder.h" | ||||
void yield(void) __attribute__ ((weak)); | void yield(void) __attribute__ ((weak)); |