Jump to content

compiler_gcc.mk error


Sillvers

Recommended Posts

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?

Link to comment
Share on other sites

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.mk

GFXINC += $(GFXLIB)/drivers/gdisp/STM32LTDC

GFXSRC += $(GFXLIB)/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c

Problem is that we don't have /drivers/gdisp/STM32LTDC location but only /gdisp/STM32LTDC.

There are a few more similar mistakes in this library.

Link to comment
Share on other sites

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_uGFX

Let us know when you have any other questions.

~ Tectu

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...