Jump to content

Knut

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Knut

  1. hello, after some more hours of senseless working and testing. I can not compile ugfx. In my opinion, when GFX_CPU_CORTEX_M7_FP is activated, Arm Complier 6.12 can not compile this version fo ugfx. my compiler settings: // Options that (should where relevant) apply to all operating systems // #define GFX_NO_INLINE GFXOFF #define GFX_COMPILER GFX_COMPILER_KEIL // #define GFX_SHOW_COMPILER GFXOFF #define GFX_CPU GFX_CPU_CORTEX_M7_FP // #define GFX_CPU_NO_ALIGNMENT_FAULTS GFXOFF // #define GFX_CPU_ENDIAN GFX_CPU_ENDIAN_UNKNOWN // #define GFX_OS_HEAP_SIZE 0 // #define GFX_OS_NO_INIT GFXON #define GFX_OS_INIT_NO_WARNING GFXON // #define GFX_OS_PRE_INIT_FUNCTION myHardwareInitRoutine // #define GFX_OS_EXTRA_INIT_FUNCTION myOSInitRoutine // #define GFX_OS_EXTRA_DEINIT_FUNCTION myOSDeInitRoutine // #define GFX_OS_CALL_UGFXMAIN GFXOFF // #define GFX_OS_UGFXMAIN_STACKSIZE 0 // #define GFX_EMULATE_MALLOC GFXOFF // #define GFX_MEM_LT64K GFXOFF Compiler 5 compiles with 0 errors and 47 warnings same code with compiler 6 compiles with 2 errors and 37 warnins Errors are: ../../ugfx/src/gos/gos_x_threads_cortexm47fp.h(63): error: expected identifier or '(' static __asm void _gfxStartThread(thread *oldt, thread *newt) {
  2. With F7 CPU and a minimal config file I get these errors(2) and warings(14 ../../ugfx/src/gfx_mk.c(14): warning: In file included from... ../../ugfx/src/gfx.c(16): warning: In file included from... ../../ugfx/src/../gfx.h(7): warning: In file included from... ../../ugfx/src/gfx.h(93): warning: In file included from... ../../ugfx/src/gfx_compilers.h(624): warning: '#pragma anon_unions' is an ARM Compiler 5 extension, and is not supported by ARM Compiler 6 [-Warmcc-pragma-anon-unions] #pragma anon_unions // Allow anonymous unions ^ ../../ugfx/src/gfx_mk.c(14): warning: In file included from... ../../ugfx/src/gfx.c(16): warning: In file included from... ../../ugfx/src/gdisp/../../gfx.h(7): warning: In file included from... ../../ugfx/src/gfx.h(177): warning: In file included from... ../../ugfx/src/gdisp/gdisp.h(54): warning: redefinition of typedef 'gPoint' is a C11 feature [-Wtypedef-redefinition] } gPoint; ^ ../../ugfx/src/gmisc/gmisc.h(29): note: previous definition is here typedef struct gPoint gPoint; ^ ../../ugfx/src/gfx_mk.c(14): warning: In file included from... ../../ugfx/src/gfx.c(16): warning: In file included from... ../../ugfx/src/gwin/../../gfx.h(7): warning: In file included from... ../../ugfx/src/gfx.h(178): warning: In file included from... ../../ugfx/src/gwin/gwin.h(60): warning: redefinition of typedef 'GHandle' is a C11 feature [-Wtypedef-redefinition] } GWindowObject, * GHandle; ^ ../../ugfx/src/gwin/gwin.h(33): note: previous definition is here typedef struct GWindowObject *GHandle; ^ ../../ugfx/src/gfx_mk.c(15): warning: In file included from... ../../ugfx/src/gos/gos_mk.c(14): warning: In file included from... ../../ugfx/src/gos/gos_raw32.c(30): warning: "GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!" [-W#warnings] #warning "GOS: Raw32 - Make sure you initialize your hardware and the C runtime before calling gfxInit() in your application!" ^ ../../ugfx/src/gfx_mk.c(15): warning: In file included from... ../../ugfx/src/gos/gos_mk.c(21): warning: In file included from... ../../ugfx/src/gos/gos_x_threads.c(201): warning: In file included from... ../../ugfx/src/gos/gos_x_threads_cortexm47fp.h(49): error: expected identifier or '(' static __asm void _gfxTaskSwitch(thread *oldt, thread *newt) { ^ ../../ugfx/src/gos/gos_x_threads_cortexm47fp.h(63): error: expected identifier or '(' static __asm void _gfxStartThread(thread *oldt, thread *newt) { ^ ../../ugfx/src/gfx_mk.c(15): warning: In file included from... ../../ugfx/src/gos/gos_mk.c(21): warning: In file included from... ../../ugfx/src/gos/gos_x_threads.c(484): warning: implicit declaration of function '_gfxTaskSwitch' is invalid in C99 [-Wimplicit-function-declaration] _gfxTaskSwitch(me, _gfxCurrentThread); ^ ../../ugfx/src/gos/gos_x_threads.c(506): warning: implicit declaration of function '_gfxTaskSwitch' is invalid in C99 [-Wimplicit-function-declaration] _gfxTaskSwitch(me, _gfxCurrentThread); ^ ../../ugfx/src/gos/gos_x_threads.c(540): warning: implicit declaration of function '_gfxStartThread' is invalid in C99 [-Wimplicit-function-declaration] _gfxStartThread(me, t); ^ ../../ugfx/src/gfx_mk.c(16): warning: In file included from... ../../ugfx/src/gdriver/gdriver_mk.c(8): warning: In file included from... ../../ugfx/src/gdriver/gdriver.c(12): warning: In file included from... ../../ugfx/src/gdriver/gdriver.h(90): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] typedef const struct GDriverVMT const GDriverVMTList[1]; ^ ../../ugfx/src/gfx_mk.c(18): warning: In file included from... ../../ugfx/src/gdisp/gdisp_mk.c(21): warning: In file included from... ../../ugfx/src/gdisp/gdisp.c(586): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] extern const GDISPVMT const GDISPVMT_OnlyOne[1]; ^ 9 warnings and 2 errors generated. compiling gfx_mk.c... compiling GLCD.c... ../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(8): warning: In file included from... ../../ugfx\gfx.h(7): warning: In file included from... ../../ugfx/src/gfx.h(93): warning: In file included from... ../../ugfx/src/gfx_compilers.h(624): warning: '#pragma anon_unions' is an ARM Compiler 5 extension, and is not supported by ARM Compiler 6 [-Warmcc-pragma-anon-unions] #pragma anon_unions // Allow anonymous unions ^ ../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(8): warning: In file included from... ../../ugfx/src/gdisp/../../gfx.h(7): warning: In file included from... ../../ugfx/src/gfx.h(177): warning: In file included from... ../../ugfx/src/gdisp/gdisp.h(54): warning: redefinition of typedef 'gPoint' is a C11 feature [-Wtypedef-redefinition] } gPoint; ^ ../../ugfx/src/gmisc/gmisc.h(29): note: previous definition is here typedef struct gPoint gPoint; ^ ../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(8): warning: In file included from... ../../ugfx/src/gwin/../../gfx.h(7): warning: In file included from... ../../ugfx/src/gfx.h(178): warning: In file included from... ../../ugfx/src/gwin/gwin.h(60): warning: redefinition of typedef 'GHandle' is a C11 feature [-Wtypedef-redefinition] } GWindowObject, * GHandle; ^ ../../ugfx/src/gwin/gwin.h(33): note: previous definition is here typedef struct GWindowObject *GHandle; ^ ../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(14): warning: In file included from... ../../ugfx/drivers/gdisp/SSD1289/../../../src/gdisp/gdisp_driver.h(22): warning: In file included from... ../../ugfx/src/gdisp/../gdriver/gdriver.h(90): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] typedef const struct GDriverVMT const GDriverVMTList[1]; ^ ../../ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c(14): warning: In file included from... ../../ugfx/drivers/gdisp/SSD1289/../../../src/gdisp/gdisp_driver.h(735): warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const GDISPVMT const GDISP_DRIVER_VMT[1] = {{ ^ 5 warnings generated. compiling gdisp_lld_SSD1289.c... ".\PA_F7_B201\PA_F7_B201.axf" - 2 Error(s), 14 Warning(s).
  3. Hi Joe, thanks for your fast answer. As they say, wrong answer. ? We only use the Keil Comiler version 6, so the uGFX is out for us and i can stop all my tests. best regards Knut
  4. wich compiler versions are supported with KEIL MDK pro and ARM-Developer Silver. we are currently testing your software to buy the license. After one day of work we have not managed to compile your sources without errors. best regards Knut
×
×
  • Create New...