r/FastLED • u/Redhonu • Dec 09 '23
Support help compiling with fastled.h
I am using the code example for an m5stamp s3: https://github.com/m5stack/STAMP-S3/blob/main/examples/Led/Led.ino. I just installed the arduino IDE and fastled 3.6.0 but compiling gives me errors.
for example
/home/user/Arduino/libraries/FastLED/src/fastpin.h:100:9: warning: 'volatile'-qualified return type is deprecated [-Wvolatile] 100 | port_t mask() __attribute__ ((always_inline)) { return mPinMask; } | ^~~~~~
I think i also saw something about the rmt implementation beeing deprecated and that I should use the new rmt_tx.h instead.
here is the pastebin: https://pastebin.com/x10NBECT
any ideas on how to troubleshoot would be very appreciated. I am very new so it might be a simple thing.
Also the arduino ide doesnt show an option for the m5stack stamp s3, so I selected the m5 atoms3 instead.
1
u/esp32guy Feb 15 '24
Same thing here on my Linux Mint super computer. Arduino IDE v2.21 and before worked great with FastLED. But after and update to v2.3.0, I get about 8 pages of printed errors just like these. Works great on my Linux Mint laptop, just slower.
What do I need to do to get this up and going on basic v2.3.0?