MCUdude / MegaCore

Arduino hardware package for ATmega64, ATmega128, ATmega165, ATmega169, ATmega325, ATmega329, ATmega640, ATmega645, ATmega649, ATmega1280, ATmega1281, ATmega2560, ATmega2561, ATmega3250, ATmega3290, ATmega6450, ATmega6490, AT90CAN32, AT90CAN64 and AT90CAN128
Other
384 stars 118 forks source link

why alomst libraries not work with megacore #163

Closed fadi0albaghdadi closed 3 years ago

fadi0albaghdadi commented 3 years ago

why almost libraries not work with megacore like library WS2812

MCUdude commented 3 years ago

Because many libraries aren't written to support "Non-Ardunio" hardware like the ATmega128. It's not something I can do much about, the library authors either have to adapt their libraries to work with MegaCore hardware, or they'll have to write architecture-neutral libraries.

The FastLED library That I've used to drive addressable LEDs like the WS2812B lacks hardware definitions for the ATmega128.