Jump to content


  • Content Count

  • Joined

  • Last visited

About tombalabomba

  • Rank
  1. tombalabomba

    STM32F4 + SystemWorkbench + ST7735

    It lookls like this is a quite good starting point. Many Thanks!
  2. tombalabomba

    STM32F4 + SystemWorkbench + ST7735

    Hi CPU20, can I interchange also the rest of the files of the ST7565 folder? The reason I'm asking this question is that I found several bugs in ST7735/gdisp_lld_ST7735.c: line 77: #include "drivers/gdisp/ST7735/st7735.h" line 85: #define write_data_repeat(g, data, count) { int i; for (i = 0; i < count; ++i) write_data (g, data) ;} line 205: static void execute_cmds (GDisplay *g, const uint8_t *addr) { line 210: write_data_byte (g,*addr++) is implicit declared. I guess it should be write_data(.) but in that case the argument list doesn't fit If the ST7565 driver is similar to the ST7735 and only a few modifications are required I guess it would be easier to do it that way. Hence, I kindly ask you to advice which modifications apart from changing "ST7567" to "ST7735" are required. Many Thanks
  3. tombalabomba

    STM32F4 + SystemWorkbench + ST7735

    Hi CPU20, it's kinda embarrassing but it seems I forgot to add it to the other languages as well. Many thanks for this hint. This brings me directly to my second question. Since I couldn't find a board template file for the ST7735 controller, I struggle a bit to set up the board file. Do have a template available or is it similar to another controller? In case of the second I kindly ask you to give me a hint which one it is. BR
  4. tombalabomba

    STM32F4 + SystemWorkbench + ST7735

    Hi folks! I'd like to run uGFX on an STM32F429I-DISCO board using an external 1.8" TFT (ST7735). Unfortunately since I'm quite a newbe, I face already problems setting up my IDE. Since I'm using System Workbench for STM32 (version 2.3) I followed the instructions shown here https://wiki.ugfx.io/index.php/Using_Eclipse . I created a new C-project including already the right firmware for the STM32F429 MCU. Then I imported the uGFX lib and configured the includes and source locaton according: . Finally, I copied gfxconf.example.h to inc directory renamed it to gfxconf.h and configured GFX_USE_OS_RAW32 to TRUE. So far so good, but a soon as I include gfx.h I get compiling errors: 09:55:32 **** Incremental Build of configuration Debug for project ST32F4_ST7735 **** make all Building file: ../src/main.c Invoking: MCU GCC Compiler /home/tombalabomba/embedded/Demo/ST32F4_ST7735/Debug arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DSTM32 -DSTM32F4 -DSTM32F429ZITx -DDEBUG -DSTM32F429xx -DUSE_HAL_DRIVER -I"/home/tombalabomba/embedded/Demo/ST32F4_ST7735/HAL_Driver/Inc/Legacy" -I"/home/tombalabomba/embedded/Demo/ST32F4_ST7735/inc" -I"/home/tombalabomba/embedded/Demo/ST32F4_ST7735/CMSIS/device" -I"/home/tombalabomba/embedded/Demo/ST32F4_ST7735/CMSIS/core" -I"/home/tombalabomba/embedded/Demo/ST32F4_ST7735/HAL_Driver/Inc" -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c" ../src/main.c:13:17: fatal error: gfx.h: No such file or directory #include "gfx.h" ^ src/subdir.mk:27: recipe for target 'src/main.o' failed compilation terminated. make: *** [src/main.o] Error 1 09:55:32 Build Finished (took 469ms) That's quite odd since gfx.h has been added to the include path. Has anyone faced already a similar problem? Apart from my IDE issue I wonder if there exists a board template file for the ST7735 controller. Suprisingly, just for this controller there is no such a file located in the according drivers/gdisp directory. Any help is highly appreciated. BR Thomas