New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastLed library not compiling on the new Arduino Uno Wifi Rev. 2 #716

Open
PMPoulsen opened this Issue Jan 9, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@PMPoulsen
Copy link

PMPoulsen commented Jan 9, 2019

Hi,
I have used one of the examples from the library and tried to compile it to my new Arduino wifi rev. 2 board,but I get the following error message:


Arduino: 1.8.8 (Windows 10), Board: "Arduino Uno WiFi Rev2, ATMEGA328"

In file included from C:\Arduino Projects\libraries\FastLED\examples\ColorPalette\ColorPalette.ino:1:0:

C:\Arduino Projects\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.001

pragma message "FastLED version 3.002.001"

                 ^

In file included from C:\Arduino Projects\libraries\FastLED/FastLED.h:65:0,

             from C:\Arduino Projects\libraries\FastLED\examples\ColorPalette\ColorPalette.ino:1:

C:\Arduino Projects\libraries\FastLED/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output

pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"

                   ^

In file included from C:\Arduino Projects\libraries\FastLED/FastLED.h:48:0,

             from C:\Arduino Projects\libraries\FastLED\examples\ColorPalette\ColorPalette.ino:1:

C:\Arduino Projects\libraries\FastLED/fastpin.h: In instantiation of 'class FastPin<5u>':

C:\Arduino Projects\libraries\FastLED/platforms/avr/clockless_trinket.h:96:49: required from 'class ClocklessController<5u, 6, 8, 6, (EOrder)66u, 0, false, 10>'

C:\Arduino Projects\libraries\FastLED/chipsets.h:385:7: required from 'class WS2811Controller800Khz<5u, (EOrder)66u>'

C:\Arduino Projects\libraries\FastLED/FastLED.h:108:52: required from 'class WS2811<5u, (EOrder)66u>'

C:\Arduino Projects\libraries\FastLED/FastLED.h:295:39: required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2811; unsigned char DATA_PIN = 5u; EOrder RGB_ORDER = (EOrder)66u]'

C:\Arduino Projects\libraries\FastLED\examples\ColorPalette\ColorPalette.ino:40:67: required from here

C:\Arduino Projects\libraries\FastLED/fastpin.h:207:2: error: static assertion failed: Invalid pin specified

static_assert(validpin(), "Invalid pin specified");

^

exit status 1
Error compiling for board Arduino Uno WiFi Rev2.

I understand that the new Wifi Rev. 2 board uses a different chip hence the pinout may not have been defined in the library yet.

Are there any simple workarrounds for this issue?

@focalintent

This comment has been minimized.

Copy link
Member

focalintent commented Jan 9, 2019

Nothing simple, no - at the very least there need to be pin definitions setup in fastpin_avr.h - and that’s assuming there’s no major differences between the atmega4809 and the 32u4/328.

@PMPoulsen

This comment has been minimized.

Copy link

PMPoulsen commented Jan 9, 2019

OK, that is beyond my skills, so I am hoping for an update to the library soon.
Thanks

@scr34m88

This comment has been minimized.

Copy link

scr34m88 commented Jan 16, 2019

I've got the same problem. I hope you'll update the library soon.
Thanks

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