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
It looks like FastLED isn't compatible with STM32F103C microcontroller #531
Comments
You should use in your code |
I tried that and now FastLED is searching for application.h which isn't included anywhere I've seen |
I was able to get my Blue Pill (Generic STM32F103C Series) working with FastLED by following the instructions in this comment by @evq #142 (comment) The main point for me was to manually merge in https://github.com/evq/FastLED/tree/stm32f103 I also did the code change to reduce the sketch size dramatically: |
Any interest in trying to get a pull request open? If not I might fork and try to get the ball rolling |
@ajkeeton Last time I offered to PR it didn't seem like there was interest. Maybe that's changed now that there's a larger community around the Blue Pill? Please feel free to fork and attempt a PR, I'd love to see it merged and maintained! I would suggest cherry-picking the following commit, there's a missing pin definition. There's also this branch https://github.com/treeoftenere/FastLED/commits/tenere with parallel output. <3 @shlomozippel |
👍 I'm using @evq 's branch with PlatformIO and a maple mini clone: https://github.com/eosrei/FastLED-STM32/commits/stm32f103 |
Why is this issue closed ?
with blue pill & FastLED 3.2.6 |
avr/io.h: No such file or directory |
You need to pick the proper board. It's probably Generic Black Pill STM32F103 or some such. Make sure you pull the newest FastLED because they included a lot of new stuff in a new release a few days ago. |
Happily, I just updated to 3.4.0 :)
In led_sysdefs.h I see
Yet I cannot compile with CoreSTM32's "Generic 32F103C6" "BluePill F103C8" or "BlackPill F103C8" The Chrismas grinch must have done that :( |
@focalintent - please reopen this issue. |
Sadly, he will not be reopening any more issues :( As a bandaid - try adding |
Would it be useful to open a fresh issue for this? Or should we continue it here? |
The bluepills I use have this define: build.product_line=STM32F103xB this gave me another error: so I changed in that file:
which only gave me this horror-show-error after initially promising almost-compilation: |
It's weird because I can see
#elif defined(STM32F10X_MD)
in platform.h, but still getting:
fatal error: avr/io.h: No such file or directory
The text was updated successfully, but these errors were encountered: