Jump to content

Dmytro

Members
  • Posts

    8
  • Joined

  • Last visited

About Dmytro

  • Birthday 01/15/1989

Recent Profile Visitors

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

  1. Hi Tectu, I am not sure if this can resolve the problem. But you can try to compile ugfx but with CMSIS. I will be in the other place and can not help with checking your proposition till Monday.
  2. You can choose way like freeRTOS - to use unique name for these definitions. For example gTRUE and gFALSE. Maybe it's not very nice solution, but it can help solve this problem.
  3. In freeRTOS these definitions are named as pdTRUE and pdFALSE (projdefs.h, version 8.0.0). uGFX theoretically can have problem with CMSIS (library for lowlevel hardware manipulations for NXP MCU's). There are declared enumeration (in file lpc_types.h): typedef enum {FALSE = 0, TRUE = !FALSE} Bool; So, if this code will compile after uGFX - it can lead to errors, I think.
  4. Hello Tectu, I have good news - I have compiled this! The problem was in my root makefile. I don't know why, but when I had been collecting source files from directories - file from SSD1289 directory was not included to my $(SOURCES) variable. So, I changed from this: SOURCES = $(wildcard $(CMSIS_BOOT_DIR)/*.c) SOURCES+= $(wildcard $(CMSIS_CORE_DIR)/*.c) SOURCES+= $(wildcard $(CMSIS_LIB_SRC)/*.c) SOURCES+= $(wildcard $(CORE_SRC)/*.c) [color=#FFFF00]SOURCES+= $(wildcard $(GFXSRC)/*.c)[/color] SOURCES+= $(wildcard $(CURRENT_DIR)/*.c) to this: SOURCES = $(wildcard $(CMSIS_BOOT_DIR)/*.c) SOURCES+= $(wildcard $(CMSIS_CORE_DIR)/*.c) SOURCES+= $(wildcard $(CMSIS_LIB_SRC)/*.c) SOURCES+= $(wildcard $(CORE_SRC)/*.c) [color=#FFFF00]SOURCES+= $(GFXSRC)[/color] SOURCES+= $(wildcard $(CURRENT_DIR)/*.c) Also I had issue with TRUE/FALSE defines - as I am using CMSIS library - these constants defined there. So I temporary had included header file with type definitions from CMSIS to the gfx.h file. I did not try if it works on my board, only compiled. But it good start, I think
  5. Yes, sure. I attached output from my build and my "root" makefile. make+output.zip
  6. Okay, I also will go to the cinema. I cloned freertos branch. I did not test this yet, but I ready help to you with testing.
  7. Hi, I was a little surprised, becouse it is my first post on this forum. But it is very nice for such a warm welcome. So, as for the problem. Now I am trying use only display, without touchscreen. Also I use FreeRTOS instead Chibi and CMSIS for low level hardware manipulations. This is my board.mk: GFXINC += $(GFXLIB)/boards/base/Land-Tiger-LPC1768-LCD GFXSRC += include $(GFXLIB)/drivers/gdisp/SSD1289/gdisp_lld.mk #include $(GFXLIB)/drivers/ginput/touch/ADS7843/ginput_lld.mk Also I attached .zip file with board directory, as you want. I hope this is help for you to help me . base.zip
  8. Hi all, I want to compile uGFX with SSD1289 display drivers. I have board Land-Tiger with LPC1768 controller. For supporting this board I added folder to board/base/ directori (was copyed from existing). Then I added in my general Makefile: gfx.mk ($(GFXLIB)/gfx.mk) and board.mk ($(GFXLIB)/boards/base/Land-Tiger-LPC1768-LCD/board.mk). Without board.mk all compile fine and linked in *.hex file. But with board.mk I had the next output from linker: /mnt/Project_X/obj//mnt/Project_X/ugfx/src/gdisp/gdisp.o: In function `fillarea': gdisp.c:(.text.fillarea+0x16): undefined reference to `gdisp_lld_write_stop' gdisp.c:(.text.fillarea+0x3c): undefined reference to `gdisp_lld_write_start' gdisp.c:(.text.fillarea+0x42): undefined reference to `gdisp_lld_write_pos' gdisp.c:(.text.fillarea+0x4a): undefined reference to `gdisp_lld_write_color' gdisp.c:(.text.fillarea+0x5e): undefined reference to `gdisp_lld_write_stop' /mnt/Project_X/obj//mnt/Project_X/ugfx/src/gdisp/gdisp.o: In function `_gdispInit': gdisp.c:(.text._gdispInit+0x32): undefined reference to `gdisp_lld_init' /mnt/Project_X/obj//mnt/Project_X/ugfx/src/gdisp/gdisp.o: In function `gdispGClear': gdisp.c:(.text.gdispGClear+0x46): undefined reference to `gdisp_lld_write_start' gdisp.c:(.text.gdispGClear+0x4c): undefined reference to `gdisp_lld_write_pos' gdisp.c:(.text.gdispGClear+0x54): undefined reference to `gdisp_lld_write_color' gdisp.c:(.text.gdispGClear+0x68): undefined reference to `gdisp_lld_write_stop' collect2: error: ld returned 1 exit status Looks like that file ugfx/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c does not compile. I expressly did mistake in code - and did not receive any errors.
×
×
  • Create New...