FastLED / FastLED

The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github "issues" just for tracking library bugs / enhancements.
http://fastled.io
MIT License
6.37k stars 1.62k forks source link

3.2.8 breaks on Adafruit Trinket M0 (won't compile) #814

Closed balbinus closed 5 years ago

balbinus commented 5 years ago

Hello,

It appears that a very basic Arduino sketch (the "FirstLight" example, no modifications) won't compile for the Trinket M0 using version 3.2.8, but did compile on 3.2.6. Replicated in both the Arduino editor and its Library manager, and using strict version requirements on PlatformIO.

It may be related to commit 403464a499 / #751, as it's the most recent change to this file? From my (very basic) understanding of ARM ASM, it seems like it expects 8 bit values but gets fed larger integers, like 654. I'm not really sure of this analysis, just trying to help ;)

If you need any more information, please ask :)

/home/vincent/arduino-1.8.1/arduino-builder -dump-prefs -logger=machine -hardware /home/vincent/arduino-1.8.1/hardware -hardware /home/vincent/.arduino15/packages -hardware /home/vincent/sketchbook/hardware -tools /home/vincent/arduino-1.8.1/tools-builder -tools /home/vincent/arduino-1.8.1/hardware/tools/avr -tools /home/vincent/.arduino15/packages -built-in-libraries /home/vincent/arduino-1.8.1/libraries -libraries /home/vincent/sketchbook/libraries -fqbn=adafruit:samd:adafruit_trinket_m0 -vid-pid=0X239A_0X801E -ide-version=10801 -build-path /tmp/arduino_build_364769 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.openocd.path=/home/vincent/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.bossac.path=/home/vincent/.arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.CMSIS-Atmel.path=/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -verbose /home/vincent/sketchbook/libraries/arduino_153452/examples/FirstLight/FirstLight.ino
/home/vincent/arduino-1.8.1/arduino-builder -compile -logger=machine -hardware /home/vincent/arduino-1.8.1/hardware -hardware /home/vincent/.arduino15/packages -hardware /home/vincent/sketchbook/hardware -tools /home/vincent/arduino-1.8.1/tools-builder -tools /home/vincent/arduino-1.8.1/hardware/tools/avr -tools /home/vincent/.arduino15/packages -built-in-libraries /home/vincent/arduino-1.8.1/libraries -libraries /home/vincent/sketchbook/libraries -fqbn=adafruit:samd:adafruit_trinket_m0 -vid-pid=0X239A_0X801E -ide-version=10801 -build-path /tmp/arduino_build_364769 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.openocd.path=/home/vincent/.arduino15/packages/arduino/tools/openocd/0.9.0-arduino -prefs=runtime.tools.bossac.path=/home/vincent/.arduino15/packages/arduino/tools/bossac/1.8.0-48-gb176eee -prefs=runtime.tools.CMSIS-Atmel.path=/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -verbose /home/vincent/sketchbook/libraries/arduino_153452/examples/FirstLight/FirstLight.ino
Using board 'adafruit_trinket_m0' from platform in folder: /home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0
Using core 'arduino' from platform in folder: /home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0
Detecting libraries used...
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "/tmp/arduino_build_364769/sketch/FirstLight.ino.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/tmp/arduino_build_364769/sketch/FirstLight.ino.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/FastLED.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/bitswap.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/colorpalettes.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/colorutils.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/hsv2rgb.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/lib8tion.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/noise.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/platforms.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/power_mgt.cpp" -o "/dev/null"
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/home/vincent/sketchbook/libraries/arduino_153452/wiring.cpp" -o "/dev/null"
Generating function prototypes...
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/tmp/arduino_build_364769/sketch/FirstLight.ino.cpp" -o "/tmp/arduino_build_364769/preproc/ctags_target_for_gcc_minus_e.cpp"
"/home/vincent/arduino-1.8.1/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/arduino_build_364769/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/home/vincent/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -Wall -Wextra -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10801 -DARDUINO_TRINKET_M0 -DARDUINO_ARCH_SAMD  -DCRYSTALLESS -DADAFRUIT_TRINKET_M0 -D__SAMD21E18A__ -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0x801E -DUSBCON '-DUSB_MANUFACTURER="Adafruit"' '-DUSB_PRODUCT="Trinket M0"'  "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/" "-I/home/vincent/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/cores/arduino" "-I/home/vincent/.arduino15/packages/adafruit/hardware/samd/1.3.0/variants/trinket_m0" "-I/home/vincent/sketchbook/libraries/arduino_153452" "/tmp/arduino_build_364769/sketch/FirstLight.ino.cpp" -o "/tmp/arduino_build_364769/sketch/FirstLight.ino.cpp.o"
In file included from /home/vincent/sketchbook/libraries/arduino_153452/examples/FirstLight/FirstLight.ino:6:0:
/home/vincent/sketchbook/libraries/arduino_153452/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.008
 #    pragma message "FastLED version 3.002.008"
                     ^
In file included from /home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/clockless_arm_d21.h:4:0,
                 from /home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/fastled_arm_d21.h:5,
                 from /home/vincent/sketchbook/libraries/arduino_153452/platforms.h:27,
                 from /home/vincent/sketchbook/libraries/arduino_153452/FastLED.h:52,
                 from /home/vincent/sketchbook/libraries/arduino_153452/examples/FirstLight/FirstLight.ino:6:
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h: In function 'int showLedData(volatile uint32_t*, uint32_t, const uint8_t*, uint32_t, M0ClocklessData*) [with int HI_OFFSET = 8; int LO_OFFSET = 4; int T1 = 335; int T2 = 335; int T3 = 670; EOrder RGB_ORDER = (EOrder)10u; int WAIT_TIME = 50; uint32_t = long unsigned int; uint8_t = unsigned char]':
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:279:19: warning: asm operand 20 probably doesn't match constraints [enabled by default]
       M0_ASM_ARGS);
                   ^
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:279:19: warning: asm operand 21 probably doesn't match constraints [enabled by default]
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:279:19: warning: asm operand 22 probably doesn't match constraints [enabled by default]
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:314:8: warning: asm operand 20 probably doesn't match constraints [enabled by default]
       );
        ^
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:314:8: warning: asm operand 21 probably doesn't match constraints [enabled by default]
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:314:8: warning: asm operand 22 probably doesn't match constraints [enabled by default]
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:279:19: error: impossible constraint in 'asm'
       M0_ASM_ARGS);
                   ^
/home/vincent/sketchbook/libraries/arduino_153452/platforms/arm/d21/../common/m0clockless.h:314:8: error: impossible constraint in 'asm'
       );
        ^
Using library arduino_153452 at version 3.2.8 in folder: /home/vincent/sketchbook/libraries/arduino_153452 
exit status 1
Error compiling for board Adafruit Trinket M0.
focalintent commented 5 years ago

It turns out this was caused by #318 - which was generating impossibly high values for the number of clocks involved. I'm checking in a fix for that shortly and will spin 3.2.9 to take care of this.

balbinus commented 5 years ago

Awesome! Thank you very much :) :+1: