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

Thread: It won't compile to a Teensy 3.5

  1. #1
    Junior Member
    Join Date
    Jun 2020
    Posts
    2

    It won't compile to a Teensy 3.5

    Error asks me to add the Teensy 3.5 to the Boards Library.
    My friend has been able to compile and run this sketch without issues.
    I've gone as far as loading everything onto a recently acquired and clean computer but I'm getting the same errors.
    I'm lost!!
    Please have a look.
    Thanks.
    Alex
    Arduino: 1.8.11 (Windows 8.1), TD: 1.52, Board: "Teensy 3.5, Serial + MIDI, 120 MHz, Faster, US English"

    In file included from C:\Program Files (x86)\Arduino\libraries\Adafruit_Circuit_Playgroun d/utility/CP_Firmata.h:17:0,

    from C:\Program Files (x86)\Arduino\libraries\Adafruit_Circuit_Playgroun d/Adafruit_Circuit_Playground.h:25,

    from C:\Program Files (x86)\Arduino\libraries\Adafruit_Circuit_Playgroun d/Adafruit_CircuitPlayground.h:3,

    from C:\Hurdy Gurdy\Digi Gurdy\Teensy\DGcodeV77newScreenNewSong\DGcodeV77ne wScreenNewSong.ino:1:

    C:\Program Files (x86)\Arduino\libraries\Adafruit_Circuit_Playgroun d/utility/CP_Boards.h:746:2: error: #error "Please edit CP_Boards.h with a hardware abstraction for this board"

    #error "Please edit CP_Boards.h with a hardware abstraction for this board"

    ^

    Multiple libraries were found for "Adafruit_GFX.h"
    Used: C:\Program
    Not used: C:\Users\Alex\Documents\Arduino\libraries\Adafruit _GFX_Library
    Error compiling for board Teensy 3.5.

    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  2. #2
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,452
    Which board did your friend compile the code for?
    CP_Boards.h doesn't appear to know about the Teensy 3.5. It only has Teensys up to T3.2.

    Pete

  3. #3
    Junior Member
    Join Date
    Jun 2020
    Posts
    2
    I watched him compile/ load to a Teensy 3.5.
    However, since posting my question, I have tried a slightly older sketch and it WORKS!
    Now to figure out where the difference (glitch) is.
    Sorry to not have tried this before (4 days ago when all this trouble began).
    This is my first Arduino project though I have actually built (very early) computers years ago.
    Thanks for your input, Pete.
    Alex

  4. #4
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,452
    There is an oddity in the output here:
    Code:
    Multiple libraries were found for "Adafruit_GFX.h"
    Used: C:\Program
    This implies that you have a copy of the file Adafruit_GFX.h in C:\Program instead of in your C:\Program Files (x86)\Arduino\libraries directory. Is it supposed to be in C:\Program ?

    Pete

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,709
    Why are you using CP_Firmata.h rather than regular Firmata.h ?

Posting Permissions

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