Hii, I have written a code for WS2811 string which complies for Atmega328p but

Hii,
I have written a code for WS2811 string which complies for Atmega328p but does not compile for Atmega328 and give the following error that i have mentioned bellow.I have no idea what this is for and there is no particular solution for this problem.
Thanks for your time

ERROR:
In file included from C:\Users\Gautam\Documents\Arduino\FillSolid\FillSolid.ino:3:0:

C:\Program Files (x86)\Arduino\libraries\FastLED-master/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.005

pragma message “FastLED version 3.001.005”

                 ^

In file included from C:\Program Files (x86)\Arduino\libraries\FastLED-master/FastLED.h:65:0,

             from C:\Users\Gautam\Documents\Arduino\FillSolid\FillSolid.ino:3:

C:\Program Files (x86)\Arduino\libraries\FastLED-master/fastspi.h:125:23: note: #pragma message: Forcing software SPI - no hardware SPI for you!

pragma message “Forcing software SPI - no hardware SPI for you!”

                   ^

In file included from C:\Program Files (x86)\Arduino\libraries\FastLED-master/FastLED.h:48:0,

             from C:\Users\Gautam\Documents\Arduino\FillSolid\FillSolid.ino:3:

C:\Program Files (x86)\Arduino\libraries\FastLED-master/fastpin.h: In instantiation of ‘class FastPin<3u>’:

C:\Program Files (x86)\Arduino\libraries\FastLED-master/platforms/avr/clockless_trinket.h:96:49: required from ‘class ClocklessController<3u, 3, 4, 3, (EOrder)10u, 0, false, 10>’

C:\Program Files (x86)\Arduino\libraries\FastLED-master/chipsets.h:385:7: required from ‘class WS2811Controller800Khz<3u, (EOrder)10u>’

C:\Program Files (x86)\Arduino\libraries\FastLED-master/FastLED.h:107:52: required from ‘class WS2811<3u, (EOrder)10u>’

C:\Program Files (x86)\Arduino\libraries\FastLED-master/FastLED.h:294:39: required from ‘static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2811; unsigned char DATA_PIN = 3u; EOrder RGB_ORDER = (EOrder)10u]’

C:\Users\Gautam\Documents\Arduino\FillSolid\FillSolid.ino:28:61: required from here

C:\Program Files (x86)\Arduino\libraries\FastLED-master/fastpin.h:206:2: error: static assertion failed: Invalid pin specified

static_assert(validpin(), “Invalid pin specified”);

^

exit status 1
Error compiling for board ATmega328/P/PB.

please post your code at http://gist.github.com and post a link here. We will need to see your code to help troubleshoot the issue. I use both atmega328 and atmega328p with the same code with no problems. The difference between the two versions is some power management details… http://gist.github.com

Try adding #define ARDUINO_AVR_UNO before #include <FastLED.h>
just a guess since no code is available. try it.

I have posted the link link below which is a simple " color palette " program with little changes, as i said earlier this works fine my arduino uno but when i tried to upload this code on Atmega328 (16MHz) it gives error that i have pasted previously .
when i compile this code for other boards such as nano or Duemilanove it compiles and does not give any error but doesn’t program atmega328 on breadboard giving error.