Skip to content

Teensy 3.1 support #13

Closed
Closed

Description

@focalintent

Update the library to support the teensy 3.1

Activity

  1. dnrce commented on Feb 3, 2014

    @dnrce
    Contributor

    👍

    Here's the error I receive when targeting the basic example from README.md against Teensy 3.1:

    Arduino: 1.0.5 (Linux), Board: "Teensy 3.1"
    ~/arduino-1.0.5/hardware/tools/arm-none-eabi/bin/arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mcpu=cortex-m4 -DF_CPU=48000000 -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -mthumb -nostdlib -D__MK20DX256__ -DTEENSYDUINO=117 -fno-rtti -felide-constructors -std=gnu++0x -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I~/arduino-1.0.5/hardware/teensy/cores/teensy3 -I~/sketchbook/libraries/FastLED /tmp/build1654818927933664078.tmp/sketch_feb03a.cpp -o /tmp/build1654818927933664078.tmp/sketch_feb03a.cpp.o 
    In file included from ~/sketchbook/libraries/FastLED/FastLED.h:5:0,
                     from sketch_feb03a.ino:1:
    ~/sketchbook/libraries/FastLED/fastpin.h:419:2: warning: #warning "No pin/port mappings found, pin access will be slightly slower.  See fastpin.h for info." [-Wcpp]
    In file included from ~/sketchbook/libraries/FastLED/FastLED.h:6:0,
                     from sketch_feb03a.ino:1:
    ~/sketchbook/libraries/FastLED/fastspi.h:78:2: warning: #warning "No hardware SPI pins defined.  All SPI access will default to bitbanged output" [-Wcpp]
    In file included from ~/sketchbook/libraries/FastLED/fastspi.h:6:0,
                     from ~/sketchbook/libraries/FastLED/FastLED.h:6,
                     from sketch_feb03a.ino:1:
    ~/sketchbook/libraries/FastLED/delay.h: In function 'void _delaycycles_AVR() [with int LOOP = 6; int PAD = 0]':
    ~/sketchbook/libraries/FastLED/delay.h:35:4: error: unknown register name 'r16' in 'asm'
    ~/sketchbook/libraries/FastLED/delay.h: In function 'void _delaycycles_AVR() [with int LOOP = 5; int PAD = 1]':
    ~/sketchbook/libraries/FastLED/delay.h:35:4: error: unknown register name 'r16' in 'asm'
    ~/sketchbook/libraries/FastLED/delay.h: In function 'void _delaycycles_AVR() [with int LOOP = 6; int PAD = 1]':
    ~/sketchbook/libraries/FastLED/delay.h:35:4: error: unknown register name 'r16' in 'asm'
    ~/sketchbook/libraries/FastLED/delay.h: In function 'void _delaycycles_AVR() [with int LOOP = 4; int PAD = 2]':
    ~/sketchbook/libraries/FastLED/delay.h:35:4: error: unknown register name 'r16' in 'asm'
    
  2. focalintent commented on Feb 3, 2014

    @focalintent
    ContributorAuthor

    Right - the main release doesn't support teensy 3.1, this is already known. The 2.1 branch compiles for the teensy 3.1 but hasn't been tested yet.

  3. dnrce commented on Feb 3, 2014

    @dnrce
    Contributor

    Cool. I'm just getting into FastLED for the first time, so when I found this issue I didn't realize you were the primary developer using it to record a known to-do. Thanks for the great work! I'll experiment with 2.1 and report back via Google+.

  4. focalintent commented on Feb 20, 2014

    @focalintent
    ContributorAuthor

    I believe this is now fully in place with the 2.1 branch (finally got the clock-line-less chipsets (WS2811, neopixel, TM1809) working on the teensy 3.1.

  5. dnrce commented on Feb 20, 2014

    @dnrce
    Contributor

    I only have WS2801 to test with but everything has been working well since first trying with aace2bd. Thanks!

  6. focalintent commented on Feb 20, 2014

    @focalintent
    ContributorAuthor

    Yes, however up until today people who were using chipsets like the ads fruit neopixels we're not working.

  7. Evanfeenstra commented on Apr 5, 2014

    @Evanfeenstra

    The newest update to fastLED 2.1 makes it work perfectly with my teensy 3.1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions