Sillvers Posted January 5, 2016 Report Posted January 5, 2016 Hi,I'm starting working with uGFX and at the start I have problem with compilation of stm32f746_discovery example project.GCC that I use is 4.9 2015q1 and I work on Windows 8.1 with EmBitz 0.42.In main project EmBlitz can't find file stm32f7xx_hal.h - how to set proper PATH for STM32F7xx_HAL_Drover in Em:Blitz?
Sillvers Posted January 5, 2016 Author Report Posted January 5, 2016 Ok. I have found the solution - the problem was in the structure of the ufgx folders.For example:in STM32LTDC folder we have file driver.mkGFXINC += $(GFXLIB)/drivers/gdisp/STM32LTDCGFXSRC += $(GFXLIB)/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.cProblem is that we don't have /drivers/gdisp/STM32LTDC location but only /gdisp/STM32LTDC.There are a few more similar mistakes in this library.
inmarket Posted January 5, 2016 Report Posted January 5, 2016 The code is actually correct. It sounds like you don't have the GFXLIB make variable defined properly.
Joel Bodenmann Posted January 5, 2016 Report Posted January 5, 2016 Hello Sillvers and welcome to the community!The file/folder structure and the Makefiles provided with the library are very well tested and known to work without any issues. As inmarket already mentioned you're most likely pointing the GFXLIB variable to the wrong place. This variable should point to the top-level directory of the unmodified uGFX library directory.You can find some additional information about this here: http://wiki.ugfx.org/index.php/Getting_ ... grate_uGFXLet us know when you have any other questions.~ Tectu
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