Jump to content

radiotech

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you, Tectu. You helped me a lot.
  2. Add all files get linking errors linking... velo.axf: Error: L6218E: Undefined symbol Image$$RW_IRAM1$$ZI$$Limit (referred from chmemcore.o). velo.axf: Error: L6218E: Undefined symbol Image$$RW_IRAM2$$Base (referred from chmemcore.o). Target not created
  3. 'implicit declaration' warning dont go away. I didnt write any includes manually. Add this string np = (void*)gfxAlloc((size_t)newsz); Error is gone. But three new errors add compiling chibios.c... ext/ugfx/src/gos/chibios.c(63): warning: #223-D: function "chHeapAlloc" declared implicitly linking... velo.axf: Error: L6218E: Undefined symbol _gdispDeinit (referred from gfx.o). velo.axf: Error: L6218E: Undefined symbol _gdispInit (referred from gfx.o). velo.axf: Error: L6218E: Undefined symbol chHeapAlloc (referred from chibios.o). Target not created
  4. Version of ChibioOS 2.6.5 Include PATH: ..\veloos; .\os\kernel\include; .\os\ports\common\ARMCMx; .\os\ports\common\ARMCMx\CMSIS\include; .\os\ports\RVCT\ARMCMx; .\os\ports\RVCT\ARMCMx\STM32F1xx; .\os\hal\include; .\os\hal\platforms\STM32; .\os\hal\platforms\STM32F1xx; .\conf; .\os\hal\platforms\STM32\GPIOv1; .\ext\ugfx; .\ext\ugfx\src\gdisp; .\ext\ugfx\src\gdisp\fonts; .\ext\ugfx\src\gdisp\mcufont; .\ext\ugfx\drivers\gdisp\SSD1289
  5. I found similar problem here http://www.keil.com/forum/20793/
  6. Thank you, Tectu. Second error was corrected. Definition of size_t type: #if defined(__cplusplus) || !defined(__STRICT_ANSI__) /* unconditional in C++ and non-strict C for consistency of debug info */ typedef unsigned int size_t; #elif !defined(__size_t) #define __size_t 1 typedef unsigned int size_t; /* others (e.g. ) also define */ /* the unsigned integral type of the result of the sizeof operator. */ #endif
  7. Hi everybody, I have a problem with a compilation project in Keil. File chibios.c not compiled, Keil produces 2 errors: in void *gfxRealloc(void *ptr, size_t oldsz, size_t newsz) { void *np; if (newsz <= oldsz) return ptr; np = gfxAlloc(newsz); // 63 string string with error if (!np) return 0; if (oldsz) memcpy(np, ptr, oldsz); return np; } error: ext\ugfx\src\gos\chibios.c(63): warning: #223-D: function "chHeapAlloc" declared implicitly ext\ugfx\src\gos\chibios.c(63): error: #513: a value of type "int" cannot be assigned to an entity of type "void *" second gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_t prio, DECLARE_THREAD_FUNCTION((*fn),p), void *param) { if (!stackarea) { if (!stacksz) stacksz = 256; return chThdCreateFromHeap(0, stacksz, prio, fn, param); //156 string with error } if (!stacksz) return 0; return chThdCreateStatic(stackarea, stacksz, prio, fn, param); } error ext\ugfx\src\gos\chibios.c(156): warning: #223-D: function "chThdCreateFromHeap" declared implicitly ext\ugfx\src\gos\chibios.c(156): error: #120: return value type does not match the function type Chibios without ugfx work fine. Please help me.
  8. Hi Pablo2048. I want make project with STM32F103 and SSD1289 + uGFX (on bare metal). Wanted to know what the progress in your work?
×
×
  • Create New...