Arduino IDE Teensy Serial.print not working in subroutine, but Okay at top level

Status
Not open for further replies.

pinaar

Member
I'm porting MicLoc from Teensy 3.1 to 4.0. This is a project from kripthor posted on his "rural hacker" blog.
I'm at a loss. I'm an EE with decades of software development experience, but not in this field, so please forgive my ignorance.
I get the first "Debug: Pre-highSpeed8bitADCSetup()" message only on the Adruino IDE Serial Monitor.
Here's the code,
Teensy40FastADC.h:
Code:
#define _teensy40adc_h_

//FAST 8 BIT SETUP AND READING FOR 2 ADCs
//THIS IS TEENSY VERSION 4.0 SPECIFIC

// Teensy 3.1 & 4.0 have the LED on pin 13
#define LEDPIN 13

#include <ADC.h>
#include "kinetis.h"

//defined as a macro its faster
#define highSpeed8bitAnalogReadMacro(channel1, channel2, value1, value2) ADC0_SC1A = channel1;ADC1_SC1A = channel2;while (!(ADC0_SC1A & ADC1_SC1A & ADC_SC1_COCO)) {} value1 = ADC0_RA;value2 = ADC1_RA;
#define highSpeed8bitAnalogReadMacro1(channel1, value1) ADC0_SC1A = channel1;while (!(ADC0_SC1A & ADC_SC1_COCO)) {} value1 = ADC0_RA;

/*
FUNCTION PSEUDOCODE FOR MACRO, of course we could not pass value1 and value2 like this to a function (should be pointers or return a struct)
int highSpeed8bitAnalogRead(uint8_t channel1, uint8_t channel2, int value1, int value2){
        ADC0_SC1A = channel1;
        ADC1_SC1A = channel2;
        while (!(ADC0_SC1A & ADC1_SC1A & ADC_SC1_COCO)) {}
  value1 = ADC0_RA;
  value2 = ADC1_RA;
}
*/

void highSpeed8bitADCSetup(){
  digitalWrite(LEDPIN,1);
  delay(2000);
  digitalWrite(LEDPIN,0);
  Serial.print("Debug: Entered highSpeed8bitADCSetup\n");

  /*
      0 ADLPC (Low-Power Configuration)
      0 ADIV (Clock Divide Select)
      0
      0 ADLSMP (Sample time configuration)
      0 MODE (Conversion mode selection) (00=8/9, 01=12/13, 10=10/11, 11=16/16 bit; diff=0/1)
      0
      0 ADICLK (Input Clock Select)
      0
  */
  ADC0_CFG1 = 0b00000000; ADC1_CFG1 = 0b00000000;
  digitalWrite(LEDPIN,1);
  delay(300);
  digitalWrite(LEDPIN,0);
  Serial.print("Debug: highSpeed8bitADCSetup: Line 47\n");

   /*
      0 MUXSEL (ADC Mux Select)
      0 ADACKEN (Asynchrononous Clock Output Enable)
      0 ADHSC (High-Speed Configuration)
      0 ADLSTS (Long Sample Time Select) (00=+20 cycles, 01=+12, 10=+6, 11=+2)
      0
  */
  ADC0_CFG2 = 0b00010100; ADC1_CFG2 = 0b00010100;

  /*
      0 ADTRG (Conversion Trigger Select)
      0 ACFE (Compare Function Enable)
      0 ACFGT (Compare Function Greater than Enable)
      0 ACREN (Compare Function Range Enable)
      0 ACREN (COmpare Function Range Enable)
      0 DMAEN (DMA Enable)
      0 REFSEL (Voltage Reference Selection) (00=default,01=alternate,10=reserved,11=reserved)
  */
  ADC0_SC2 = 0b00000000; ADC1_SC2 = 0b00000000;

  /*
      1 CAL (Calibration)
      0 CALF (read only)
      0 (Reserved)
      0
      0 ADCO (Continuous Conversion Enable)
      1 AVGS (Hardware Average Enable)
      1 AVGS (Hardware Average Select) (00=4 times, 01=8, 10=16, 11=32)
      1
  */

  ADC0_SC3 = 0b10000000; ADC1_SC3 = 0b10000000;

  // Waiting for calibration to finish. The documentation is confused as to what flag to be waiting for (SC3[CAL] on page 663 and SC1n[COCO] on page 687+688).
  while (ADC0_SC3 & ADC_SC3_CAL) {} ;
  while (ADC1_SC3 & ADC_SC3_CAL) {} ;
}

#endif
And TeensySimultaneousADC.ino:
Code:
//FOR 2 ADC
#include <ADC.h>
#include "Teensy40FastADC.h"

//FOR TEMPERATURE/HUMIDITY SENSOR
#include <dhtnew.h>
#define DHTTYPE 22   // 0= unknown, DHT 11 or 22  (AM2302), AM2321)
#define DHT22PIN 12
// static dht11 DHT11;  // 'dht11' does not name a type
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor
// Initialize DHT sensor.
// Note that older versions of this library took an optional third parameter to
// tweak the timings for faster processors.  This parameter is no longer needed
// as the current DHT reading algorithm adjusts itself to work on faster procs.
DHTNEW dht(DHT22PIN);

void setup() {
  dht.setType(DHTTYPE);
  pinMode(LEDPIN, OUTPUT);
  pinMode(A2, INPUT); 
  pinMode(A3, INPUT);
  pinMode(A4, INPUT);
  digitalWrite(LEDPIN,1);
  delay(300);
  digitalWrite(LEDPIN,0);
  Serial.begin(115200);
  Serial.print("Debug: Pre-highSpeed8bitADCSetup()\n");
  delay(2000);
  digitalWrite(LEDPIN,1);
  delay(300);
  digitalWrite(LEDPIN,0);
  highSpeed8bitADCSetup();
  Serial.print("Debug: highSpeed8bitADCSetup");

  //BLINK LED, WE ARE ALIVE
  digitalWrite(LEDPIN,1);
  delay(2000);
  digitalWrite(LEDPIN,0);
  Serial.println("Started...");
}


#define SAMPLES 2048
#define BUFFERSIZE 2048

const int channelA2 = ADC::channel2sc1aADC0[2];
const int channelA3 = ADC::channel2sc1aADC1[3];
const int channelA4 = ADC::channel2sc1aADC0[4];
  
byte THRESHOLD = 180;
byte value1;
byte value2;
byte value3;
byte buffer1[BUFFERSIZE];
byte buffer2[BUFFERSIZE];
byte buffer3[BUFFERSIZE];

int samples;
long startTime;
long stopTime;
long totalTime;
int event;

int i;
int k;

void loop() {
  //BLINK LED, WE ARE ALIVE
  digitalWrite(LEDPIN,1);
  delay(4000);
  digitalWrite(LEDPIN,0);
  Serial.println("Inside loop...");
  startTime = micros();
     //START SAMPLING
     //Strange init in this for, but the compiler seems to optimize this code better, so we get faster sampling
  for(i=0,k=0,samples=SAMPLES,event=0;i<samples;i++) {
    //TAKE THE READINGS
    highSpeed8bitAnalogReadMacro(channelA2,channelA3,value1,value2);
    //SHOULD ADJUST THIS 2nd READING. Single channel
    highSpeed8bitAnalogReadMacro1(channelA4,value3);

    buffer1[k] = value1;
    buffer2[k] = value2;
    buffer3[k] = value3;

    //CHECK FOR EVENTS
    if (value1 > THRESHOLD && !event) {
      event = k;
      //THERE IS AN EVENT, ARE WE REACHING THE END? IF SO TAKE MORE SAMPLES
      if (i > SAMPLES-1024) samples = SAMPLES+1024;
      //SHOULD AJUST TIME LOST IN THIS LOGIC TOO
    }

    if (++k == BUFFERSIZE) k = 0;
  }
  stopTime = micros();

  //WAS AN EVENT BEEN DETECTED?
  if (event != 0) {
    printInfo();
    printSamples();
  }

  //DID WE RECEIVE COMMANDS?
  if (Serial.available()) parseSerial();

}


void parseSerial() {
  char c = Serial.read();

  switch (c) {
  case 'p':
    printInfo();
    break;
  case 's':
    printSamples();
    break;
  case '+':
    THRESHOLD += 5;
    break;
  case '-':
    THRESHOLD -= 5;
    break;
  default:
    break;
  }
}


void printSamples() {

  Serial.print("BUFFSIZE: ");
  Serial.print(BUFFERSIZE,DEC);
  Serial.print(" Event: ");
  Serial.println(event);
  serialWrite(buffer1,BUFFERSIZE);
  serialWrite(buffer2,BUFFERSIZE);
  serialWrite(buffer3,BUFFERSIZE);
  Serial.flush();
}


//This should be optimized. Writing raw binary data seems to fail a lot of times
//and I ended up loosing bytes. Maybe some form of flow-control should be used.
void serialWrite(byte *buffer,int siz) {
  int kk;
  for (kk=0;kk<siz;kk++) {
    Serial.print(buffer[kk],HEX);
    Serial.print(" ");
  }
  Serial.println();
}

void printInfo() {
  totalTime = stopTime-startTime;
  double samplesPerSec = i*1000.0/totalTime;

  //Take a temperature/humidity reading
  //The DHT11 should be connected with a resistor for less errors in readings,
  // but works without it if you take some readings untils you got an ok one.
  while(dht.read() != DHTLIB_OK);

  Serial.print("T: ");
  Serial.print(totalTime);
  Serial.print(" Samples: ");
  Serial.print(i,DEC);
  Serial.print(" Samples/uSec: ");
  Serial.print(samplesPerSec,7);
  Serial.print(" Temp: ");
  Serial.print((float)dht.getTemperature(),2);
  Serial.print(" Hum: ");
  Serial.print((float)dht.getHumidity(),2);
  Serial.print(" Threshold: ");
  Serial.println(THRESHOLD,DEC);
  Serial.flush();
}

This is all under Ubuntu 20.04.2 LTS with Arduino IDE 1.8.13 and the Teensy Loader 1.53.
The workstation parameters are pretty much irrelevant, but for completeness, Intel® Core™ i7-5820K CPU @ 3.30GHz × 12, 16 GiB RAM, NVIDIA Corporation GK208B [GeForce GT 730], Gnome v 3.36.8, 64-bit OS.

I just want to know what's going on. I wasted three hours trying to find out why I kept getting this,
TeensySimultaneousADC.cpp:23:1: error: ‘dht’ does not name a type
dht.setType(22);​
Well, running it under Windows 10 Visual Studio 2017 confirmed there was nothing wrong with the C++ code!
I fixed it in the Arduino IDE by just moving dht.setType(22) into the setup() routine. Okay, that was a quite stupid mistake I'd made - I originally had the statement sitting in global space which doesn't really make sense (well it did at the time since I was thinking about timing flowing linearly forward, except it shouldn't in Global space).
 
Last edited by a moderator:
Sorry hope you don't mind I added the code tags (#) in the toolbar around the code. It helps to keep the code layout like the indentation.

So far I am seeing a header file and a sketch file, but the error message you are showing is from a .cpp file.
Code:
TeensySimultaneousADC.cpp:23:1:

Many times in conditions like this it would help if you maybe you pasted in the full compiler build... These days it shows you additional information, like which libraries are included, which maybe will give a hint on where the TeensySimultaneousADC.cpp file is, if it is not part of your actual sketch.
 
Thank you. I wanted to put the code tags but didn't know how to do that at the time, now I do. :->
Here's the log. It shows no errors, but only the top level LED on & off and the Serial.print() debug messages show up in the Arduino monitor. I set the port to /dev/ttyACM0 (Teensy) Dual Serial.
Here's the compiler output,
Code:
/media/data/arduino-1.8.13/arduino-builder -dump-prefs -logger=machine -hardware /media/data/arduino-1.8.13/hardware -hardware /home/pinaar/.arduino15/packages -hardware /home/pinaar/Arduino/hardware -tools /media/data/arduino-1.8.13/tools-builder -tools /media/data/arduino-1.8.13/hardware/tools/avr -tools /home/pinaar/.arduino15/packages -built-in-libraries /media/data/arduino-1.8.13/libraries -libraries /home/pinaar/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial2,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /tmp/arduino_build_569225 -warnings=all -build-cache /tmp/arduino_cache_584070 -verbose /home/pinaar/wss/teensy40micloc/TeensySimultaneousADC/TeensySimultaneousADC.ino
/media/data/arduino-1.8.13/arduino-builder -compile -logger=machine -hardware /media/data/arduino-1.8.13/hardware -hardware /home/pinaar/.arduino15/packages -hardware /home/pinaar/Arduino/hardware -tools /media/data/arduino-1.8.13/tools-builder -tools /media/data/arduino-1.8.13/hardware/tools/avr -tools /home/pinaar/.arduino15/packages -built-in-libraries /media/data/arduino-1.8.13/libraries -libraries /home/pinaar/Arduino/libraries -fqbn=teensy:avr:teensy40:usb=serial2,speed=150,opt=o2std,keys=en-us -ide-version=10813 -build-path /tmp/arduino_build_569225 -warnings=all -build-cache /tmp/arduino_cache_584070 -verbose /home/pinaar/wss/teensy40micloc/TeensySimultaneousADC/TeensySimultaneousADC.ino
Using board 'teensy40' from platform in folder: /media/data/arduino-1.8.13/hardware/teensy/avr
Using core 'teensy4' from platform in folder: /media/data/arduino-1.8.13/hardware/teensy/avr
Detecting libraries used...
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /tmp/arduino_build_569225/sketch/TeensySimultaneousADC.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for ADC.h: [ADC@8.0 ADC-master@9.1]
ResolveLibrary(ADC.h)
  -> candidates: [ADC@8.0 ADC-master@9.1]
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC /tmp/arduino_build_569225/sketch/TeensySimultaneousADC.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for dhtnew.h: [DHTNEW@0.4.6]
ResolveLibrary(dhtnew.h)
  -> candidates: [DHTNEW@0.4.6]
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /tmp/arduino_build_569225/sketch/TeensySimultaneousADC.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC/ADC.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC/ADC_Module.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC/AnalogBufferDMA.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /home/pinaar/Arduino/libraries/DHTNEW/dhtnew.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /tmp/arduino_build_569225/sketch/TeensySimultaneousADC.ino.cpp -o /tmp/arduino_build_569225/preproc/ctags_target_for_gcc_minus_e.cpp -DARDUINO_LIB_DISCOVERY_PHASE
/media/data/arduino-1.8.13/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_569225/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/media/data/arduino-1.8.13/hardware/teensy/../tools/precompile_helper /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /tmp/arduino_build_569225 /media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -x c++-header -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /tmp/arduino_build_569225/pch/Arduino.h -o /tmp/arduino_build_569225/pch/Arduino.h.gch
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /tmp/arduino_build_569225/sketch/TeensySimultaneousADC.ino.cpp -o /tmp/arduino_build_569225/sketch/TeensySimultaneousADC.ino.cpp.o
Compiling libraries...
Compiling library "ADC"
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC/AnalogBufferDMA.cpp -o /tmp/arduino_build_569225/libraries/ADC/AnalogBufferDMA.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC/ADC_Module.cpp -o /tmp/arduino_build_569225/libraries/ADC/ADC_Module.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC/ADC.cpp -o /tmp/arduino_build_569225/libraries/ADC/ADC.cpp.o
Compiling library "DHTNEW"
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 -I/media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC -I/home/pinaar/Arduino/libraries/DHTNEW /home/pinaar/Arduino/libraries/DHTNEW/dhtnew.cpp -o /tmp/arduino_build_569225/libraries/DHTNEW/dhtnew.cpp.o
Compiling core...
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -x assembler-with-cpp -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/memcpy-armv7m.S -o /tmp/arduino_build_569225/core/memcpy-armv7m.S.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -x assembler-with-cpp -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/memset.S -o /tmp/arduino_build_569225/core/memset.S.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/analog.c -o /tmp/arduino_build_569225/core/analog.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/nonstd.c -o /tmp/arduino_build_569225/core/nonstd.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/debugprintf.c -o /tmp/arduino_build_569225/core/debugprintf.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/digital.c -o /tmp/arduino_build_569225/core/digital.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/clockspeed.c -o /tmp/arduino_build_569225/core/clockspeed.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/eeprom.c -o /tmp/arduino_build_569225/core/eeprom.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/pwm.c -o /tmp/arduino_build_569225/core/pwm.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/bootdata.c -o /tmp/arduino_build_569225/core/bootdata.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/delay.c -o /tmp/arduino_build_569225/core/delay.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/rtc.c -o /tmp/arduino_build_569225/core/rtc.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/keylayouts.c -o /tmp/arduino_build_569225/core/keylayouts.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/interrupt.c -o /tmp/arduino_build_569225/core/interrupt.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/startup.c -o /tmp/arduino_build_569225/core/startup.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/tempmon.c -o /tmp/arduino_build_569225/core/tempmon.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb.c -o /tmp/arduino_build_569225/core/usb.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_desc.c -o /tmp/arduino_build_569225/core/usb_desc.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_joystick.c -o /tmp/arduino_build_569225/core/usb_joystick.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_keyboard.c -o /tmp/arduino_build_569225/core/usb_keyboard.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_midi.c -o /tmp/arduino_build_569225/core/usb_midi.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_mouse.c -o /tmp/arduino_build_569225/core/usb_mouse.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_rawhid.c -o /tmp/arduino_build_569225/core/usb_rawhid.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_seremu.c -o /tmp/arduino_build_569225/core/usb_seremu.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_serial.c -o /tmp/arduino_build_569225/core/usb_serial.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_serial2.c -o /tmp/arduino_build_569225/core/usb_serial2.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_serial3.c -o /tmp/arduino_build_569225/core/usb_serial3.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_touch.c -o /tmp/arduino_build_569225/core/usb_touch.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/AudioStream.cpp -o /tmp/arduino_build_569225/core/AudioStream.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial8.cpp -o /tmp/arduino_build_569225/core/HardwareSerial8.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial6.cpp -o /tmp/arduino_build_569225/core/HardwareSerial6.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial7.cpp -o /tmp/arduino_build_569225/core/HardwareSerial7.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial2.cpp -o /tmp/arduino_build_569225/core/HardwareSerial2.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial4.cpp -o /tmp/arduino_build_569225/core/HardwareSerial4.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial1.cpp -o /tmp/arduino_build_569225/core/HardwareSerial1.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/DMAChannel.cpp -o /tmp/arduino_build_569225/core/DMAChannel.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial5.cpp -o /tmp/arduino_build_569225/core/HardwareSerial5.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/EventResponder.cpp -o /tmp/arduino_build_569225/core/EventResponder.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial3.cpp -o /tmp/arduino_build_569225/core/HardwareSerial3.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/HardwareSerial.cpp -o /tmp/arduino_build_569225/core/HardwareSerial.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/IPAddress.cpp -o /tmp/arduino_build_569225/core/IPAddress.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/IntervalTimer.cpp -o /tmp/arduino_build_569225/core/IntervalTimer.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/Print.cpp -o /tmp/arduino_build_569225/core/Print.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/Stream.cpp -o /tmp/arduino_build_569225/core/Stream.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/Tone.cpp -o /tmp/arduino_build_569225/core/Tone.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/WMath.cpp -o /tmp/arduino_build_569225/core/WMath.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/WString.cpp -o /tmp/arduino_build_569225/core/WString.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/main.cpp -o /tmp/arduino_build_569225/core/main.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/new.cpp -o /tmp/arduino_build_569225/core/new.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent.cpp -o /tmp/arduino_build_569225/core/serialEvent.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent1.cpp -o /tmp/arduino_build_569225/core/serialEvent1.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent2.cpp -o /tmp/arduino_build_569225/core/serialEvent2.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent3.cpp -o /tmp/arduino_build_569225/core/serialEvent3.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent4.cpp -o /tmp/arduino_build_569225/core/serialEvent4.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent5.cpp -o /tmp/arduino_build_569225/core/serialEvent5.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent6.cpp -o /tmp/arduino_build_569225/core/serialEvent6.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent7.cpp -o /tmp/arduino_build_569225/core/serialEvent7.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEvent8.cpp -o /tmp/arduino_build_569225/core/serialEvent8.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_audio.cpp -o /tmp/arduino_build_569225/core/usb_audio.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEventUSB1.cpp -o /tmp/arduino_build_569225/core/serialEventUSB1.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/serialEventUSB2.cpp -o /tmp/arduino_build_569225/core/serialEventUSB2.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_flightsim.cpp -o /tmp/arduino_build_569225/core/usb_flightsim.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/usb_inst.cpp -o /tmp/arduino_build_569225/core/usb_inst.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY40 -DF_CPU=150000000 -DUSB_DUAL_SERIAL -DLAYOUT_US_ENGLISH -I/tmp/arduino_build_569225/pch -I/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4 /media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/yield.cpp -o /tmp/arduino_build_569225/core/yield.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/memcpy-armv7m.S.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/memset.S.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/analog.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/bootdata.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/clockspeed.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/debugprintf.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/delay.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/digital.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/eeprom.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/interrupt.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/keylayouts.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/nonstd.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/pwm.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/rtc.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/startup.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/tempmon.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_desc.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_joystick.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_keyboard.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_midi.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_mouse.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_rawhid.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_seremu.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_serial.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_serial2.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_serial3.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_touch.c.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/AudioStream.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/DMAChannel.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/EventResponder.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial1.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial2.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial3.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial4.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial5.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial6.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial7.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/HardwareSerial8.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/IPAddress.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/IntervalTimer.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/Print.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/Stream.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/Tone.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/WMath.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/WString.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/main.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/new.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent1.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent2.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent3.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent4.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent5.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent6.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent7.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEvent8.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEventUSB1.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/serialEventUSB2.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_audio.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_flightsim.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/usb_inst.cpp.o
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc-ar rcs /tmp/arduino_build_569225/core/core.a /tmp/arduino_build_569225/core/yield.cpp.o
Archiving built core (caching) in: /tmp/arduino_cache_584070/core/core_5be1ebac84e00ac1455abd880be0e1ed.a
Linking everything together...
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-gcc -O2 -Wl,--gc-sections,--relax -T/media/data/arduino-1.8.13/hardware/teensy/avr/cores/teensy4/imxrt1062.ld -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -o /tmp/arduino_build_569225/TeensySimultaneousADC.ino.elf /tmp/arduino_build_569225/sketch/TeensySimultaneousADC.ino.cpp.o /tmp/arduino_build_569225/libraries/ADC/ADC.cpp.o /tmp/arduino_build_569225/libraries/ADC/ADC_Module.cpp.o /tmp/arduino_build_569225/libraries/ADC/AnalogBufferDMA.cpp.o /tmp/arduino_build_569225/libraries/DHTNEW/dhtnew.cpp.o /tmp/arduino_build_569225/core/core.a -L/tmp/arduino_build_569225 -larm_cortexM7lfsp_math -lm -lstdc++
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino_build_569225/TeensySimultaneousADC.ino.elf /tmp/arduino_build_569225/TeensySimultaneousADC.ino.eep
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /tmp/arduino_build_569225/TeensySimultaneousADC.ino.elf /tmp/arduino_build_569225/TeensySimultaneousADC.ino.hex
/media/data/arduino-1.8.13/hardware/teensy/../tools/stdout_redirect /tmp/arduino_build_569225/TeensySimultaneousADC.ino.lst /media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-objdump -d -S -C /tmp/arduino_build_569225/TeensySimultaneousADC.ino.elf
/media/data/arduino-1.8.13/hardware/teensy/../tools/stdout_redirect /tmp/arduino_build_569225/TeensySimultaneousADC.ino.sym /media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-objdump -t -C /tmp/arduino_build_569225/TeensySimultaneousADC.ino.elf
/media/data/arduino-1.8.13/hardware/teensy/../tools/teensy_post_compile -file=TeensySimultaneousADC.ino -path=/tmp/arduino_build_569225 -tools=/media/data/arduino-1.8.13/hardware/teensy/../tools/ -board=TEENSY40
Opening Teensy Loader...
Multiple libraries were found for "ADC.h"
 Used: /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC
 Not used: /home/pinaar/Arduino/libraries/ADC-master
Using library ADC at version 8.0 in folder: /media/data/arduino-1.8.13/hardware/teensy/avr/libraries/ADC 
Using library DHTNEW at version 0.4.6 in folder: /home/pinaar/Arduino/libraries/DHTNEW 
/media/data/arduino-1.8.13/hardware/teensy/../tools/arm/bin/arm-none-eabi-size -A /tmp/arduino_build_569225/TeensySimultaneousADC.ino.elf
Sketch uses 18704 bytes (0%) of program storage space. Maximum is 2031616 bytes.
Global variables use 49980 bytes (9%) of dynamic memory, leaving 474308 bytes for local variables. Maximum is 524288 bytes.

And the Teensy Log,
Code:
09:45:30.657 (post_compile 1): Begin, version=1.53
09:45:30.744 (loader): Teensy Loader 1.53, begin program
09:45:30.755 (loader): Listening for remote control on port 3149
09:45:30.755 (loader): initialized, showing main window
09:45:30.767 (loader): remote connection 15 opened
09:45:30.767 (post_compile 1): Sending command: comment: Teensyduino 1.53 - LINUX64 (teensy_post_compile)
09:45:30.768 (loader): remote cmd from 15: "comment: Teensyduino 1.53 - LINUX64 (teensy_post_compile)"
09:45:30.768 (loader): remote cmd from 15: "status"
09:45:30.872 (post_compile 1): Status: 0, 0, 0, 0, 0, 0, /tmp/arduino_build_165553/, TeensySimultaneousADC.ino.hex
09:45:30.872 (post_compile 1): Sending command: dir:/tmp/arduino_build_569225/
09:45:30.875 (loader): remote cmd from 15: "dir:/tmp/arduino_build_569225/"
09:45:30.875 (post_compile 1): Sending command: file:TeensySimultaneousADC.ino.hex
09:45:30.876 (loader): remote cmd from 15: "file:TeensySimultaneousADC.ino.hex"
09:45:30.892 (loader): File "TeensySimultaneousADC.ino.hex". 18708 bytes, 1% used
09:45:30.897 (loader): remote cmd from 15: "status"
09:45:31.039 (post_compile 1): Status: 1, 0, 0, 0, 0, 0, /tmp/arduino_build_569225/, TeensySimultaneousADC.ino.hex
09:45:31.039 (post_compile 1): Sending command: auto:on
09:45:31.112 (loader): remote cmd from 15: "auto:on"
09:45:31.112 (post_compile 1): Disconnect
09:45:31.122 (loader): remote connection 15 closed
09:46:36.803 (loader): Verbose Info event
So, far, the Arduino Monitor is blank.
Once I press the Teensy Button, the status LED blinks as it uploads and programs the Teensy, then the LEDPIN blinks per the top level code, On 300mS, Off 2000mS, On 300mS, then stays Off since it never seems to come back from the highSpeed8bitADCSetup() function call. The Monitor also only displays,
Debug: Pre-highSpeed8bitADCSetup()
once and that's it.
Here's the Teensy Log after the 09:46:36.803 event above,
Code:
09:47:56.774 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/tty/ttyACM0
09:47:56.774 (ports 2):   devnode=/dev/ttyACM1, subsystem=tty, ifacenum=2
09:47:56.780 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/tty/ttyACM0
09:47:56.782 (loader): remote connection 15 opened
09:47:56.785 (ports 2): unknown action: unbind
09:47:56.785 (ports 2): unknown action: unbind
09:47:56.785 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/tty/ttyACM1
09:47:56.785 (ports 2):   devnode=/dev/bus/usb/003/007, subsystem=usb, ifacenum=-1
09:47:56.785 (ports 2): unknown action: unbind
09:47:56.785 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
09:47:56.785 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3
09:47:56.785 (ports 2): unknown action: unbind
09:47:56.785 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2
09:47:56.785 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1
09:47:56.785 (ports 2): unknown action: unbind
09:47:56.785 (ports 2): del device: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:56.785 (loader): remote connection 16 opened
09:47:56.791 (serialmon 3): unknown action: unbind
09:47:56.796 (serialmon 3): unknown action: unbind
09:47:56.801 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/tty/ttyACM1
09:47:56.801 (serialmon 3):   devnode=/dev/bus/usb/003/007, subsystem=usb, ifacenum=-1
09:47:56.806 (serialmon 3): unknown action: unbind
09:47:56.811 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
09:47:56.816 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3
09:47:56.821 (serialmon 3): unknown action: unbind
09:47:56.827 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2
09:47:56.832 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1
09:47:56.837 (serialmon 3): unknown action: unbind
09:47:56.842 (serialmon 3): Disconnected /dev/bus/usb/003/007
09:47:56.842 (serialmon 3): del device: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.471 (serialmon 3): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.471 (serialmon 3):   devnode=/dev/bus/usb/003/008, subsystem=usb, ifacenum=-1
09:47:57.471 (ports 2): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.471 (ports 2):   devnode=/dev/bus/usb/003/008, subsystem=usb, ifacenum=-1
09:47:57.471 (ports 2): usb_add: /dev/bus/usb/003/008 (Teensy 4.0) Bootloader
09:47:57.474 (serialmon 3): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
09:47:57.474 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.475 (ports 2): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
09:47:57.475 (ports 2):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.475 (ports 2): usb_add: /dev/bus/usb/003/008 (Teensy 4.0) Bootloader
09:47:57.477 (serialmon 3): add child:  subsys=hid, type=(null), location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004
09:47:57.477 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.477 (serialmon 3):   model=36 (Teensy 4.0)
09:47:57.477 (ports 2): add child:  subsys=hid, type=(null), location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004
09:47:57.477 (ports 2):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.477 (ports 2):   model=36 (Teensy 4.0)
09:47:57.477 (ports 2): usb_add: /dev/bus/usb/003/008 (Teensy 4.0) Bootloader
09:47:57.482 (serialmon 3): add child:  subsys=hidraw, type=(null), location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004/hidraw/hidraw3
09:47:57.482 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.482 (ports 2): add child:  subsys=hidraw, type=(null), location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004/hidraw/hidraw3
09:47:57.482 (ports 2):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:57.482 (ports 2): usb_add: /dev/bus/usb/003/008 (Teensy 4.0) Bootloader
09:47:57.483 (serialmon 3): unknown action: bind
09:47:57.483 (ports 2): unknown action: bind
09:47:57.485 (serialmon 3): unknown action: bind
09:47:57.485 (ports 2): unknown action: bind
09:47:57.488 (serialmon 3): unknown action: bind
09:47:57.488 (ports 2): unknown action: bind
09:47:57.782 (loader): Device came online, code_size = 2031616
09:47:57.782 (loader): Board is: Teensy 4.0 (IMXRT1062), version 1.05
09:47:57.784 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004/hidraw/hidraw3
09:47:57.785 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004/hidraw/hidraw3
09:47:57.787 (serialmon 3): unknown action: unbind
09:47:57.787 (ports 2): unknown action: unbind
09:47:57.789 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004
09:47:57.789 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:16C0:0478.0004
09:47:57.791 (loader): File "TeensySimultaneousADC.ino.hex". 18708 bytes, 1% used
09:47:57.792 (serialmon 3): unknown action: unbind
09:47:57.792 (ports 2): unknown action: unbind
09:47:57.795 (loader): set background IMG_ONLINE
09:47:57.807 (loader): File "TeensySimultaneousADC.ino.hex". 18708 bytes, 1% used
09:47:57.811 (loader): elf appears to be for Teensy 4.0 (IMXRT1062) (2031616 bytes)
09:47:57.811 (loader): elf binary data matches hex file
09:47:57.811 (loader): elf file is for Teensy 4.0 (IMXRT1062)
09:47:57.814 (loader): begin operation
09:47:57.821 (loader): flash, block=0, bs=1024, auto=1
09:47:57.821 (loader):  gauge old value = 0
09:47:57.840 (loader): flash, block=1, bs=1024, auto=1
09:47:57.974 (loader):  gauge old value = 1
09:47:58.000 (loader): flash, block=2, bs=1024, auto=1
09:47:58.000 (loader):  gauge old value = 2
09:47:58.001 (loader): flash, block=3, bs=1024, auto=1
09:47:58.002 (loader):  gauge old value = 3
09:47:58.003 (loader): flash, block=4, bs=1024, auto=1
09:47:58.003 (loader):  gauge old value = 4
09:47:58.004 (loader): flash, block=5, bs=1024, auto=1
09:47:58.004 (loader):  gauge old value = 5
09:47:58.006 (loader): flash, block=6, bs=1024, auto=1
09:47:58.006 (loader):  gauge old value = 6
09:47:58.007 (loader): flash, block=7, bs=1024, auto=1
09:47:58.008 (loader):  gauge old value = 7
09:47:58.009 (loader): flash, block=8, bs=1024, auto=1
09:47:58.009 (loader):  gauge old value = 8
09:47:58.010 (loader): flash, block=9, bs=1024, auto=1
09:47:58.011 (loader):  gauge old value = 9
09:47:58.012 (loader): flash, block=10, bs=1024, auto=1
09:47:58.012 (loader):  gauge old value = 10
09:47:58.014 (loader): flash, block=11, bs=1024, auto=1
09:47:58.014 (loader):  gauge old value = 11
09:47:58.016 (loader): flash, block=12, bs=1024, auto=1
09:47:58.016 (loader):  gauge old value = 12
09:47:58.018 (loader): flash, block=13, bs=1024, auto=1
09:47:58.018 (loader):  gauge old value = 13
09:47:58.020 (loader): flash, block=14, bs=1024, auto=1
09:47:58.021 (loader):  gauge old value = 14
09:47:58.023 (loader): flash, block=15, bs=1024, auto=1
09:47:58.023 (loader):  gauge old value = 15
09:47:58.024 (loader): flash, block=16, bs=1024, auto=1
09:47:58.025 (loader):  gauge old value = 16
09:47:58.026 (loader): flash, block=17, bs=1024, auto=1
09:47:58.026 (loader):  gauge old value = 17
09:47:58.027 (loader): flash, block=18, bs=1024, auto=1
09:47:58.028 (loader):  gauge old value = 18
09:47:58.031 (loader): sending reboot
09:47:58.031 (loader): begin wait_until_offline
09:47:58.036 (ports 2): unknown action: unbind
09:47:58.036 (serialmon 3): unknown action: unbind
09:47:58.038 (serialmon 3): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
09:47:58.038 (ports 2): del child: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
09:47:58.040 (serialmon 3): unknown action: unbind
09:47:58.040 (ports 2): unknown action: unbind
09:47:58.042 (ports 2): del device: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.043 (serialmon 3): del device: location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.081 (loader): HID/linux: something changed, try reading a descriptor
09:47:58.081 (loader): HID/linux: Device was just disconnected
09:47:58.081 (loader): offline, waited 1
09:47:58.081 (loader): end operation, total time = 0.267 seconds
09:47:58.082 (loader): set background IMG_REBOOT_OK
09:47:58.085 (loader): redraw timer set, image 14 to show for 1200 ms
09:47:58.568 (ports 2): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.568 (ports 2):   devnode=/dev/bus/usb/003/009, subsystem=usb, ifacenum=-1
09:47:58.568 (ports 2): usb_add: /dev/bus/usb/003/009 (Teensy 4.0) Dual Serial
09:47:58.568 (serialmon 3): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.568 (serialmon 3):   devnode=/dev/bus/usb/003/009, subsystem=usb, ifacenum=-1
09:47:58.572 (serialmon 3): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
09:47:58.572 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.572 (serialmon 3):   model=36 (Teensy 4.0)
09:47:58.572 (serialmon 3): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3
09:47:58.572 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.574 (serialmon 3): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2
09:47:58.574 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.575 (serialmon 3): unknown action: bind
09:47:58.575 (serialmon 3): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1
09:47:58.575 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.578 (serialmon 3): add child:  subsys=tty, type=(null), location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/tty/ttyACM0
09:47:58.578 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.578 (serialmon 3):   devnode=/dev/ttyACM0, subsystem=tty, ifacenum=0
09:47:58.578 (serialmon 3): open serial /dev/ttyACM0
09:47:58.578 (serialmon 3): unknown action: bind
09:47:58.580 (serialmon 3): add child:  subsys=tty, type=(null), location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/tty/ttyACM1
09:47:58.580 (serialmon 3):   parent location=/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1
09:47:58.580 (serialmon 3):   devnode=/dev/ttyACM1, subsystem=tty, ifacenum=2
09:47:59.336 (loader): redraw, image 9

Did the Teensy log stop after it was programmed? I don't see any information there that might help me debug what's going on.
I thought the subroutine might have gotten hung in the library, but I assumed it shouldn't because no code had been executed that could hang. However, since the,
dht.setType(DHTTYPE);
statement was causing the compiler to complain of "error: 'dht' does not name a type" when it was outside the setup() routine, I realized too much was going on here.
 
The Teensy log only shows stuff about about the log...

Note: Serial output at the start of a sketch can often be faster than the Serial system on a PC can be initialized... That is the USB is part of the Teensy processor and not something separate like on some Arduino like UNO.

So I typically setup my setup to wait for some time for the Serial to available.

Code:
void setup() {
  dht.setType(DHTTYPE);
  pinMode(LEDPIN, OUTPUT);
  pinMode(A2, INPUT); 
  pinMode(A3, INPUT);
  pinMode(A4, INPUT);
  digitalWrite(LEDPIN,1);
  delay(300);
  digitalWrite(LEDPIN,0);
  [COLOR="#FF0000"]while (!Serial && millis() < 5000) ;[/COLOR]
  Serial.begin(115200);
  Serial.print("Debug: Pre-highSpeed8bitADCSetup()\n");
  delay(2000);
  digitalWrite(LEDPIN,1);
  delay(300);
  digitalWrite(LEDPIN,0);
  highSpeed8bitADCSetup();
  Serial.print("Debug: highSpeed8bitADCSetup");
...
That will wait up to 5 seconds for the Serial connection to be made.

Sometimes if something really hard crashes the stuff in the output queue for Serial may not be sent...
So when I am not getting anything I will often add a Serial.flush(); call to force the data out.
Like:
Code:
Serial.print("Debug: Pre-highSpeed8bitADCSetup()\n"); Serial.flush();
And see if that shows up... I may move those flush() around depending if I suspect some place that is crashing...
 
Thx, KurtE! That worked! I now get the first message from the subroutine.
I noticed that when the code is first uploaded, I only noticed one short red light and one long one. I was expecting two short and one long which actually happens if I unplug the USB cable and plug it back in.
Now I see it crashes on,
ADC0_CFG1 = 0b00000000;
I put a print before and after and the first print executes, but no the second one.
I bought my Teensy 4.0 on Amazon for $24. Could it be defective?
I was also running the Teensy at 150 MHz, but switched it back to 600 MHz since that didn't seem to make any difference.
 
With a T4.1 if it is not liking your program and crashes...

One of the things to try then is to reset it to the default program. You can do that by holding in the program button for about 20+ seconds, until yo see the one LED blink, then release the button and it reprogram it to the original blink/Test program...

Then what I do is to startup Arduino IDE with simple program like blink and reprogram the teensy and see if that works.

Sorry I don't have time right now to go through your program, but if for example the ADC code was for a T3.x and you are trying to make it work on T4.x...
The underlying system ADC subsystems including registers are different.

You might want to take a look at the ADC library by Pedvide which also ships with the Teensyduino.

One thing that often gets you with the IMXRT is you have to tell the system to allow you to touch the registers of particular sub-systems.
I believe that the system code already does this in the startup sequence: calling analog_init,
which does enable those areas:
CCM_CCGR1 |= CCM_CCGR1_ADC1(CCM_CCGR_ON);
CCM_CCGR1 |= CCM_CCGR1_ADC2(CCM_CCGR_ON);

Again the reason I am assuming this is for example: T4.x does not have an ADC0 object
it has ADC1 and ADC2...

So again to avoid some of this compatibility issues you might look at the ADC library
 
Taking Paul's advice, I removed the teensy3 header file and used adc->adc0->analogRead(A2), adc->adc1->analogRead(A3), and adc->analogRead(A4) to read the three microphone channels v macros which read the registers.
I realize this will impact performance, but given that I had zero performance before, I'm much better off now!
The code compiles with no errors or warnings and I'm getting data back!
The pin 13 LED was blinking as data was displayed from the loop. It stopped after Event 259 but now I have actionable intelligence. :->
The mic data seems random, ranging from 0 - FF and the Temp & Hum are always zero so that's a good place to start. I'm using the DHT22 powered from the Teensy 4.0 3.3V pin. It's getting 3.290V and the output is 3.283V.
I'll post my findings in a few days since this is going to take some time to figure out what's going on while I research how this application should be working with my current configuration.
 
Fixed the DHT22 by replacing the DHTNEW library with DHT_sensor_library. I was getting zeros before and now I am getting reasonable T & H readings. There is a bouncing in temperature between 73.94 and 74.12. Since I didn't add a 10K pullup to the Out pin, I'm guessing that could mitigate the bounce, but it's not worth addressing because it's too small to matter for my application.
I'm going to stick a scope on the mic outputs to see what they're doing. I'll then analyze the digital stuff. (I have to trust the sensors before I consider the ADC output.)
 
Status
Not open for further replies.
Back
Top