Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Fastled on STM32 (Bluepill, Roger Clark build STM Implementarion) #883

Open
ahuxtable opened this issue Sep 5, 2019 · 2 comments

Comments

@ahuxtable
Copy link

commented Sep 5, 2019

I am trying to get this working for a few days now. I could not get it to work at all with the official STM release (does not recognize the STM environment, so tries to use avr/io.h and fails despite #define __STM32F1__).

Moved to Roger Clark version which allows me to get as far as the pin definition but it still fails:

FastLED/platforms/arm/stm32/fastpin_arm_stm32.h:52:86: error: incomplete type '__gen_struct_GPIOC' used in nested name specifier

I have looked over the code for the library but it's a bit much for me to understand why it might be failing.

I have specified the Pin number (3 in this case), or 'PC14', tried different pins on different ports etc but get the same error

Roger Clark STM32 Implementation on a STM32F103CT (BluePill), Arduino IDE 1.8.9, FastLed 3.3.2.

@Abhyudaya98

This comment has been minimized.

Copy link

commented Sep 6, 2019

I am having a simillar problem - not being able to get WS2812B to work with Blue Pill (stm32f103) on arduino IDE. I got them to work with my Arduino Mega flawlessly. I get a bunch of red errors in the IDE when i run the same code with the appropriate pin for the blue pill. There are many posts regarding this. I have tried a couple solutions. None have worked so far. If there is a known fix - please let me know.
Screen Shot 2019-09-06 at 1 31 47 PM

@Abhyudaya98

This comment has been minimized.

Copy link

commented Sep 6, 2019

Ok ... I found a quick fix for getting the blue pill to work with the fastLED library. I set the variant to be STM32F103CB (20k RAM, 128k flash) instead of (20k RAM, 64k flash) in the tools menu of the Arduino IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.