Open smaybs opened 1 year ago
i am using arduio ide 1.8.19 and have no issue getting the boards to work im only having the issue of no sound or mic input
As for the speaker and mic working ... I assume they were functioning pieces to begin with (could be tested) ... you might re-check your leads to make sure they are secure and to the correct wires (I've found that not every manufacturer follows a proper wire color use ... for example I've seen red wires get connected to green, etc.)
@smaybs Have you been able to figure this one out? I'm having a similar issue (noob here)
Ravioli ... I'm still working my way through things. You might want to consider using the legacy version as the instructions all support it. I am interested in comparing the two to learn.
@smaybs did using the legacy version of Arduino work for you?
For future reference, here are the steps to configure the Arduino IDE 2.0 on a Windows 11 system for use with Teensyduino boards:
If you haven't already, download and install the Arduino IDE 2.0.
To enable Teensyduino board support within the Arduino IDE 2.0, follow these instructions:
https://www.pjrc.com/teensy/package_teensy_index.json
.In the Arduino IDE, go to the "Tools" menu, select "Board," and then "Boards Manager." Search for "Teensy" and install Teensyduino to add support for Teensy boards in the IDE.
For certain functions, you may need to install the MTP_Teensy library. Here's how to do it:
C:\Users\<USER>\Documents\Arduino\libraries
.Configure the USB type for your Teensy board within the Arduino IDE. Select "Tools," then "USB Type," and choose "Serial + MTP Disk (Experimental)".
boards.local.txt
and platform.txt
FilesTo find these configuration files, follow the instructions in this answer from the Arduino team. Typically, these files are located in a directory similar to C:\Users\<USER>\AppData\Local\Arduino15\packages\teensy\hardware\avr\
, but the exact path may vary based on your setup.
boards.local.txt
and platform.txt
FilesRefer to README.md#installation-method for instructions on adding or modifying the boards.local.txt
and platform.txt
files. These changes are typically related to the build.flags.audio
setting.
+build.flags.audio=-DAUDIO_BLOCK_SAMPLES=128
-recipe.cpp.o.pattern="{compiler.path}{build.toolchain}{build.command.g++}" -c {build.flags.optimize} {build.flags.common} {build.flags.dep} {build.flags.cpp} {build.flags.cpu} {build.flags.defs} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DF_CPU={build.fcpu} -D{build.usbtype} -DLAYOUT_{build.keylayout} "-I{build.path}/pch" {includes} "{source_file}" -o "{object_file}"
+recipe.cpp.o.pattern="{compiler.path}{build.toolchain}{build.command.g++}" -c {build.flags.audio} {build.flags.optimize} {build.flags.common} {build.flags.dep} {build.flags.cpp} {build.flags.cpu} {build.flags.defs} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DF_CPU={build.fcpu} -D{build.usbtype} -DLAYOUT_{build.keylayout} "-I{build.path}/pch" {includes} "{source_file}" -o "{object_file}"
-recipe.c.o.pattern="{compiler.path}{build.toolchain}{build.command.gcc}" -c {build.flags.optimize} {build.flags.common} {build.flags.dep} {build.flags.c} {build.flags.cpu} {build.flags.defs} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DF_CPU={build.fcpu} -D{build.usbtype} -DLAYOUT_{build.keylayout} {includes} "{source_file}" -o "{object_file}"
+recipe.c.o.pattern="{compiler.path}{build.toolchain}{build.command.gcc}" -c {build.flags.audio} {build.flags.optimize} {build.flags.common} {build.flags.dep} {build.flags.c} {build.flags.cpu} {build.flags.defs} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DF_CPU={build.fcpu} -D{build.usbtype} -DLAYOUT_{build.keylayout} {includes} "{source_file}" -o "{object_file}"
-recipe.S.o.pattern="{compiler.path}{build.toolchain}{build.command.gcc}" -c {build.flags.optimize} {build.flags.common} {build.flags.dep} {build.flags.S} {build.flags.cpu} {build.flags.defs} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DF_CPU={build.fcpu} -D{build.usbtype} -DLAYOUT_{build.keylayout} {includes} "{source_file}" -o "{object_file}"
+recipe.S.o.pattern="{compiler.path}{build.toolchain}{build.command.gcc}" -c {build.flags.audio} {build.flags.optimize} {build.flags.common} {build.flags.dep} {build.flags.S} {build.flags.cpu} {build.flags.defs} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DF_CPU={build.fcpu} -D{build.usbtype} -DLAYOUT_{build.keylayout} {includes} "{source_file}" -o "{object_file}"
[!IMPORTANT]\ Upon restart, a known bug in Arduino IDE 2.0 may prevent it from recognizing changes in the
boards.txt
andboards.local.txt
files. If you encounter this issue, delete theC:\Users\<user name>\AppData\Roaming\arduino-ide\
folder for the "Audio Tweaks" to appear correctly.
Just getting familiar with the Arduino 2.0 release. It no longer uses the platform and boards text files and, as such, not clear how to incorporate the recommended configuration adds referenced in the documentation for the audio-guestbook.