leozhang Posted May 31, 2017 Report Share Posted May 31, 2017 I use keil MDK 5.23 to build the project and my board is STM32F429 DISC. I can build the demo successfully ,but when I try to make a "hello word " case ,I use uGFX-Studio to generate the code,and copy to my project,unfortunately I met the error "..\widgetstyles.h(30): error: #146: too many initializer values",why ?how can i work out? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted May 31, 2017 Report Share Posted May 31, 2017 What version of the µGFX library are you using? Make sure that you're using the latest master branch from the official repository. Also make sure that you're using the gfxconf.h contents that were generated by the studio. But keep in mind that the studio doesn't generate the GOS part of that configuration file so you'll have to add that yourself. Don't forget to make a clean build. Link to comment Share on other sites More sharing options...
leozhang Posted May 31, 2017 Author Report Share Posted May 31, 2017 57 minutes ago, Joel Bodenmann said: What version of the µGFX library are you using? Make sure that you're using the latest master branch from the official repository. Also make sure that you're using the gfxconf.h contents that were generated by the studio. But keep in mind that the studio doesn't generate the GOS part of that configuration file so you'll have to add that yourself. Don't forget to make a clean build. oh,I make the mistake that I use the old version.then I trying the latest library. thanks Joel Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted May 31, 2017 Report Share Posted May 31, 2017 You're welcome. Don't hesitate to ask if that didn't fix the problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now