Teensyduino 1.25-beta 2 = compile error 'SerialFlash.h: No such file or directory'

Blitter

Member
Please excuse me if this is not the place to post bug reports, or if the format is not proper.

Arduino 1.6.5r5
Teensyduino 1.25-beta2

My program contains:
#include <Audio.h>

During compile, I get this error

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/Audio.h:90:0,
from TeensyTagger_AudioBoard.ino:11:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/play_serialflash_raw.h:32:25: fatal error: SerialFlash.h: No such file or directory
#include <SerialFlash.h>
^
compilation terminated.
Error compiling.


I have verified that there is no SerialFlash.h in the C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/ directory.

Am I missing Frank's library?
 
All sketches using Audio must also include Wire, SPI, SD and SerialFlash.

Open any of the examples, from File > Examples > Audio to see how it needs to be done.
 
Thanks Paul. I broke your rule for tech help, and didn't list ALL of the includes I was using:

#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <Audio.h>

Indeed, I was missing SerialFlash.h. I included it, and it compiles now.
In the future, I'll be sure to show ALL of my code. :)

Thanks for the help. I had already installed the W25Q128FSVIG on my audio board, and am now looking forward to playing files from flash!
 
Back
Top