Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Removing audio tool references to <SD.h> and <SerialFlash.h>

  1. #1

    Removing audio tool references to <SD.h> and <SerialFlash.h>

    Right now SD.h and SerialFlash.h are always included in the generated audio code. I've modified the GUI javascript to include a "headers" field in the node definitions so that they are only included if one of the matching nodes exists. I'm not very familiar with the Audio library, is there any reason I'm unaware of that this would break things? (I know they are in some of the source files as well, that's the next step assuming this approach seems valid.)

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,238
    The plan for Teensyduino 1.53 is to add a File base class in the core library, update SD, SdFat, SerialFlash and others inherit from it and use virtual methods, and update the audio library and other things that use files to accept any File reference.

  3. #3
    Excellent. I'll keep an eye on the 1.53 thread and see if there's any way I can help out then.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •