Jump to content

blacktronics

Members
  • Posts

    15
  • Joined

  • Last visited

Recent Profile Visitors

798 profile views
  1. I did, it just doesn't seem to change anything on the snapping behaviour.
  2. Setting GWIN_SLIDER_NOSNAP to TRUE does not appear to work, it still does the snapping.
  3. Amazing, it works now! Thanks a lot for the help - one more question though - is it intentional that the sliders snap back to where they were when you release outside of the bounding box of the slider? Is there a way to disable that?
  4. amazing, it works now and displays. Touchscreen does not seem to work yet though - do i need to handle this separately? is there a guide somewhere?
  5. Oh i mis-read that initially as needing to be in there, removing it fixed it, it builds now. However, once flashed the display only shows garbage similar to what is seen during startup of the example project you provided. Looking at the structure of the garbage, it looks like some horizontal misalignment.
  6. I have the odd impression that I am managing to run into every single issue that i could possibly run into... I edited the include in userfonts.h
  7. Hey thanks for the help, it doesn't appear to work for me - i am pretty sure this is some weird eclipse thing. I have attached the project here: STM32F746-Disco-broken.zip
  8. yup, still unhappy, throws 170 errors test.zip
  9. Okay, sorry to bother you again - the template you provided works fine. However, how do I now use the output from studio? I just copied the contents of the output folder into my inc folder, and copied the code from main_example.c into main.c It went apocalypse on me:
  10. I am getting the same errors, fun.
  11. I encountered that situation as well while messing around
  12. Ok i am giving in, i am starting to lose my mind. I can't seem to get uGFX to actually work on a STM32F746G-DISCOVERY, i've documented the steps I took in pictures: I am not sure if this is an issue related to this board specifically or not, but i figured adding to this thread makes more sense than making a new one. I mostly followed the eclipse guide. I first created a project using the new c project wizard: I then imported uGFX as described in the guide and excluded everything except for \src\gfx_mk.c I then copied and edited gfxconf.h as per the guide, and included gfx.h in main.c, with a call to gfxInit(); It compiles without errors. So I went on to including the drivers for the board. i removed the drivers/ filter and added all the other filters so drivers/gdisp/STM32LTDC and drivers/ginput/touch/FT5336 are allowed After this step, the project still compiles, although i do not have the board file included yet - most likely no relevant function calls yet. At this step i am not quite sure which board files to include, here is what I did though: I copied the following files from boards/STM32F746-Discovery to my inc folder: board_STM32LTDC.h stm32f7_i2c.c stm32f7_i2c.h stm32f746nghx_flash.ld I am uncertain what do do with stm32f7xx_hal_conf.h from example_raw32, does that go into HAL_Driver/Inc/ ? I also copied gmouse_lld_FT5336_board.h to uGFX/drivers/ginput/touch/FT5336 and deleted gmouse_lld_FT5336_board_template.h Everything still compiles fine. After that, i grabbed the while loop from main.c and the gfxconf.h from this template: When i now try to compile it does this: I am completely stuck, really close to setting stuff on fire, send help.
×
×
  • Create New...