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

Thread: Audio-Example WavFilePlayer for Teensy 3.6 not compiling

  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    6

    Audio-Example WavFilePlayer for Teensy 3.6 not compiling

    Hi,
    I tried to compile the example WavFilePlayer.ino 1:1 but it reports only errors:
    I use Arduino 1.8.9 and I have copied the last version into the folder Arduino/libraries/
    I tried the example from my local pc from example-folder and from the Github-Repo. Both did result in the same error:
    Days ago I already played around with the Audio-Library and was successful to compile other examples which use Output-I2S too.
    Perhaps Arduino did an update?

    /Arduino/libraries/Audio/output_i2s.cpp: In static member function 'static void AudioOutputI2S::isr()':
    /Arduino/libraries/Audio/output_i2s.cpp:152:58: error: 'arm_dcache_flush_delete' was not declared in this scope
    arm_dcache_flush_delete(dest, sizeof(i2s_tx_buffer) / 2 );
    ^
    Multiple libraries were found for "Audio.h"
    Used: /Documents/Arduino/libraries/Audio
    Not used: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/Audio
    Multiple libraries were found for "SD.h"
    Used: /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/libraries/SD
    Not used: /Applications/Arduino.app/Contents/Java/libraries/SD
    Error compiling for board Teensy 3.6.

    Any hint?

    Best Regards
    Erich

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,322
    Looks like you may have the latest audio lib from github, but not the latest core lib or new enough beta version of Teensyduino.

    Easiest answer is to install 1.47-beta6.

    https://forum.pjrc.com/threads/54711...l=1#post193715

  3. #3
    Junior Member
    Join Date
    Jan 2018
    Posts
    6
    Thx, that fixed it. After installing 1.47-beta6 it compiles well.

    Tank You very much!

    Best Regards
    Erich

Posting Permissions

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