Jump to content

jtronix

Members
  • Posts

    12
  • Joined

  • Last visited

About jtronix

  • Birthday 11/30/1978

Recent Profile Visitors

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

  1. Hi, is there any way to selectively disable widget focus on containers/pages that do not contain virtual keyboard widget? Widget highlighting looks a bit strange on pages that contain only few push buttons.
  2. I solved this problem with the help from UECIDE forum by relocating C style declarations into a separate .c file. For detailed solution see the link I posted earlier. This means that uGfx library does not require modifications, except in gdriver.h!
  3. UECIDE support says this kind of error can't be hidden. I can try migrating from ChipKit PIC32 to Teensy ARM hardware platform while keeping same software tools, but I'm afraid to face similar issues because Teensy ARM compiler that is bundled with UECIDE is gcc based too.
  4. Thank you @inmarket. I can't see any error numbers in the compiler output. I have asked a similar question on UECIDE forum and currently awaiting for the response.
  5. Editing only one line in gdriver.h is not a big problem, I can live with that. But I found one more problem related to gcc duplicate const error. Customised keyboard layout requires GVSpecialKey declaration in the main sketch. After adding #include "src/gwin/gwin_keyboard_layout.h" to the sketch, UECIDE shows the following two errors: • Error at line 53 in file gwin_keyboard_layout.h: ‣ duplicate 'const' • Error at line 54 in file gwin_keyboard_layout.h: ‣ duplicate 'const' Compiling Failed Is there any way around this issue? Perhaps adding some gcc compilation flags? I would like to avoid modifying uGFX source if possible.
  6. I'm not sure if UECIDE treats warnings as errors, its configured as in the picture below: UECIDE calls pic32-g++ compiler with the following parameters: -mprocessor=32MX795F512L -Os -G1024 -g -fno-exceptions -ffunction-sections -fdata-sections -mno-smart-io -mdebugger -Wcast-align -fno-short-double -DF_CPU=80000000L -DARDUINO=157 -D_BOARD_MEGA_ -DMPIDEVER=10001932 -DMPIDE=157 -DOPT_BOARD_INTERNAL -DOPT_SYSTEM_INTERNAL -DIDE=UECIDE -D_USB UECIDE console shows the following uFGX messages on compilation, there are more warnings but they are not relevant to uGFX: • Error at line 72 in file gmouse_lld_ADS7843.c: ‣ initialization from incompatible pointer type [enabled by default] • Error at line 72 in file gmouse_lld_ADS7843.c: ‣ (near initialization for 'GMOUSEVMT_OnlyOne[0].init') [enabled by default] • Error at line 90 in file gdriver.h: ‣ duplicate 'const' Compiling Failed
  7. Compiler shows the following message: Error at line 956 in file gfx_compilers.h: ‣ Compiler: "GCC" [enabled by default]
  8. The compiler I use is PIC32 version 1.43, its GCC based on XC32 version 1.43 from Microchip. I did not enable to any flags explicitly, it is actually set to suppress all warnings via UECIDE menu.
  9. Touch panel is finally working. Please feel free to add it to Arduino project examples. I had to edit src/gdriver/gdriver.h, otherwise it does not compile. Change line 90 from "typedef const struct GDriverVMT const GDriverVMTList[1];" to "typedef const struct GDriverVMT GDriverVMTList[1];" ugfx_demo_touch_raw_readings.sar
  10. Hi Joel, thank you for your help. I would wait until touch panel is functional before using it as an example project. There are two ADS7843 configurations which I can use as a starting point: FireBull-STM32F103-FB and HY-MiniSTM32V. Later I will probably need some help with function descriptions, but for now I'm ok. I will publish the results anyway.
  11. I successfully configured Arduino sketch to use GDISP module on ChipKit Max32 and TJCTM24028-SPI (ILI9341 & TS2046) hardware. I have attached a sketch folder in case somebody else finds this interesting. Use UECIDE to open it. Now I need to get TS2046 touch panel working. The TS2046 readme.txt file says to use the ADS783 driver due to full compatibility with the XPT2046. Is there ADS7843 board sample configuration file available for Arduino platform? gfx_test.sar
×
×
  • Create New...