#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically generated code
AudioInputUSBOct usb_oct1; //xy=189,160
AudioOutputTDM tdm1; //xy=508,157
AudioConnection patchCord1(usb_oct1, 0, tdm1, 0);
AudioConnection patchCord2(usb_oct1, 1, tdm1, 2);
AudioConnection patchCord3(usb_oct1, 2, tdm1, 4);
AudioConnection patchCord4(usb_oct1, 3, tdm1, 6);
AudioConnection patchCord5(usb_oct1, 4, tdm1, 8);
AudioConnection patchCord6(usb_oct1, 5, tdm1, 10);
AudioConnection patchCord7(usb_oct1, 6, tdm1, 12);
AudioConnection patchCord8(usb_oct1, 7, tdm1, 14);
AudioControlCS42448 cs42448_1; //xy=337,337
// GUItool: end automatically generated code
void setup() {
AudioMemory(50);
Serial.begin(9600);
if (cs42448_1.enable() && cs42448_1.volume(0.7)) {
Serial.println("configured CS42448");
}
else {
Serial.println("failed to config CS42448");
}
}
void loop() {
}
FQBN: teensy:avr:teensy40
Using board 'teensy40' from platform in folder: C:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0
Using core 'teensy4' from platform in folder: C:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0
Detecting libraries used...
C:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++17 -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=159 -DARDUINO=10607 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IC:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4 C:\Users\rich4\AppData\Local\Temp\arduino\sketches\E4155212CAB52734BBBD28C2961D381A\sketch\WaveformsTDM16_rich5.ino.cpp -o nul
exec: "C:\\Users\\rich4\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr/../tools/arm/bin/arm-none-eabi-g++": file does not exist
Compilation error: exec: "C:\\Users\\rich4\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr/../tools/arm/bin/arm-none-eabi-g++": file does not exist
Thank you @h4yn0nnym0u5e
I re-installed the arduino IDE and Teensyduino according to the link you provided.
I also turned on verbose compiler output.
Here is the error I continue to receive:
Code:FQBN: teensy:avr:teensy40 Using board 'teensy40' from platform in folder: C:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0 Using core 'teensy4' from platform in folder: C:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0 Detecting libraries used... C:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr/../tools/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++17 -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=159 -DARDUINO=10607 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IC:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4 C:\Users\rich4\AppData\Local\Temp\arduino\sketches\E4155212CAB52734BBBD28C2961D381A\sketch\WaveformsTDM16_rich5.ino.cpp -o nul exec: "C:\\Users\\rich4\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr/../tools/arm/bin/arm-none-eabi-g++": file does not exist Compilation error: exec: "C:\\Users\\rich4\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr/../tools/arm/bin/arm-none-eabi-g++": file does not exist
C:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\tools/arm/bin/arm-none-eabi-g++
exist? Clearly the IDE expects it to ... if it does then the IDE is being weird, if it doesn't then the installation has messed up somehow ... or based on what you've just posted, your implementation of alex6679's changes isn't right. But I don't see how that last happens, because you shouldn't be touching the compiler itself.I wasn't sure of the exact path it was looking for, with the mix of backslashes and slashes. But the path does not appear to exist.So the $64,000 question is ... doesC:\Users\rich4\AppData\Local\Arduino15\packages\teensy\hardware\tools/arm/bin/arm-none-eabi-g++
exist? Clearly the IDE expects it to ... if it does then the IDE is being weird, if it doesn't then the installation has messed up somehow ... or based on what you've just posted, your implementation of alex6679's changes isn't right. But I don't see how that last happens, because you shouldn't be touching the compiler itself.
arm-none-eabi-g++
?platform.txt
, which you'll have overwritten with the changedConfigfiles
one. The relevant part may be # Teensyduino Installer
compiler.path={runtime.hardware.path}/../tools/
teensytools.path={runtime.hardware.path}/../tools/
# Arduino Boards Manager
#compiler.path={runtime.tools.teensy-compile.path}/
#teensytools.path={runtime.tools.teensy-tools.path}/
Done it for you ... assuming you like the result, of course . The PR is here, for anyone wanting a sneak preview.@h4yn0nnym0u5e and @rtms: Thanks for finding out what the problem was. I added the info about the Arduino IDE version to the readme file for now. I think I will further extend the readme file next weekend since it's there is no information about how to use/integrate h4yn0nnym0u5e's contriburions yet.