ollovein45 Posted November 22, 2018 Report Posted November 22, 2018 Hi. I'm trying to use your library in my project. I have a Nucleo F401RE board and a display ILI9341 (SPI connection). After integrating the library into a project, I have many errors. And I, as a novice programmer, do not quite understand what they are connected with. The instructions downloaded that I have to read those impulses using these functions. But I have a mistake that I can no longer fix.
Joel Bodenmann Posted November 22, 2018 Report Posted November 22, 2018 The first error is because you enabled the GDISP module but you haven't added any GDISP driver. To get started simply disable the GDISP module (and any other module!) in the µGFX configuration file (gfxconf.h). The other errors are most likely indicating that you haven't enabled a GOS port. You need to specify the underlying system you're using in the configuration file.
ollovein45 Posted November 22, 2018 Author Report Posted November 22, 2018 (edited) Here is my configuration file. Thank you, did not expect such a quick response. I also connected the driver as indicated in the instructions. gfxconf.h Edited November 22, 2018 by ollovein45
Joel Bodenmann Posted November 22, 2018 Report Posted November 22, 2018 To get the system itself working it's strongly recommended to disable all modules (including the GDISP module). You have the RAW32 subsystem enabled. You might want to have a look at the corresponding documentation: https://wiki.ugfx.io/index.php/BareMetal
ollovein45 Posted November 22, 2018 Author Report Posted November 22, 2018 But if I disconnect GDISP module, I will have even more errors. And the error associated with clocking does not disappear. Maybe I'm not initializing it there? main.c
ollovein45 Posted November 22, 2018 Author Report Posted November 22, 2018 (edited) There is one more problem left. I do not remember why the compiler swears at this command. Edited November 22, 2018 by ollovein45
Joel Bodenmann Posted November 22, 2018 Report Posted November 22, 2018 The error is indicating that the compiler cannot find the GDISP driver's configuration file which is located in the driver's directory. I'm not an Eclipse expert but most likely you forgot to include the GDISP driver directory in your compiler/linker include path: https://wiki.ugfx.io/index.php/Using_Eclipse#Adding_driver_resources Maybe @cpu20 can help.
cpu20 Posted December 1, 2018 Report Posted December 1, 2018 In the last image you sent inidcates that you haven't correctly included the gdisp configuration file. Adding files to be included in the build is done in the Properties window of your project. Go to: C/C++ General > Paths and Symbols > Includes In that window you need to add all the folders that contain .h files that need to be included in your project for example the folder containing the "gdisp_lld_config.h". Sorry for my late reply. If you have any questions don't hesitate to ask.
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