Jump to content

Greg

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by Greg

  1. Im sorry 

    I totally misunderstood.

    My assumption was that it could be used like Mikroelektronika's Visual TFT and generate the program ready for compilation on a specific processor.

    Thus I also assumed this because of the allowance for adding another setup like I tried.

    Sounds like it is all above my level of understanding .

    As I can now at least make the screen flash different colours and compile dummy apps for OS X .

    Is there an intention to eventually create something along the Visual TFT type environment ?

     

    Thanks 

     

    Greg.

  2. I have successfully downloaded ,compiled and flashed the sample STM32F746G example and have progressed to uGFX Studio, which I have configured to the best of my knowledge so far.

    See attached grab.

    But I get a strange compile output messages using the same configuration that worked with the demo.

    /************************************************************************/

    fakefile.c -o .build/obj/fakefile.o

    .

    Linker Options........

    armv7/Users/gomond/GCC-Arm/bin/arm-none-eabi-ld -pthread -Wl,-syslibroot,/Users/gomond/GCC-Arm/bin -m32 -L/opt/X11/lib -lX11 .build/obj/fakefile.o -o .build/preview

    .

    Compiling gui.c

    make: armv7/Users/gomond/GCC-Arm/bin/arm-none-eabi-gcc: No such file or directory

     

    make: *** [.build/obj/gui.o] Error 1

    /***************************************************************************/

    uGFX-Config.tiff

  3. If I create some screens in ugfx studio. do I just copy some directory structure into the existing example project to use it and then just create the events code?

    or is there a simple shell project to get started?

    Or is it possible to compile from Studio itself by setting up compiler settings ?

  4. Thanks just started downloading it.

    If I create some screens in ugfx studio. do I just copy some directory structure into the existing example project to use it and then just create the events code?

    or is there a simple shell project to get started?

    Or is it possible to compile from Studio itself by setting up compiler settings ?

  5. Thanks Joel

    Yes you are correct I did download the template and ran make inside the project directory.

    Any how I will download the version of gcc that you mentioned and try again.

    Just want to get something going not the discovery board so that I can start using ugfx-studio.

     

    Thanks again.

  6. I have tried several distributions of arm-none-wabi-gcc and keep getting this problem linking the stm32f746_discovery_template_make/project

    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: error: bin/Release/project.elf uses VFP register arguments, /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o) does not
    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-init.o)
    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: error: bin/Release/project.elf uses VFP register arguments, /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-memcpy.o) does not
    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-memcpy.o)
    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: error: bin/Release/project.elf uses VFP register arguments, /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-memset.o) does not
    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-memset.o)
    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: error: /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-setjmp.o): Conflicting CPU architectures 13/1
    /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /usr/local/Cellar/arm-none-eabi-gcc/20150921/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/libc.a(lib_a-setjmp.o)
    collect2: error: ld returned 1 exit status
    make: *** [bin/Release/project.elf] Error 1

    getting lost.

    Sorry if it is easy and stupid but I have been on the net all day attempting to work it out..

  7. Hi Joel

    I have read through the custom rendering widget example and can now see roughly how to apply the widget but as for creating rotating needle , I am lost.

    I first thought of using the draw arc function with 2 overlapping arcs to blank each other out except for the needle section but this would just create scrappy needle like the Nextion display one.

    Ideally if ugfx had a rotate function that could rotate a needle graphic with a transparent background over an image of a gauge then it would be easy.

    But I don't see any rotate functions.

    Also If someone does successfully create a custom rendered Gauge Widget, is it then possible to ad these to uGFX  Studio?

    Thanks Joel

    Sorry for being so ignorant.

  8. Thanks Joel

    Bu I am not to that level of programming ability as yet, I am self taught and an old fellow.

    I was wishing for it to be part of the uGFX studio eventually.

    I originally and stupidly purchased most of the Mikroelektronika compilers and Visual TFT to attempt to build instrument panels for cars that my son and I were rebuilding.

    But Mikroelektronika only support hardware that they sell and If you want to support other stuff then GCC and uGFX is your only affordable option as a hobbyist .

    Sorry for being so ignorant but I have bigger ideas than capabilities which drives me to learn but limits my success .

    Any how I love ugfx and I am going to attempt to study your post and make it happen.

    We have built a Rusefi ECU which is awesome and the code is written using chibios and uses an STM32 discovery board. I want to eventually create an instrument panel to hook up to it and monitor the ECU signals.

    Thanks Heaps for your answer.

    Kind regards

    Greg.

×
×
  • Create New...