Jump to content

Stewels

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Hi Joel Thanks for the response, but I already tried that and got exactly the same result! Just out of interest, the lines of code above I got from the makefile at \ugfx\boards\base\STM32F746-Discovery\example_chibios3. But just to be 100% sure, I again followed the guide you linked to the letter and attached is the resulting Makefile and gfxconf.h files. The first error output that I get is still: In file included from ../../lib_ext/ugfx/src/../src/gos/gos.h:462:0, from ../../lib_ext/ugfx/src/../gfx.h:206, from ../../lib_ext/ugfx/src/gfx.c:16: ../../lib_ext/ugfx/src/../src/gos/gos_chibios.h:117:17: error: unknown type name 'gfxSem' void gfxSemInit(gfxSem *psem, semcount_t val, semcount_t limit); ^~~~~~ So exactly the same problem. Any ideas please? Thanks Adriaan Makefile-stm32f746_discovery gfxconf.h
  2. Hi I've been trying unsuccesfully for two days to compile uGFX and ChibiOS together using the latest versions from the git repos. It seems like a simple problem: the compiler reports that the gfxsem and bool_t types are not defined. But they are clearly defined in gos.h and I have not been able to find it the cause of the errors... Any help would be greatly appreciated. There are several errors all related to the undefined types, here is the first one shown in the console output: Compiling gfx.c In file included from ../../lib_ext/ugfx/src/../src/gos/gos.h:462:0, from ../../lib_ext/ugfx/src/../gfx.h:206, from ../../lib_ext/ugfx/src/gfx.c:16: ../../lib_ext/ugfx/src/../src/gos/gos_chibios.h:117:17: error: unknown type name 'gfxSem' void gfxSemInit(gfxSem *psem, semcount_t val, semcount_t limit); I'm using the latest version of ChibiStudio, and the trunks from both ChibiOS and ugfx repos. Attached is also the makefile, which is basically a combination of the ChibiOS+lwip+FatFS makefile and the one provided by ugfx for the STM32F746 Disco. As a note, I did the same about 4 months ago and that compiled without any issues. Thanks in advance! Makefile-stm32f746_discovery
×
×
  • Create New...