Jump to content

MobileWill

Members
  • Posts

    103
  • Joined

  • Last visited

Everything posted by MobileWill

  1. I am trying to use a custom color with the studio. gdisp_colors.h gets the following error when compiled. .\ugfx/src/gdisp/gdisp_colors.h:313:28: error: expected declaration specifiers or '...' before '(' token #define HTML2COLOR_R(h) (((h) & ((0xFFL & ~((1<<(8-COLOR_BITS_R))-1))<<16)) >> (24-(COLOR_BITS_R+COLOR_SHIFT_R))) Anyone come across this? It looks okay to me. All the () line up.
  2. I got it all working in Embitz with but still had to use the community drivers to get SPI5 working and such. ChibiOs said there are defines missing so maybe when that is added it will work. Maybe is an issue 3.0.4 vs the demo you sent with 3.0.1. Its just a guess. I search all over to try and find what is different and couldn't find anything. Oh well. Here is a link to the working project if anyone needs it https://www.dropbox.com/s/j8k3qsi69nc8a ... X.zip?dl=0 The problem now is the debugger won't connect to the board. It works fine on the Nucleo STm32F411RE but not the STM32F429I-Disc1 which has drag n drop support. It has St-link/v2-1B. Anyone know if to use the hardware LCD stuff you have to have SDRAM? Trying to keep my design simple. But I can stay this setup is way faster then the F411RE. Its pretty nice. Can't wait to focus on code instead of setup. Thanks. Edit: Project attached to this forum post. Please do not upload resources using external services! This helps to keep the information together for the future where the resources might no longer be available through the other hosting platform.
  3. Finally got make working. Just a few warnings but it compiled. Now to try Embitz...
  4. Thanks. I will try that as soon as I get home. EmBitz sort of works with make but its external so in my test I lost some of the features and it seemed to break debugging since the paths of the elf doesn't line up. Should this demo work with file inclusion?
  5. I think I figured it out. I started a fresh project on my laptop on a fresh VM with Embitz. But I just so happen to noticed the community folder in ChiBiOS. So it turns out there are additional drivers for the 429 which looks to support all the SPI and FMC. So it looks to have complied. I will have to do further testing when I get home. For future reference, it is the hal_community.h/c and mcuconf_community but they also some other drivers for crc,nand,onewire,eicu but they are all included. Just copy them over or include them in your project. Hmm I just noticed while writing this up there are some additional files in community/os/hal/ports/stm32/lld. Wonder if I need them. I will post pack if it all works. Is there anything in gfxconf.h I need to enable to make sure I am using 2D acceleration?
  6. I think the first issue I need to overcome is the SPI5 missing. It looks like it is setup in ChibiOS but it still doesn't know where to fine SPI5 when it sets it up. It seems like the board_STM32LTDC_template needs more than the defines. The board_STM32LTDC from the base folder has more code and that is the ome that has includes for _fmc and _sdram and setups up SPI5. If I use the tamplate do I not need to add the rest of the functions or can it talk to the display without doing SPI first? Thanks.
  7. Thank you, maybe at least I can get something going on the 429. I was just going with the demo files since I thought it would be complete. So your setup works with the SDRAM? I have included _sdram with the _fmc drivers. I take it you are not using ChibiOS? Do you know which displays work with the hardware acceleration?
  8. Hi, I am trying to get uGFX to work with the STM32F429 discovery board. My first issue which I think is a ChiBiOS issue is support for SPI5. But it seems everyone else is able to get it working so not sure what is up. I have ChibiOS 16. It looks like SPI5 is not setup for this board. As for uGFX I am bit confused on the difference between boards base which has a set of drivers for this board and the gdisp drivers which I noticed in the latest version has just the generic LTDC driver. Which files should I be including? I haven't been able to find clear directions on which files are what and what to include between the too folders. I have everything working for the STM32F411 so I know how a working setup is. On a side note of temporaly disable SPI5 and enable SPI1 I can get past that error but I get FMC_bank undefined errors and other LTDC errors. Also I would like to ask if uGFX is capable of the windowing graphics as seen on the STemWin demo that comes on the discovery board? It looks like Win95ish type UI. Thanks for the help. I have starting a big project that I am leaning torwards the 429 and uGFX.
×
×
  • Create New...