Jump to content

spectre

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. Hi Mr. Joel Bodenmann, good new year Thanks Sir as always, I will show you my progress soon Spectre
  2. Dear friends, I am trying to display a string with the ° degree symbol, but it doesn't show me the symbol. I am using the DejaVuSans12_aa font. thanks in advance, Spectre
  3. Mr. Joel, now pixmaps mechanism now works correctly. As you suggested I will load the virtual display inside of the external sram. I have an 8Mbit ext.sdram and a 400x240 rgb tft, so I suppose that I will use near half of the space for the virtual display, and the rest for bmp icons,etc.. What you think? regards, Spectre
  4. Mr. Joel, Thanks a lot for your detailed guide,very exhaustive. I will choose the third choice you proposed, the pixmaps. it looks like a very smart way to do the things. ugfx_2.6\demos\modules\gdisp\pixmap but when I enable the GDISP_NEED_PIXMAP define as TRUE I get some errors like the following: ../../App/Drivers/tft/ugfx_2.6/src/gdisp/gdisp_pixmap.c(85): error: #20: identifier "GDISPVMT_pixmap" is undefined ../../App/Drivers/tft/ugfx_2.6/src/gdisp/gdisp_pixmap.c(115): error: #20: identifier "LLDSPEC" is undefined etc. I've found on the forum someone talking about the same issue but I really don't understand what pratically I have to do to fix this small issue. Can you give me a help? Thanks a lot
  5. Dear friends, I'm here to ask you a suggestion about the most used way to take advantage of an external SDRAM. my target mcu is an STM32F103 with FSMC interfaced with a tft lcd controller on a side and the other FSMC interfaced with an external SDRAM. the gui is already working,and now I want to add some images(custom icons, etc). I've already tried to load static images from the internal flash and it works perfectly. The demoboard I'm using has an external 8Mbit SRAM and an SD card reader. now I have 3 ways: 1) Use all the external SDRAM totally as HEAP and STACK transparently to the mcu. 2) Use the external SDRAM as area where load my images from the SD card at the power on. 3) other ideas? usually what is better to do? what do you usually do in such situation? I don't have to put movies or something like that, but just static images, custom icons.loaded when needed by the gui. Thanks to everybody for the opinion, Regards, Spectre
  6. Thanks again Sir for your detailed reply. I have to investigate on the stack size declaration on the freertos.. I've read somewhere that the "#define configMINIMAL_STACK_SIZE 128" inside of the freertos configuration must be declared as words and not bytes. (so value x4 = stack bytes). May be I'm wrong. I have an external SRAM attached to this custom demoboard and I want to try it. I think I have to understand the way to load the image from the external sram instead of the internal sram. thanks sir,now I am abusing of you Regards, Spectre
  7. Yes Sir, Solved. heap size of freertos increased Thanks a lot! have a nice weekend Spectre
  8. Dear Sir, thanks for your fast reply.Really appreciated. I am using an stm32 with 64kb of ram, and I've tried the gdisp/image example with a simple main.c file and the bmp issued with the demo and it works. now I am trying to do the same inside of a freertos task and I get this error. the suggestion above applies also with a freertos implementation? Thanks again and sorry for such newbie questions Spectre
  9. Dear friends, I have a bmp picture in the flash of the microcontroller, when I call gdispImageOpenFile(&myImage, "myImage.bmp"); and I receive the error 0x0004 (GDISP_IMAGE_ERR_UNRECOVERABLE + GDISP_IMAGE_ERR_NOMEMORY) it means that: -the function tries to load the picture inside of the stack area then decode it and the ram to allocate the picture is not enough? or -it means that the function tried to decode the picture allocating the decoder code in ram and the ram is not enough for the decoder only I have available an "external ram" on my testhardware, actually not used,but before to use it I have to understand what's goin on thanks Spectre
  10. Dear Sir, thanks for your exhaustive answer, the problem is that I don't know the way to "create the function that generates the button pressed-event". I've succeeded increment and decrement a progress bar, but simulate the button press is a bit difficult to me. Can you write me down a simple example? it will be really appreciated, thanks, Spectre
  11. Dear friends, as newbie I've created a simple gui with a simple button for my mcu + tft board using the uGFX studio 0.15 So I have my ghButton1 widget in the gui.c. I want to simulate a button press/release using a boolean variable: so my application can simulate a push/release of the button on the screen. can you give me a simple hint or some example code to simulate a press/release ? thanks in advance Spectre
  12. Solved, multiple inclusions issue Thanks Sir, Spectre
  13. Dear Friends, I am using ugfx primitives and it works. Now I want to start to use some widgets. As newbie, I want to use a simple Label widget: so I am following the API guide: http://api.ugfx.io/group___label.html As specified,I've enabled the following defines in the gfxconf.h file: GFX_USE_GDISP TRUE GFX_USE_GWIN TRUE GDISP_NEED_TEXT TRUE GWIN_NEED_LABEL TRUE A font(already tested) Then in my main.c I have to include,as specified, the following: #include "gdisp.h" #include "gfx.h" Up to this step the compiler gives me NO errors. Now I am ready to start to write the code to visualize my label, so I write in my main.c globals: static GHandle ghLabel1; At this point the compiler tell me the following error: identifier "GHandle" is undefined What I forgot to do? Am I missing to include something? thanks in advance to everybody. Regards, Spectre
  14. Dear Sir Bodenmann, you are right! I've seen now the table header.. thanks a lot. Regards, Spectre
×
×
  • Create New...