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

STM32F4 Discovery #726

Open
zytra opened this Issue Jan 27, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@zytra
Copy link

zytra commented Jan 27, 2019

hi guys

I'm getting an AVR/io.h error when compiling and it looks like my board may not be compatible.
Although I'm not sure as I found some old forum posts saying it was resolved but they didn't give a clear fix.

I have tried the latest release as well as a custom/modified 3.0.3 that according to forums worked with the STM32 but it didn't work for me..

any pointer would be appreciated, thanks.

In file included from C:\Users\steph\Documents\Arduino\libraries\FastLED/led_sysdefs.h:32:0,

             from C:\Users\steph\Documents\Arduino\libraries\FastLED/FastLED.h:41,

             from C:\Users\steph\Documents\Arduino\test.ino:3:

C:\Users\steph\Documents\Arduino\libraries\FastLED/platforms/avr/led_sysdefs_avr.h:12:20: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

                ^

compilation terminated.

exit status 1
Error compiling for board STM32 Discovery F407.

@focalintent

This comment has been minimized.

Copy link
Member

focalintent commented Jan 27, 2019

The current STM32 code is for the STMF1 - it doesn’t look like I don’t have any STM32F4 definitions - I’ll have to add it as a platform to support in the future.

(When it doesn’t find a platform definition, FastLED defaults to the avr platform)

@zytra

This comment has been minimized.

Copy link
Author

zytra commented Jan 27, 2019

Thanks for the quick and helpful response! How likely is it that it could get supported in the coming 2-3 weeks? I'm early enough on this project that switching to the Due is still an option, but if the STM32F4 Discovery could get implemented quickly then I would rather wait and not start over.

Thanks again

@focalintent

This comment has been minimized.

Copy link
Member

focalintent commented Jan 27, 2019

Probably not that quickly

@zytra

This comment has been minimized.

Copy link
Author

zytra commented Jan 27, 2019

Got it, thanks Daniel!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment