Closed kesterlester closed 4 years ago
PS - I should add that I have no problem compiling and running things that are independent of Arduino_MP3 on the Teensy 3.6. E.g. blink compiles, uploads, and runs fine.
please try :) https://github.com/adafruit/Adafruit_MP3/pull/3
Thank you for the pointer. I will take a look and report back.
I am pleased to confirm that the changes proposed in https://github.com/adafruit/Adafruit_MP3/pull/3 do allow Adafruit_MP3 code (including the examples) to compile on the Teensy 3.6. On that basis I will close this issue in an hour or two if I hear no requests to the contrary. Thank you.
However, it's probably a good idea over on https://github.com/adafruit/Adafruit_MP3/pull/3 for me to ask there whether there is anything that I/we/others can do to help 'everyone' get this fix by default. It looks like the fix was proposed back in 2018 but hasn't been merged. Am not sure why. But this is not the thread in which to have that conversation.
On a fresh install of the Arduino 1.8.10 IDE, with a fresh download of Adafruit_MP3 version 1.0.4 installed via the Arduino IDE menu "tools"->"manage libraries"->"search for mp3"-> "select version 1.0.4 of this library"->"install" I am unable to compile an empty bare-bones sketch containing only the following:
I also cannot compile the play_from_SD example sketch bundled with the library. The compilation messages from trying to compile play_from_SD are pasted at the very foot of this message. The output from trying to compile the minimal sketch above is pasted immediately below this line of text:
Output from minimal sketch above:
NB Teensy support in the Arduino IDE was downloaded from here via this beta link.
Output for Play_from_SD: