Jump to content

jbsull

Members
  • Content Count

    15
  • Joined

  • Last visited

About jbsull

  • Rank
    Newbie

Recent Profile Visitors

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

  1. jbsull

    First uGFX Studio derived application

    Problem solved !
  2. jbsull

    First uGFX Studio derived application

    There seems to be a conflict in font names in _RESOURCES_MANAGER_H, and gui.h. gui.h font_t DejaVuSans12; font_t phpoXxi1Y; font_t DejaVuSans24; _RESOURCES_MANAGER_H #define DejaVuSans12 0 #define phpoXxi1Y 1 #define DejaVuSans24 2 What to do ? Jim
  3. Hello, I am modifying the ChibiStudio stm32f4-discovery project - which I have running --- to use the output files from uGFX Studio. How do I set this up ? - I copied all the files, and the resources directory. It looks like I need to modify main() , and add guiInit().. and remove a few things. I thought I saw instructions somewhere , but I misplaced them. But, in case you have an already modified main.c somewhere.... Jim
  4. Hello, I am unable to setup fonts - I try to enter them - but no luck. ALSO - my project "dies" when I try to generate it. VERSION 0.20.5 - project attached. Suggestions please. Jim displaytest1.zip
  5. OK, It appears that "Add font" should really be "Add Font File" ? (which I don't have any of...) Also, The font converter expects "something" - what do I give it ? I was expecting to see a list of windows fonts - is this a copyright issue, and I have to go to an external site ? Are you expect .ttf ? files Jim
  6. Hello, I am making progress - Two (2) questions: Q1) How do I create fonts ? Q2) How do I set the background - is it an image ? Jim
  7. Hello, How general purpose is ChibiStudio ? Is it a good choice for general cross-compiled ARM projects ? I am currently using the STM32F429I-DISC1 board. - which works in ChibiStudio. I have other projects that I want to import into it - more native C examples - is this possible ? I am also looking at ATSAMA5D27 applicatiions - some are Linux - but uGFX and FreeRTOS, or ChibiOS has me very interested. Jim
  8. Hello, I have the current uGFX-Studio, and I was hoping to find an example that I could use with STM32F429I-disc1-discovery board. I have compiled the example project "STM32F429i-Discovery with ChibiOS using ChibiStudio 1.2". I was hoping to use " uGFX-Studio" to generate a new display for it. Jim
  9. Hello, I mananged to get it running. There were x2 configuration problems for me. You probably already know this... and there appears to be a particular order that needs to be follewed to debug an app 1) Confguration of OPEN OCD - "external tool setup" -c "telnet_port 4444" -s "C:\ChibiStudio\tools\openocd\scripts" -f "interface/stlink-v2.cfg" -f "board/stm32f429disc1.cfg" 2) Configuration of debugger "Run->Debug configuration" generic tcp/ip - localhost - 3333 Not sure why these port numbers work.... 2) starting the project a) openOCD needs to be started manually - one time - must start thru external tool pulldown a) pressing debug(bug icon) doesnt ever work - must always select the down arrow. So, I am now running - Thanks for the support.
  10. Well, I tried to follow the instructions, but no luck. I cant get the debugger set up correctly - I try to start OCD Warn : Interface already configured, ignoring Error: already specified hl_layout stlink Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD adapter speed: 2000 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_deassert_srst Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : clock speed 1800 kHz Error: open failed in procedure 'init' in procedure 'ocd_bouncer' symbol-file C:\\Clients\\EPD\\SBC\\Graphics\\ugfx_chibios_stm32f429i_chibistudio\\ugfx_chibios_stm32f429i_chibistudio\\project\\build\\ch.elf set remotetimeout 20 monitor reset init "monitor" command not supported by this target. monitor sleep 50 "monitor" command not supported by this target. load C:\\Clients\\EPD\\SBC\\Graphics\\ugfx_chibios_stm32f429i_chibistudio\\ugfx_chibios_stm32f429i_chibistudio\\project\\build\\ch.elf You can't do that when your target is `None' Temporary breakpoint 1 at 0x800a300: file main.c, line 27. tbreak main continue The program is not being run.
  11. Hi, I cannot attach to the STM32F4 discovery board. I don't know why. - It doesn't look like the debugger is set up properly ? I am trying to follow the setup video for ChibiStudio to no avail... I get the errors: Reading symbols from C:\Clients\EPD\SBC\Graphics\ugfx_chibios_stm32f429i_chibistudio\ugfx_chibios_stm32f429i_chibistudio\project\build\ch.elf...symbol-file C:\\Clients\\EPD\\SBC\\Graphics\\ugfx_chibios_stm32f429i_chibistudio\\ugfx_chibios_stm32f429i_chibistudio\\project\\build\\ch.elf done. set remotetimeout 20 monitor reset init "monitor" command not supported by this target. monitor sleep 50 "monitor" command not supported by this target. load C:\\Clients\\EPD\\SBC\\Graphics\\ugfx_chibios_stm32f429i_chibistudio\\ugfx_chibios_stm32f429i_chibistudio\\project\\build\\ch.elf You can't do that when your target is `None' tbreak main Temporary breakpoint 1 at 0x800a300: file main.c, line 27. continue The program is not being run. kill The program is not being run. Can you point me in the proper direction please. I figure that you may have already seen this once....
  12. Hi Joel, Figured it out ! The directory path had a directory with a ' in it (C:\Clients\EPD\SBC's\Graphics\ugfx_chibios_stm) [SBC's] This made something very unhappy. It now compiles - on to how to get the program into the Eval board..... Jim
  13. Hi Joel, I am on a win7 machine. Sorry for the trouble... Jim
  14. Hello, I have just setup a new installation of ChibiStudio. Using the demo project: STM32F429i-Discovery, ChibiOS 1.0 I get part of the project to build, but It doesn't seem to be building the ugfx. I changes the directory in the makefile (GFXLIB) , but possibly I should have changed it somewhere else ? Compiling gos_chibios.c Reaping winning child 01301ca0 PID 27647544 CreateProcess(C:\ChibiStudio\tools\gnutools\bin\sh.exe,C:/ChibiStudio/tools/gnutools/bin/sh.exe -c "arm-none-eabi-gcc -c -mcpu=cortex-m4 -O2 -ggdb -fomit-frame-pointer -falign-functions=16 -ffunction-sections -fdata-sections -fno-common -Wall -Wextra -Wundef -Wstrict-prototypes -Wa,-alms=build/lst/gos_chibios.lst -DCORTEX_USE_FPU=FALSE -DTHUMB_PRESENT -mno-thumb-interwork -DTHUMB_NO_INTERWORKING -MD -MP -MF .dep/gos_chibios.o.d -mthumb -DTHUMB -I. -IC:\ChibiStudio\chibios176/os/license -IC:\ChibiStudio\chibios176/os/common/startup/ARMCMx/compilers/GCC -IC:\ChibiStudio\chibios176/os/common/startup/ARMCMx/devices/STM32F4xx -IC:\ChibiStudio\chibios176/os/common/ext/CMSIS/include -IC:\ChibiStudio\chibios176/os/common/ext/CMSIS/ST/STM32F4xx -IC:\ChibiStudio\chibios176/os/rt/include -IC:\ChibiStudio\chibios176/os/common/oslib/include -IC:\ChibiStudio\chibios176/os/common/ports/ARMCMx -IC:\ChibiStudio\chibios176/os/common/ports/ARMCMx/compilers/GCC -IC:\ChibiStudio\chibios176/os/hal/osal/rt -IC:\ChibiStudio\chibios176/os/hal/include -IC:\ChibiStudio\chibios176/os/hal/ports/common/ARMCMx -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/STM32F4xx -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/ADCv2 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/CANv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/DACv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/DMAv2 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/EXTIv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/GPIOv2 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/I2Cv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/MACv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/OTGv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/QUADSPIv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/RTCv2 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/SPIv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/SDIOv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/TIMv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/USARTv1 -IC:\ChibiStudio\chibios176/os/hal/ports/STM32/LLD/xWDGv1 -IC:\ChibiStudio\chibios176/os/hal/boards/ST_STM32F429I_DISCOVERY -IC:\ChibiStudio\chibios176/os/hal/lib/streams -IC:\Clients\EPD\SBC's\Graphics\ugfx_chibios_stm32f429i_chibistudio\ugfx_chibios_stm32f429i_chibistudio\ugfx -IC:\Clients\EPD\SBC's\Graphics\ugfx_chibios_stm32f429i_chibistudio\ugfx_chibios_stm32f429i_chibistudio\ugfx/3rdparty/tinygl-0.4-ugfx/include -IC:\Clients\EPD\SBC's\Graphics\ugfx_chibios_stm32f429i_chibistudio\ugfx_chibios_stm32f429i_chibistudio\ugfx/boards/base/STM32F429i-Discovery/chibios -IC:\Clients\EPD\SBC's\Graphics\ugfx_chibios_stm32f429i_chibistudio\ugfx_chibios_stm32f429i_chibistudio\ugfx/drivers/gdisp/STM32LTDC C:\Clients\EPD\SBC's\Graphics\ugfx_chibios_stm32f429i_chibistudio\ugfx_chibios_stm32f429i_chibistudio\ugfx/src/gos/gos_chibios.c -o build/obj/gos_chibios.o",...) Live child 01301ca0 (build/obj/gos_chibios.o) PID 27647544 Live child 01301af0 (build/obj/gfx.o) PID 27647144 /usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `'' <--------ERROR ****************************** /usr/bin/sh: -c: line 1: syntax error: unexpected end of file <--------ERROR Reaping losing child 01301ca0 PID 27647544 Removing child 01301ca0 PID 27647544 from chain. Live child 01301af0 (build/obj/gfx.o) PID 27647144 make: *** [build/obj/gos_chibios.o] Error 258 make: *** Waiting for unfinished jobs.... /usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /usr/bin/sh: -c: line 1: syntax error: unexpected end of file Reaping losing child 01301af0 PID 27647144 make: *** [build/obj/gfx.o] Error 258 Removing child 01301af0 PID 27647144 from chain. 15:29:44 Build Finished (took 28s.77ms)
×