Jump to content

zhuantou215

Members
  • Posts

    50
  • Joined

  • Last visited

Posts posted by zhuantou215

  1. First of all, I would like to thank you for your help. My screen has been able to display normally, I am trying to touch. But I don't know which touch driven template to use. My LCD screen is RGB888, which belongs to capacitance screen. My touch chip is gt911, I2c driver touch chip.

    I hope you can tell me which touch drive template should be used!!!

  2. Thank you very much for your help. I'm using the GDISP module now. I want to draw a triangle. I tried many ways, but I couldn't get the triangle. I think there is no triangle function. I'm very confused. I hope you can help me.

  3. Thank you very much for your help. I can only pull the path of the picture into file2c.exe.But I can't use it. I hope you can tell me how to use it.
  4. Thank you very much for your help. My board can work well.Now I want to achieve touch function, but I use demos/modules/ginput/keyboard every time. There are always the following mistakes:

    ..\..\Output\LCD.axf: Error: L6218E: Undefined symbol GKEYBOARDVMT_OnlyOne (referred from gfx_mk.o).

    What is the reason for this?

  5. Thank you for your help. My development board can only be displayed to this extent. I found that there were two functions I didn't implement. As shown below.

    systemticks_t gfxSystemTicks(void)
    {
       return SysTick->VAL;
    }

    systemticks_t gfxMillisecondsToTicks(delaytime_t ms)
    {
        return ms;
    }
    What should I do to implement these two functions.I hope that good people can help me.

    QQ图片20180412083242.jpg

  6. First of all, thank you very much for your help. The compiler I use is Keil. whenever I do not add a LCD driver, the compiler is always wrong:

    ..\ugfx\src\../src/gdisp/gdisp.h (166): error: #5: cannot open source input file "gdisp_lld_config.h": No such file

    #error directive "GDISP:Unsupported color system"

    Undefined typedef COLOR_TYPE color_t;

    I follow https://wiki.ugfx.io/index.php/Using_Keil_µVision_5_MDK-ARM。Using the template LCD driver of ugfx.

    Project compilation is no problem. Now, I want to use a custom LCD driver.

    How should I modify it。

  7. Thanks very much。 But I'm using STM32F429, and the template, STM32F4xx_Eclipse_Project, doesn't have a specific model. When I compiling startup_stm32f429xx.s, I always show it:

    ./CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f401xe.o:(.isr_vector+0x0)  multiple definition of `g_pfnVectors'
    ./src/stm32f4xx_startup.o:(.isr_vector+0x0): first defined here
    ./CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f401xe.o: In function `SPI4_IRQHandler':
    (.text.Default_Handler+0x0): multiple definition of `Default_Handler'
    ./src/stm32f4xx_startup.o:(.text.Default_Handler+0x0): first defined here
    ./CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f429xx.o:(.isr_vector+0x0): multiple definition of `g_pfnVectors'
    ./src/stm32f4xx_startup.o:(.isr_vector+0x0): first defined here
    ./CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/startup_stm32f429xx.o: In function `DMA2D_IRQHandler':
    (.text.Default_Handler+0x0): multiple definition of `Default_Handler'

    If I do it correctly, if I want to show STM32F429, how should I change it!

  8. Thank you very much for your help. I used the official STM32F4xx_Eclipse_Project. There is no error in direct operation. When I change main.c, there is always the following error:

    eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7e-m/libg_nano.a (lib_a-sbrkr.o): In function `_sbrk_r':

    In addition, I don't know how to change the GDisplay * g in this API.

    How to write gdispGDrawBox (GDisplay * g, 10, 10, width/2, height/2, 0xFFFFFF00). Can you give an example

    I hope to get your help!Thanks very much!

  9. Thank you very much for helping me before. Since I was a novice, I downloaded the official STM32F746G-Discovery Template, and I want to change the makefile to generate a binary executable for STM32F429. So I changed the makefile to:

        OPT_OS                    = raw32
        OPT_THUMB                = yes
        OPT_LINK_OPTIMIZE        = no
        OPT_CPU                    = stm32m4

    # uGFX settings
        # See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables
        GFXLIB                    = ../uGFX
        GFXBOARD                = STM32F429i-Discovery
        GFXDEMO                    =
        GFXDRIVERS                =
        GFXSINGLEMAKE            = no

    # Special - Required for the drivers for this discovery board.
    STMHAL                        = ../STM32F4xx_HAL_Driver

    # Special - Required for Raw32
    CMSIS                        = ../CMSIS

    ##############################################################################################
    # Set these for your project
    #

    ARCH     = arm-none-eabi-
    SRCFLAGS = -ggdb -O1
    CFLAGS   =
    CXXFLAGS = -fno-rtti
    ASFLAGS  =
    LDFLAGS  =

    SRC      = main.c

    OBJS     =
    DEFS     =
    DEFS     =
    LIBS     =
    INCPATH  =

    LIBPATH  =
    LDSCRIPT =

    ##############################################################################################
    # These should be at the end
    #

    include $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk
    include $(GFXLIB)/tools/gmake_scripts/os_$(OPT_OS).mk
    include $(GFXLIB)/tools/gmake_scripts/compiler_gcc.mk
    # *** EOF ***

    Whenever you run make. There is always an error .. ../uGFX/src/gos/gos_rules.h:24:3: error: #error "GOS: More than one operation system has been defined as TRUE."
     #error "GOS: More than one operation system has been defined as TRUE .. So I hope you can help me.

     

  10. On Mon Jan 29 2018 at 21:01, zhuantou215 said:

    Thanks very much。 I want to emphasize that my development board is not a computer. Let me state what I do. Do you think it's right?
    1. transplant ugfx into the development board.
    2. cross - compile and transplant SDL into the development board
    3 execute makefile

     

     

  11. Thanks very much。 I want to emphasize that my development board is not a computer. Let me state what I do. Do you think it's right?
    1. transplant ugfx into the development board.
    2. cross - compile and transplant SDL into the development board
    3 execute makefile

  12. Thank you very much for your help to me before, because I am a novice. Can you help me to answer it? I still don't have the implementation of porting ugfx to my development board.

    • My development board is: Linux system, can I compile the SDL with arm-linux-gcc and transplant it into the development board.
  13. Thank you very much。If I run ugfx on IM6UL. I'd like to describe my understanding. Would you check it correctly?

    1. transplant ugfx into the development board.

    2. execute makefile

    Maybe there are some details that I don't describe, such as enabling Framebuffer.

    I sincerely hope that you can give me some guidance.

×
×
  • Create New...