Skip to content

Arduino Uno Q Error #4408

Closed
Closed

Description

@kitchenace13

Board / MCU

STM32 (Bluepill)

LED Chipset

WS2812B / NeoPixel

FastLED Version

3.10.5 (also 3.10.4 errors)

Arduino / PlatformIO version

Arduino IDE 2.3.10 CLI Version 1.5.1

Operating System

Windows

Description

Hi, per this Reddit thread, I was trying to get the FastLED.h library working on my Arduino Uno Q. When I use library version 3.10.3 it gives me a "This platform isn't recognized by FastLED... yet." so I made sure I'm using a newer version - 3.10.5. Using this version I'm getting a lot of different errors, see below under Output.

Steps to reproduce

Plug in Uno Q
Write basic code "#include <FastLED.h>" library (3.10.4 or 3.10.5)
Try to compile and load the code into the Uno Q
Errors result

Minimal sketch

#include <FastLED.h>

void setup() {
}

void loop() {
 
}

Serial / debug output

`In file included from C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/clockless_arm_stm32.h:21,
                 from C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/fastled_arm_stm32.h:9,
                 from C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms.h:36,
                 from C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/fl/system/fastled.h:82,
                 from C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/FastLED.h:159,
                 from C:\Users\Kitchenace\Documents\Arduino\Kirby\Kirby_0\Kirby_0.ino:1:
C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/cm3_regs.h:39:3: error: conflicting declaration 'typedef struct CoreDebug_Type CoreDebug_Type'
   39 | } CoreDebug_Type;
      |   ^~~~~~~~~~~~~~
In file included from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:235,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u5xx.h:114,
                 from C:/Users/Kitchenace/AppData/Local/Arduino15/packages/arduino/hardware/zephyr/1.0.0/variants/arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/soc/st/stm32/stm32u5x/soc.h:18,
                 from C:/Users/Kitchenace/AppData/Local/Arduino15/packages/arduino/hardware/zephyr/1.0.0/variants/arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/modules/cmsis_6/cmsis_core_m.h:24,
                 from C:/Users/Kitchenace/AppData/Local/Arduino15/packages/arduino/hardware/zephyr/1.0.0/variants/arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/modules/cmsis_6/cmsis_core.h:10,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline_gcc.h:24,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/arch/arm/asm_inline.h:18,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/arch/arm/arch.h:30,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/arch/cpu.h:19,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/kernel_includes.h:36,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/zephyr/include/zephyr/kernel.h:17,
                 from C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\cores\arduino/Arduino.h:15,
                 from C:\Users\Kitchenace\AppData\Local\arduino\sketches\324480B20221BC18B779DAB272FFF496\sketch\Kirby_0.ino.cpp:1:
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/cmsis_6/CMSIS/Core/Include/core_cm33.h:2119:3: note: previous declaration as 'typedef struct CoreDebug_Type CoreDebug_Type'
 2119 | } CoreDebug_Type;
      |   ^~~~~~~~~~~~~~
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:2243:47: error: expected ')' before '*' token
 2243 | #define COMP1_NS               ((COMP_TypeDef *) COMP1_BASE_NS)
      |                                 ~             ^
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:3323:40: note: in expansion of macro 'COMP1_NS'
 3323 | #define COMP1                          COMP1_NS
      |                                        ^~~~~~~~
C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/cm3_regs.h:61:18: note: in expansion of macro 'COMP1'
   61 |     __IO fl::u32 COMP1;                   /*!< Offset: 0x030 (R/W)  Comparator Register 1                     */
      |                  ^~~~~
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:2243:47: error: expected ')' before '*' token
 2243 | #define COMP1_NS               ((COMP_TypeDef *) COMP1_BASE_NS)
      |                                ~              ^
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:3323:40: note: in expansion of macro 'COMP1_NS'
 3323 | #define COMP1                          COMP1_NS
      |                                        ^~~~~~~~
C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/cm3_regs.h:61:18: note: in expansion of macro 'COMP1'
   61 |     __IO fl::u32 COMP1;                   /*!< Offset: 0x030 (R/W)  Comparator Register 1                     */
      |                  ^~~~~
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:2244:47: error: expected ')' before '*' token
 2244 | #define COMP2_NS               ((COMP_TypeDef *) COMP2_BASE_NS)
      |                                 ~             ^
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:3326:40: note: in expansion of macro 'COMP2_NS'
 3326 | #define COMP2                          COMP2_NS
      |                                        ^~~~~~~~
C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/cm3_regs.h:65:18: note: in expansion of macro 'COMP2'
   65 |     __IO fl::u32 COMP2;                   /*!< Offset: 0x040 (R/W)  Comparator Register 2                     */
      |                  ^~~~~
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:2244:47: error: expected ')' before '*' token
 2244 | #define COMP2_NS               ((COMP_TypeDef *) COMP2_BASE_NS)
      |                                ~              ^
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/stm32/stm32cube/stm32u5xx/soc/stm32u585xx.h:3326:40: note: in expansion of macro 'COMP2_NS'
 3326 | #define COMP2                          COMP2_NS
      |                                        ^~~~~~~~
C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/cm3_regs.h:65:18: note: in expansion of macro 'COMP2'
   65 |     __IO fl::u32 COMP2;                   /*!< Offset: 0x040 (R/W)  Comparator Register 2                     */
      |                  ^~~~~
C:\Users\Kitchenace\Documents\Arduino\libraries\FastLED\src/platforms/arm/stm32/cm3_regs.h:72:3: error: conflicting declaration 'typedef struct DWT_Type DWT_Type'
   72 | } DWT_Type;
      |   ^~~~~~~~
C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\variants\arduino_uno_q_stm32u585xx/llext-edk/include/modules/hal/cmsis_6/CMSIS/Core/Include/core_cm33.h:1162:3: note: previous declaration as 'typedef struct DWT_Type DWT_Type'
 1162 | } DWT_Type;
      |   ^~~~~~~~
Multiple libraries were found for "Arduino_RouterBridge.h"
  Used: C:\Users\Kitchenace\Documents\Arduino\libraries\Arduino_RouterBridge
  Not used: C:\Users\Kitchenace\AppData\Local\Arduino15\packages\arduino\hardware\zephyr\1.0.0\libraries\stubs
exit status 1

Compilation error: exit status 1`

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