Jump to content

Linker

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. Ok, downloaded latest version (maybe you should to replace links in downloads page - they are outdated). Now i have a problem with my touchscreen (XPT2046/ADS7843) - I just don't know how to work with it... I've created a button in a simple one-page project using the uGFX-studio, plugged in my touch screen through 4-wire SPI, now what ? How to initialize ? Where I need to write the action for the button ? Can you give me a simple example ? Or step-by-step instructions, please ? Here is my Keil project: http://www.mediafire.com/file/l308822avbrav2r/uGFX.rar
  2. Solved the problem by deleting all files in the "gfx" subfolder in the project except for the screen driver files ("gdisp_lld_ILI9341.c" and "board_ILI9341.h") and adding just one "gfx_mk.c". But i think i've found a bug in a "gwin_widget.c": void _gwidgetInit(void) { geventListenerInit(&gl); geventRegisterCallback(&gl, gwidgetEvent, 0); // geventAttachSource(&gl, ginputGetMouse(GMOUSE_ALL_INSTANCES), GLISTEN_MOUSEMETA|GLISTEN_MOUSEDOWNMOVES); #if GINPUT_NEED_KEYBOARD || GWIN_NEED_KEYBOARD geventAttachSource(&gl, ginputGetKeyboard(GKEYBOARD_ALL_INSTANCES), GLISTEN_KEYUP); #endif } I'm not using mouse and GINPUT_NEED_MOUSE is FALSE, but geventAttachSource executes without any conditions with mouse. Just commented this as shown and now all works!
  3. First of all, when I replaced the old libraries to the new one without changing anything else - i've got this errors: *** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'STM32F4-Discovery USB' assembling startup_stm32f40_41xxx.s... linking... .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxSleepMilliseconds (referred from main.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxMutexEnter (referred from gdisp.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxMutexExit (referred from gdisp.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxMutexInit (referred from gdisp.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol _gosHeapInit (referred from gos_raw32.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol _gosThreadsInit (referred from gos_raw32.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxAlloc (referred from gdriver.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxFree (referred from gdriver.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxSemInit (referred from gtimer.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxSemSignal (referred from gtimer.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxSemSignalI (referred from gtimer.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxSemWait (referred from gtimer.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxThreadCreate (referred from gtimer.o). .\Targets\STM32F4_Discovery\project.axf: Error: L6218E: Undefined symbol gfxYield (referred from gtimer.o). Not enough information to list image symbols. Not enough information to list load addresses in the image map. Finished: 2 information, 0 warning and 14 error messages. ".\Targets\STM32F4_Discovery\project.axf" - 14 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01
  4. Hello. I'm currently trying to make something similar based on GunterO's Keil example, but it's just won't work with new libraries... Can anyone help me with this ? I'v made a simple one-page project in uGFX studio and now i'm trying to show it on a display.
×
×
  • Create New...