first of all I want to introduce myself. My name is Miroslav Bozic, and I'm PHD student at Faculty of Electronic Engineering, University of Nis, Serbia. Before STM32 I successfully used Microchip PIC microcontrollers, but now I'm interested in new technologies especially ARM. When I search for development tools and IDE for STM I found chibios/RT very useful. I setup Eclipse environment and build some example code from chibios demos. Everything went as I expected and after building I got hex file which I uploaded to the STM32F4 Discovery board. I got runing example.
A couple a days ago I received HY32D display board. It consist of LCD display with resistive touch panel and SSD1289 display controller. Also the board include XPT2046 touch panel controller. When I start to read about driver for SSD1289 I found uGFX - The GUI library for microcontrollers. That was perfect start point for me. Before everything I wan't at the begining is to check if the display I bought from China is working properly. To do that I download examples from https://github.com/etmatrix/ChibiOS-GFX-Example. I tried to compile bench-FSMC demo example. I import project on the same way I did with chibios demo project. Also I copy uGFX files into chibios/ext folder. Then I resolved the index and try to build all. Before build I made changes on make file in accordance to my paht to the chibios folder. After build all I got next message in console:
00:10:48 **** Incremental Build of configuration Default for project mandelbrot-FSMC ****
make all
makefile:245: ../..//os/ports/GCC/ARMCMx/flash.mk: No such file or directory
make: *** No rule to make target `../..//os/ports/GCC/ARMCMx/flash.mk'. Stop.
00:10:49 Build Finished (took 512ms)
I opened the make file and found that there is no flash.mk file into the ARMCMx folder. I commented out this line in make file and try to build the project without it. Then, after build all I got next error message in console:
00:13:23 **** Incremental Build of configuration Default for project mandelbrot-FSMC ****
make all
Compiling crt0.c
arm-none-eabi-gcc: error: unrecognized argument in option '-mfloat-abi=yes'
arm-none-eabi-gcc: note: valid arguments to '-mfloat-abi=' are: hard soft softfp
make: *** [build/obj/crt0.o] Error 1
00:13:24 Build Finished (took 876ms)
I search the internet for both errors but I didn't find anything useful. Does somebody had the same problem?
Also, where I can find some tutorial how to use chibios and uGFX properly. I would like to start this project from beginning, to initialize everything and to draw some rectangle or something else, just to understand how this component works. After that I will start to make advanced functionality. I can use example but there is a lot of files, and I don't know which one I have to include in simple project.
Also I would be grateful if someone shared a similar project with me, witch consist to the same LCD.
I hope that somebody know the answers to my questions.
Best regards.