Quellcode durchsuchen

Include <Arduino.h> first, for precompile header rebuild all speedup

teensy4-core
PaulStoffregen vor 6 Jahren
Ursprung
Commit
abe5ca8072
18 geänderte Dateien mit 18 neuen und 25 gelöschten Zeilen
  1. +1
    -2
      teensy3/AudioStream.cpp
  2. +1
    -0
      teensy3/EventResponder.cpp
  3. +1
    -0
      teensy3/HardwareSerial1.cpp
  4. +1
    -0
      teensy3/HardwareSerial2.cpp
  5. +1
    -0
      teensy3/HardwareSerial3.cpp
  6. +1
    -0
      teensy3/HardwareSerial4.cpp
  7. +1
    -0
      teensy3/HardwareSerial5.cpp
  8. +1
    -0
      teensy3/HardwareSerial6.cpp
  9. +1
    -1
      teensy3/IPAddress.cpp
  10. +1
    -5
      teensy3/Print.cpp
  11. +1
    -2
      teensy3/Stream.cpp
  12. +1
    -4
      teensy3/Tone.cpp
  13. +1
    -1
      teensy3/WString.cpp
  14. +1
    -1
      teensy3/avr_emulation.cpp
  15. +1
    -1
      teensy3/main.cpp
  16. +1
    -3
      teensy3/usb_audio.cpp
  17. +1
    -1
      teensy3/usb_inst.cpp
  18. +1
    -4
      teensy3/yield.cpp

+ 1
- 2
teensy3/AudioStream.cpp Datei anzeigen

@@ -29,9 +29,8 @@
*/


#include <string.h> // for memcpy
#include "AudioStream.h"
#include <Arduino.h>
#include "AudioStream.h"

#if defined(__MKL26Z64__)
#define MAX_AUDIO_MEMORY 6144

+ 1
- 0
teensy3/EventResponder.cpp Datei anzeigen

@@ -31,6 +31,7 @@
* https://forum.pjrc.com/threads/44723-Arduino-Events
*/

#include <Arduino.h>
#include "EventResponder.h"

EventResponder * EventResponder::firstYield = nullptr;

+ 1
- 0
teensy3/HardwareSerial1.cpp Datei anzeigen

@@ -28,6 +28,7 @@
* SOFTWARE.
*/

#include <Arduino.h>
#include "HardwareSerial.h"

HardwareSerial Serial1;

+ 1
- 0
teensy3/HardwareSerial2.cpp Datei anzeigen

@@ -28,6 +28,7 @@
* SOFTWARE.
*/

#include <Arduino.h>
#include "HardwareSerial.h"

HardwareSerial2 Serial2;

+ 1
- 0
teensy3/HardwareSerial3.cpp Datei anzeigen

@@ -28,6 +28,7 @@
* SOFTWARE.
*/

#include <Arduino.h>
#include "HardwareSerial.h"

HardwareSerial3 Serial3;

+ 1
- 0
teensy3/HardwareSerial4.cpp Datei anzeigen

@@ -28,6 +28,7 @@
* SOFTWARE.
*/

#include <Arduino.h>
#include "HardwareSerial.h"

#ifdef HAS_KINETISK_UART3

+ 1
- 0
teensy3/HardwareSerial5.cpp Datei anzeigen

@@ -28,6 +28,7 @@
* SOFTWARE.
*/

#include <Arduino.h>
#include "HardwareSerial.h"

#ifdef HAS_KINETISK_UART4

+ 1
- 0
teensy3/HardwareSerial6.cpp Datei anzeigen

@@ -28,6 +28,7 @@
* SOFTWARE.
*/

#include <Arduino.h>
#include "HardwareSerial.h"

#if defined(HAS_KINETISK_UART5) || defined (HAS_KINETISK_LPUART0)

+ 1
- 1
teensy3/IPAddress.cpp Datei anzeigen

@@ -17,7 +17,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "Arduino.h"
#include <Arduino.h>
#include "IPAddress.h"

size_t IPAddress::printTo(Print& p) const

+ 1
- 5
teensy3/Print.cpp Datei anzeigen

@@ -34,11 +34,7 @@
// developed for Teensyduino have made their way back into
// 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)

+ 1
- 2
teensy3/Stream.cpp Datei anzeigen

@@ -20,8 +20,7 @@
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 NO_SKIP_CHAR 1 // a magic char not found in a valid ASCII numeric field

+ 1
- 4
teensy3/Tone.cpp Datei anzeigen

@@ -28,10 +28,7 @@
* 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
// libraries, rather than permanently hogging one PIT timer even for projects

+ 1
- 1
teensy3/WString.cpp Datei anzeigen

@@ -19,7 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "WString.h"
#include <Arduino.h>


/*********************************************/

+ 1
- 1
teensy3/avr_emulation.cpp Datei anzeigen

@@ -29,7 +29,7 @@
*/


#include "avr_emulation.h"
#include <Arduino.h>
#include "SPIFIFO.h"

uint8_t SPCRemulation::pinout = 0;

+ 1
- 1
teensy3/main.cpp Datei anzeigen

@@ -28,7 +28,7 @@
* SOFTWARE.
*/

#include "WProgram.h"
#include <Arduino.h>

extern "C" int main(void)
{

+ 1
- 3
teensy3/usb_audio.cpp Datei anzeigen

@@ -28,10 +28,8 @@
* SOFTWARE.
*/

#include <Arduino.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
#if F_CPU >= 20000000

+ 1
- 1
teensy3/usb_inst.cpp Datei anzeigen

@@ -28,7 +28,7 @@
* SOFTWARE.
*/

#include "WProgram.h"
#include <Arduino.h>
#include "usb_desc.h"

#if F_CPU >= 20000000

+ 1
- 4
teensy3/yield.cpp Datei anzeigen

@@ -28,10 +28,7 @@
* SOFTWARE.
*/

#include "core_pins.h"
#include "HardwareSerial.h"
#include "usb_serial.h"
#include "usb_seremu.h"
#include <Arduino.h>
#include "EventResponder.h"

void yield(void) __attribute__ ((weak));

Laden…
Abbrechen
Speichern