Skip to content

3.10.4 and higher break on XIAO M0 (samd21) #5013

Closed

Description

@mhenman

Board / MCU

SAMD21

LED Chipset

WS2812B / NeoPixel

FastLED Version

3.10.4 - 3.10.9

Arduino / PlatformIO version

Arduino IDE v2.3.10

Operating System

macOS

Description

FastLED will not compile / link for the Seeeduino XIAO. The error returned is

ld: error:  .../platforms/esp/32/drivers/gpio_isr_rx/fast_isr.S.o: Conflicting CPU architectures 12/0
ld: failed to merge target specific data of file .../platforms/esp/32/drivers/gpio_isr_rx/fast_isr.S.o

Here is the full build output:

FQBN: Seeeduino:samd:seeed_XIAO_m0
Using board 'seeed_XIAO_m0' from platform in folder: /home/u/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.6
Using core 'arduino' from platform in folder: /home/u/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.6

Detecting libraries used...
Using cached library dependencies for file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/sketch/Xiao_saber.ino.cpp.merged
Alternatives for FastLED.h: [[email protected]]
ResolveLibrary(FastLED.h)
  -> candidates: [[email protected]]
Alternatives for FlashStorage_SAMD.h: [[email protected]]
ResolveLibrary(FlashStorage_SAMD.h)
  -> candidates: [[email protected]]
Alternatives for DFRobotDFPlayerMini.h: [[email protected]]
ResolveLibrary(DFRobotDFPlayerMini.h)
  -> candidates: [[email protected]]
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/extras+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.asset+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.audio+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.channels+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.chipsets+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.codec+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.control+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.fled+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.font+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.fs+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.fs.embedded+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.fs.sd+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.fx+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.gfx+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.log+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.math+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.net+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.net.ota+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.remote+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.sensors+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.stl+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.system+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.system.analog+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.system.sd+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.task+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.test+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.ui+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.video+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/fl.wdt+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/platforms+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/platforms.esp.32.net+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/platforms.esp.32.ota+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/platforms.esp.8266.ota+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/src.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/fl/build/third_party+.cpp
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/FastLED/src/platforms/esp/32/drivers/gpio_isr_rx/fast_isr.S
Using cached library dependencies for file: /home/u/Development/Arduino/libraries/DFRobotDFPlayerMini/DFRobotDFPlayerMini.cpp
Generating function prototypes...
Using cached sketch with function prototypes.
Compiling sketch...
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/sketch/Xiao_saber.ino.cpp.o
Compiling libraries...
Compiling library "FastLED"
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/extras+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fs+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.chipsets+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.font+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.asset+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fs.embedded+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.codec+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fled+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.channels+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.control+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.audio+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fs.sd+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.log+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.net+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.gfx+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.net.ota+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.system.sd+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.math+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.remote+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.stl+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.system.analog+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.sensors+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fx+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.test+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.system+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.task+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.wdt+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.ui+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms.esp.32.ota+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/platforms/esp/32/drivers/gpio_isr_rx/fast_isr.S.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.video+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms.esp.8266.ota+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms.esp.32.net+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/third_party+.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/src.cpp.o
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms+.cpp.o
Compiling library "FlashStorage_SAMD"
Compiling library "DFRobotDFPlayerMini"
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/DFRobotDFPlayerMini/DFRobotDFPlayerMini.cpp.o
Compiling core...
Using previously compiled file: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/core/variant.cpp.o
Using precompiled core: /home/u/Library/Caches/arduino/cores/Seeeduino_samd_seeed_XIAO_m0_dfdef2379a2f0c6e173b342a5ceb0941/core.a
Linking everything together...
/home/u/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -L/home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB -Os -Wl,--gc-sections -save-temps -T/home/u/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.6/variants/XIAO_m0/linker_scripts/gcc/flash_with_bootloader.ld -Wl,-Map,/home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/Xiao_saber.ino.map --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -u _printf_float -u _scanf_float -Wl,--wrap,_write -u __wrap__write -o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/Xiao_saber.ino.elf /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/sketch/Xiao_saber.ino.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/extras+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.asset+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.audio+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.channels+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.chipsets+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.codec+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.control+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fled+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.font+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fs+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fs.embedded+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fs.sd+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.fx+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.gfx+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.log+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.math+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.net+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.net.ota+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.remote+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.sensors+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.stl+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.system+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.system.analog+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.system.sd+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.task+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.test+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.ui+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.video+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/fl.wdt+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms.esp.32.net+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms.esp.32.ota+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/platforms.esp.8266.ota+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/src.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/fl/build/third_party+.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/platforms/esp/32/drivers/gpio_isr_rx/fast_isr.S.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/DFRobotDFPlayerMini/DFRobotDFPlayerMini.cpp.o /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/core/variant.cpp.o -Wl,--start-group -L/home/u/Library/Arduino15/packages/Seeeduino/tools/CMSIS/5.7.0/CMSIS/DSP/Lib/GCC/ -larm_cortexM0l_math -lm -L/home/u/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.6/variants/XIAO_m0 -lm /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/../../cores/Seeeduino_samd_seeed_XIAO_m0_dfdef2379a2f0c6e173b342a5ceb0941/core.a -Wl,--end-group
/home/u/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: error: /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/platforms/esp/32/drivers/gpio_isr_rx/fast_isr.S.o: Conflicting CPU architectures 12/0
/home/u/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/7-2017q4/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /home/u/Library/Caches/arduino/sketches/B45E87FDFED9E6550BAE8CB67D12F6EB/libraries/FastLED/platforms/esp/32/drivers/gpio_isr_rx/fast_isr.S.o
collect2: error: ld returned 1 exit status

Using library FastLED at version 3.10.9 in folder: /home/u/Development/Arduino/libraries/FastLED 
Using library FlashStorage_SAMD at version 1.3.2 in folder: /home/u/Development/Arduino/libraries/FlashStorage_SAMD 
Using library DFRobotDFPlayerMini at version 1.0.6 in folder: /home/u/Development/Arduino/libraries/DFRobotDFPlayerMini 

Used library        Version Path
FastLED             3.10.9  /home/u/Development/Arduino/libraries/FastLED
FlashStorage_SAMD   1.3.2   /home/u/Development/Arduino/libraries/FlashStorage_SAMD
DFRobotDFPlayerMini 1.0.6   /home/u/Development/Arduino/libraries/DFRobotDFPlayerMini

Used platform  Version Path
Seeeduino:samd 1.8.6   /home/u/Library/Arduino15/packages/Seeeduino/hardware/samd/1.8.6
Error during build: exit status 1

Steps to reproduce

  • Launch Arduino IDE
  • Install latest FastLED library
  • Install Seeed SAMD Boards by Seeed Studio
  • File --> Examples --> FastLED --> Blink
  • Click Verify
  • Observe error

Minimal sketch

/// @file    Blink.ino
/// @brief   Blink the first LED of an LED strip
/// @example Blink.ino

#include <Arduino.h>
#include <FastLED.h>

// How many leds in your strip?
#define NUM_LEDS 1

// For led chips like WS2812, which have a data line, ground, and power, you just
// need to define PIN_DATA.  For led chipsets that are SPI based (four wires - data, clock,
// ground, and power), like the LPD8806 define both PIN_DATA and CLOCK_PIN
// Clock pin only needed for SPI based chipsets when not using hardware SPI
#ifndef PIN_DATA
#define PIN_DATA FL_PIN_CLOCKLESS_1
#endif  // PIN_DATA

#define CLOCK_PIN 5

// Define the array of leds
CRGB leds[NUM_LEDS];

void setup() {
    // Uncomment/edit one of the following lines for your leds arrangement.
    // ## Clockless types ##
    FastLED.addLeds<NEOPIXEL, PIN_DATA>(leds, NUM_LEDS);  // GRB ordering is assumed

}

void loop() {
  // Turn the LED on, then pause
  for (int i = 0; i < NUM_LEDS; ++i) {
    leds[i] = CRGB::Red;
  }
  FastLED.show();
  delay(500);
  
  // Now turn the LED off, then pause
  for (int i = 0; i < NUM_LEDS; ++i) {
    leds[i] = CRGB::Black;
  }
  FastLED.show();
  delay(100);
}

Serial / debug output

Checklist

  • I have searched existing issues for duplicates
  • I have tested with the latest FastLED release or git master
  • I can reproduce this with a minimal sketch
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

    status: triagetype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions