fastlink30
-
Posts
80 -
Joined
-
Last visited
Content Type
Forums
Store
Downloads
Blogs
Posts posted by fastlink30
-
-
i've removed gfx.h. i not know why i put there, probably some test and after forget to remove
now i have another problem, but is related with embitz ide, on 2 different computer the same project compilation give me error, on first computer, error are related to some define not present on the board include (i must make a specific directory for my custom board, not use discovery stm32f409i), on second computer i have error on the makefile, but probably need to set paths to different directory, anyway something not related to ugfx.
1 curiosity, why there aren't board directory for discovery stm32407 (my custom board is very similar)? too old board? if i remember good on the previous versions of ugfx there was
thanks
-
i can't is too big the file as .zip
-
-
yes, i have replaced makefile with the new
yes, paths are ok
project download link:
http://expirebox.com/download/6064c0440 ... 48a8a.html
(after 2 days is automatically deleted)
-
thank you tectu, now the example compile
i have updated the makefile file
but my project not compile, the error is the same
as you can see (up) the problem is to found the path to the include directory
if i add attachment with my project can help?
-
ok, thanks, i wait
-
i have added in the path variable of system
and is little better, but now i recevice this error:
C:\EmBitz\MULTIBOARD_F407>make
.
C Compiler Options....
arm-none-eabi-gcc -c -ggdb -O0 -mcpu=cortex-m4 -falign-functions=16 -fomit-frame
-pointer -Wall -Wextra -Wstrict-prototypes -fverbose-asm -ffunction-sections -fd
ata-sections -fno-common -flto -MMD -MP -MF .build/dep/fakethumbfile.o.d -I. -Ic
:/EmBitz/MULTIBOARD_F407/ext/ugfx -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/3rdparty/
tinygl-0.4-ugfx/include -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/boards/base/STM32F4
29i-Discovery -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/drivers/gdisp/STM32F429iDisco
very -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/demos/modules/gdisp/basics -Ic:/EmBitz
/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/rt/ports/ARMCMx -Ic:/EmBitz/MULTIBOARD_F40
7/ext/ChibiOS_3.0.1/os/rt/ports/ARMCMx/compilers/GCC -Ic:/EmBitz/MULTIBOARD_F407
/ext/ChibiOS_3.0.1/os/rt/include -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/o
s/hal/osal/rt -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/include -Ic:/
EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/common/ARMCMx -Ic:/EmBitz/
MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM32/STM32F4xx -Ic:/EmBitz/MULTI
BOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM32/LLD -Ic:/EmBitz/MULTIBOARD_F407/
ext/ChibiOS_3.0.1/os/hal/ports/STM32/LLD/DACv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/C
hibiOS_3.0.1/os/hal/ports/STM32/LLD/GPIOv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/Chibi
OS_3.0.1/os/hal/ports/STM32/LLD/I2Cv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.
0.1/os/hal/ports/STM32/LLD/OTGv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/o
s/hal/ports/STM32/LLD/RTCv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal
/ports/STM32/LLD/SPIv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/port
s/STM32/LLD/TIMv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM
32/LLD/USARTv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM32/
LLD/FSMCv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/boards/ST_STM32F
4_DISCOVERY -DGFX_USE_OS_CHIBIOS=TRUE -DGFX_USE_OS_CHIBIOS=TRUE -DCORTEX_USE_FPU
=FALSE -DTHUMB_PRESENT -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB fakethumbfile.c -
o .build/obj/fakethumbfile.o
.
Assembler Options.....
arm-none-eabi-gcc -c -ggdb -O0 -mcpu=cortex-m4 -falign-functions=16 -fomit-frame
-pointer -Wall -Wextra -Wstrict-prototypes -fverbose-asm -ffunction-sections -fd
ata-sections -fno-common -flto -MMD -MP -MF .build/dep/fakethumbfile.o.d -I. -Ic
:/EmBitz/MULTIBOARD_F407/ext/ugfx -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/3rdparty/
tinygl-0.4-ugfx/include -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/boards/base/STM32F4
29i-Discovery -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/drivers/gdisp/STM32F429iDisco
very -Ic:/EmBitz/MULTIBOARD_F407/ext/ugfx/demos/modules/gdisp/basics -Ic:/EmBitz
/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/rt/ports/ARMCMx -Ic:/EmBitz/MULTIBOARD_F40
7/ext/ChibiOS_3.0.1/os/rt/ports/ARMCMx/compilers/GCC -Ic:/EmBitz/MULTIBOARD_F407
/ext/ChibiOS_3.0.1/os/rt/include -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/o
s/hal/osal/rt -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/include -Ic:/
EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/common/ARMCMx -Ic:/EmBitz/
MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM32/STM32F4xx -Ic:/EmBitz/MULTI
BOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM32/LLD -Ic:/EmBitz/MULTIBOARD_F407/
ext/ChibiOS_3.0.1/os/hal/ports/STM32/LLD/DACv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/C
hibiOS_3.0.1/os/hal/ports/STM32/LLD/GPIOv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/Chibi
OS_3.0.1/os/hal/ports/STM32/LLD/I2Cv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.
0.1/os/hal/ports/STM32/LLD/OTGv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/o
s/hal/ports/STM32/LLD/RTCv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal
/ports/STM32/LLD/SPIv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/port
s/STM32/LLD/TIMv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM
32/LLD/USARTv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/ports/STM32/
LLD/FSMCv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/hal/boards/ST_STM32F
4_DISCOVERY -DGFX_USE_OS_CHIBIOS=TRUE -DGFX_USE_OS_CHIBIOS=TRUE -DCORTEX_USE_FPU
=FALSE -DTHUMB_PRESENT -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB fakethumbfile.s -
o .build/obj/fakethumbfile.o
.
Linker Options........
arm-none-eabi-gcc -Wl,--defsym=__process_stack_size__=0x400 -Wl,--defsym=__main_
stack_size__=0x400 -mcpu=cortex-m4 -nostartfiles -mthumb -Wl,--gc-sections -T/ST
M32F407xG.ld -Lc:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.1/os/common/ports/ARMCM
x/compilers/GCC .build/obj/fakethumbfile.o -o .build/MULTIBOARD_F407.elf
.
Compiling c:/EmBitz/MULTIBOARD_F407/ext/ugfx/src/gfx.c
In file included from c:/EmBitz/MULTIBOARD_F407/ext/ugfx/src/gfx.c:16:0:
./gfx.h:164:33: fatal error: src/gos/sys_options.h: No such file or directory
#include "src/gos/sys_options.h"
^
compilation terminated.
c:/EmBitz/MULTIBOARD_F407/ext/ugfx/tools/gmake_scripts/compiler_gcc.mk:242: reci
pe for target '.build/obj/GFXLIB/src/gfx.o' failed
make: *** [.build/obj/GFXLIB/src/gfx.o] Error 1(copy & paste from command line, i made make command)
compiler can't reach the files on the src directory, how i can include this path for compiler?
compiler, assembler & linker for chibios are ok
but when start compile for ugfx (by compiler_gcc.mk) i get this error.
i looked the link you provide me on the other forum (http://wiki.ugfx.org/index.php?title=ChibiOS/RT)
but this not help much, becouse the makefile i use, is what i found on the ugfx\boards\base\STM32F429i-Discovery\example_chibios_3.x\ directory
wich is quite different from the example, also (i think) is specifically made to compile chibios 3 & ugfx togheter by calling only this makefile
thanks
-
part of the makefile:
OPT_OS = chibios
OPT_THUMB = yes
OPT_LINK_OPTIMIZE = yes
OPT_CPU = stm32m4
# uGFX settings
# See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables
GFXLIB = c:/EmBitz/MULTIBOARD_F407/ext/ugfx
GFXBOARD = STM32F429i-Discovery
GFXDEMO = modules/gdisp/basics
# ChibiOS settings
ifeq ($(OPT_OS),chibios)
# See $(GFXLIB)/tools/gmake_scripts/os_chibios.mk for the list of variables
CHIBIOS = c:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.0
CHIBIOS_VERSION = 3
CHIBIOS_BOARD = ST_STM32F4_DISCOVERY
CHIBIOS_CPUCLASS = ARMCMx
CHIBIOS_PLATFORM = STM32/STM32F4xx
CHIBIOS_PORT = v7m <--- changed here
CHIBIOS_LDSCRIPT = STM32F407xG.ld
endif
i have re-copied the makefile over the old on my project folder, now the error change (probably some wrong char on makefile, when i try to modify parameter)
now the error is:
||=== MULTIBOARD_F407, Debug ===|
c:\EmBitz\MULTIBOARD_F407\ext\ChibiOS_3.0.0\os\rt\include\ch.h|71|fatal error: chconf.h: No such file or directory|
c:\EmBitz\MULTIBOARD_F407\ext\ugfx\tools\gmake_scripts\compiler_gcc.mk|233|recipe for target 'bin/Debug/obj/GFXLIB/src/gfx.o' failed|
||=== Build finished: 2 errors, 0 warnings (0 minutes, 1 seconds) ===|
i use the 'example' on boards/base and using stm32f429i-discovery\chibios_3.x makefile
-
i'm trying to use emblitz with ugfx (and chibios 3.0), taked makefile from the stm32f4 discovery directory
first run, i get error ... ,
so i changed line in makefile to
CHIBIOS_PORT = v7m
before was
CHIBIOS_PORT = stm32f4xx
now, when i compile, i get
c:\EmBitz\MULTIBOARD_F407\ext\ugfx\tools\gmake_scripts\compiler_gcc.mk|193|recipe for target 'builddirs' failed|
seems that builddirs is not defined somewhere, how to correct this?
thanks
-
ok, switched to fats & chibios, sdio mode 1 bit, seems functional, fs is mounted correctly, not have more time for today.
next days i try re-implement gfile, if is all ok (sure yes) the next step is try to understand why spi mode not functioning.
thanks for support.
-
tectu, i have disabled gfile and 'installed' the chibios fatfs 0.9 patched, also i connected oscilloscope to spi out and signal is ok, but nss signal is not generated, is always high, and sure this is not good.
maybe is the sd-card module that not let pin a4 to go down becouse there are pull-up resistor on it.... 8-)
tomorrow i check
anyway i have unconnected the nss signal on the sd-card board but anyway signal not change state.
question: but the nss signal is drived by chibios/fatfs or not?
the test-code program is here to check signal out of spi, to check nss i have commented this line and used the 'standard' code to mount the fs
my initialization code
/* Maximum speed SPI configuration (18MHz, CPHA=0, CPOL=0, MSb first).*/
static SPIConfig hs_spicfg = {NULL, GPIOA, 4, SPI_BaudRatePrescaler_32};
/* Low speed SPI configuration (281.250kHz, CPHA=0, CPOL=0, MSb first).*/
static SPIConfig ls_spicfg = {NULL, GPIOA, 4, SPI_BaudRatePrescaler_128};
/* MMC/SD over SPI driver configuration.*/
static MMCConfig mmccfg = {&SPID1, &ls_spicfg, &hs_spicfg};
....
// function alternate per spi1
palSetPadMode(GPIOA, 4, PAL_MODE_OUTPUT_PUSHPULL | PAL_STM32_OSPEED_HIGHEST); // NSS
palSetPadMode(GPIOA, 5, PAL_MODE_ALTERNATE(5) | PAL_STM32_OSPEED_HIGHEST); // SCK
palSetPadMode(GPIOA, 6, PAL_MODE_ALTERNATE(5) | PAL_STM32_OSPEED_HIGHEST); // MISO
palSetPadMode(GPIOA, 7, PAL_MODE_ALTERNATE(5) | PAL_STM32_OSPEED_HIGHEST); // MOSI
palSetPad(GPIOA, 4);// set NSS high
/*
* Initializes the MMC driver to work with SPI1
*/
mmcObjectInit(&MMCD1);
mmcStart(&MMCD1, &mmccfg);
// test code
for (i = 0; i < sizeof(txbuf); i++)
txbuf[i] = (uint8_t)i;
spiAcquireBus(&SPID1); /* Acquire ownership of the bus. */
while (TRUE)
{
//palClearPad(GPIOD, GPIOD_LED5); /* LED OFF. */
spiStart(&SPID1, &ls_spicfg); /* Setup transfer parameters. */
spiSelect(&SPID1); /* Slave Select assertion. */
spiExchange(&SPID1, 512,
txbuf, rxbuf); /* Atomic transfer operations. */
spiUnselect(&SPID1); /* Slave Select de-assertion. */
}
spiReleaseBus(&SPID1); /* Ownership release. */inmarket, as i write before, now i can't look becouse i have installed fatfs on chibios, anyway if i not have success in these days, i try to remount gfile and do what you suggest
-
gfile_fatfs_diskio_chibios,c is ok to use directly (without modification), if i have understood well, when i compile, i not have error or warnings.
if i debug the code the state of MMCD1 is BLK_ACTIVE, this means only that the driver is initialized only
when gfileOpen() try to mount the volume and arrive to disk_initialize function, the state is BLK_ACTIVE, so after all the things fail and can't open file
-
after a long time, i restart do test with mm-card, to do this i decide to use gfile (seems very simple to use), but i'm stuck on that
connected mmc to spi1, stmf4 discovery, em-blocks ide, ugfx 2.2, chibios 2.6.6
gfxconf.h:
GFX_USE_GFILE TRUE
GFILE_NEED_FATFS TRUE
mcuconf.h:
STM32_SPI_USE_SPI1 TRUE
/* Maximum speed SPI configuration (18MHz, CPHA=0, CPOL=0, MSb first).*/
static SPIConfig hs_spicfg = {NULL, GPIOA, 4, 0};
/* Low speed SPI configuration (281.250kHz, CPHA=0, CPOL=0, MSb first).*/
static SPIConfig ls_spicfg = {NULL, GPIOA, 4, SPI_CR1_BR_2 | SPI_CR1_BR_1};
/* MMC/SD over SPI driver configuration.*/
static MMCConfig mmccfg = {&SPID1, &ls_spicfg, &hs_spicfg};
.....
// function alternate per spi1
palSetPadMode(GPIOA, 4, PAL_MODE_OUTPUT_PUSHPULL | PAL_STM32_OSPEED_LOWEST); // NSS
palSetPadMode(GPIOA, 5, PAL_MODE_ALTERNATE(5) | PAL_STM32_OSPEED_LOWEST); // SCK
palSetPadMode(GPIOA, 6, PAL_MODE_ALTERNATE(5) | PAL_STM32_OSPEED_LOWEST); // MISO
palSetPadMode(GPIOA, 7, PAL_MODE_ALTERNATE(5) | PAL_STM32_OSPEED_LOWEST); // MOSI
palSetPad(GPIOA, 4);// set NSS high
mmcObjectInit(&MMCD1);
mmcStart(&MMCD1, &mmccfg);
GFILE *f;
f = gfileOpen("config.cfg", "r");
if (!f) {
errmsg = "Err: Open WAV";
} else {
gfileRead(f,fbuff,20);
gfileClose(f);
}i must use function mmcObjectInit() etc.? these are chibios functions. i looked in demo dir,demos/modules/gaudio/play-wave, nothing is initialized (how to choose what spi to use?), after prepare buffer, start to open file on card directly, i not understand how he know what spi use and how he initialize things.
Anyway in the piece of code i write up there, everytime f = 0 , if i leave mmc... functions or not, result is the same.
maybe i have forgot some step to make functional this?
there are only some few example about gfile.
thanks
-
found the problem! :roll:
my mistake, i initialize GPIOD_15 before i show the first page, but GPIO_15 is used by display bus.... so, after problem to send data to display... ach!
sorry tectu & innmarket for the time loosed about my stupid mistake!
-
i had put 2 video on the usual repository, is more simple for me (excuse my english)
the new, show what happen when i start debug, as you can see, i can do calibration, and text is ok, after calibration, you can see some white pixel on the right
the old, show the old project (first page only), is correct. no calibration becouse not needed.
i tryed to disable all the optimization but nothing change, fpu is active
at this point i not have idea what to try.. :evil:
i tryed also to deactivate all (only GDISP active)
-
yes, old project is working, i tryed to be sure, and yes, is working
i'm sure i have replaced the board_ssd1289.h file with file of old project & put to slow speed dma
what i not understand if is communication problem, also the logo i can't see, but i see correctly, also the mouse calibration, text & graphics!
can be some optimization settings of the compiler?
-
i not see text on display, or to say better, i see something that seems text, but not writed correctly (see image attached), also there are blu line, garbage
i use stm32f4 discovery, ssd1289, display is connected with wire, i tryed with my previous project (with chibistudio), and goes fine, so is not problem of wire, is something about setup.
i have modified (like in previous project) the driver for the ss1289, to go more slow (DMA), if i use the original, i see only fuzzy
i put on the usual place photo and project modified
you can see on the left what is supposed be text
logo startup is correct, also calibration page
-
ok, i found in another thread
GINPUT_MOUSE_NEED_CALIBRATION FALSE on the mouse driver .h
now the second more difficult thing.. why not writed correctly display
-
thanks for all tectu, i have some problem, but i try to solve by myself (i see correctly displayed the calibration screen, but not my text after the calibration)
how to disable the calibration screen? i need to go immediatly to first page, without, everytime make calibration, at this point not interest me interact with touchscreen
-
ok, found the problem, i not include the dir src/gdisp :? :roll:
OVEN_TFT2_6.ZIP
what is the font _aa? what is the difference with 'normal' font?
-
before replaced the files, error go away, after i try to
remove directory ugfx and replace with update from repository,also previous error go away but (this happen also when only replace file)..
obj\debug\ext\ugfx\src\gfx.o: In function `gfxInit':
C:\EmBlocks\OVEN_TFT2/ext\ugfx\src/gfx.c:90: undefined reference to `_gdispInit'
obj\debug\ext\ugfx\src\ginput\ginput_mouse.o: In function `GetMouseReading':
C:\EmBlocks\OVEN_TFT2/ext\ugfx\src\ginput/ginput_mouse.c:181: undefined reference to `gdispGGetWidth'
C:\EmBlocks\OVEN_TFT2/ext\ugfx\src\ginput/ginput_mouse.c:182: undefined reference to `gdispGGetHeight'
C:\EmBlocks\OVEN_TFT2/ext\ugfx\src\ginput/ginput_mouse.c:189: undefined reference to `gdispGGetOrientation'
obj\debug\ext\ugfx\src\ginput\ginput_mouse.o: In function `CalibrationCrossDraw':
never ending story..
in the usual place, if can help you (and me!)
OVEN_TFT2_5.rar
-
thank you tectu, now i can compile (probably before i do mix with 2.2 version, old version & repository version.. )
but when i add gfxInit(), receive this error :
.\src/gmouse_lld_ADS7843_board.h: In function 'read_value':
.\src/gmouse_lld_ADS7843_board.h:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
.\src/gmouse_lld_ADS7843_board.h:38:43: warning: unused parameter 'm' [-Wunused-parameter]
.\src/gmouse_lld_ADS7843_board.h:38:55: warning: unused parameter 'port' [-Wunused-parameter]
ext\ugfx\drivers\ginput\touch\ADS7843\gmouse_lld_ADS7843.c: At top level:
ext\ugfx\drivers\ginput\touch\ADS7843\gmouse_lld_ADS7843.c:53:18: error: 'BOARD_DATA_SIZE' undeclared here (not in a function)
i think that i not include some .h file of the mouse driver
i have moved the directory of chibios & uGFX inside dir ext, not think is the problem
OVEN_TFT2_33.rar
-
sorry tectu (i'm tired) the file is here..i not write the new link..
filename oven_tft_2
-
i've done as you say (copyed the file in the same dir of the main.c and remove _template), and added to the project
but error persist..
i have put the project modified on the same place (ge.tt)
makefile & embitz
in Support
Posted
after much time i can dedicate some time to compilation of this project, now i have this problem
.
C Compiler Options....
arm-none-eabi-gcc -c -ggdb -O0 -mcpu=cortex-m4 -falign-functions=16 -fomit-frame
-pointer -Wall -Wextra -Wstrict-prototypes -fverbose-asm -MMD -MP -MF .build/dep
/fakethumbfile.o.d -I. -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8 -
Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/3rdparty/tinygl-0.4-ugfx/
include -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/boards/base/MULT
IBOARD_F407 -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/drivers/gdis
p/SSD1289 -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/demos/modules/
gdisp/basics -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/common/ports/ARMCM
x/devices/STM32F4xx -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/ext/CMSIS/i
nclude -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/ext/CMSIS/ST -Ic:/EmBitz
/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/rt/include -Ic:/EmBitz/MULTIBOARD_F407/ext
/ChibiOS_3.0.2/os/rt/ports/ARMCMx -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/
os/rt/ports/ARMCMx/compilers/GCC -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/o
s/hal/osal/rt -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/include -Ic:/
EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/common/ARMCMx -Ic:/EmBitz/
MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM32/STM32F4xx -Ic:/EmBitz/MULTI
BOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM32/LLD -Ic:/EmBitz/MULTIBOARD_F407/
ext/ChibiOS_3.0.2/os/hal/ports/STM32/LLD/DACv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/C
hibiOS_3.0.2/os/hal/ports/STM32/LLD/GPIOv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/Chibi
OS_3.0.2/os/hal/ports/STM32/LLD/I2Cv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.
0.2/os/hal/ports/STM32/LLD/OTGv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/o
s/hal/ports/STM32/LLD/RTCv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal
/ports/STM32/LLD/SPIv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/port
s/STM32/LLD/TIMv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM
32/LLD/USARTv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM32/
LLD/FSMCv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/boards/ST_STM32F
4_DISCOVERY -DGFX_USE_CHIBIOS=TRUE -DGFX_USE_OS_CHIBIOS=TRUE -DCORTEX_USE_FPU=FA
LSE -DTHUMB_PRESENT -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB fakethumbfile.c -o .
build/obj/fakethumbfile.o
.
Assembler Options.....
arm-none-eabi-gcc -c -ggdb -O0 -mcpu=cortex-m4 -falign-functions=16 -fomit-frame
-pointer -Wall -Wextra -Wstrict-prototypes -fverbose-asm -MMD -MP -MF .build/dep
/fakethumbfile.o.d -I. -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8 -
Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/3rdparty/tinygl-0.4-ugfx/
include -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/boards/base/MULT
IBOARD_F407 -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/drivers/gdis
p/SSD1289 -Ic:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/demos/modules/
gdisp/basics -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/common/ports/ARMCM
x/devices/STM32F4xx -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/ext/CMSIS/i
nclude -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/ext/CMSIS/ST -Ic:/EmBitz
/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/rt/include -Ic:/EmBitz/MULTIBOARD_F407/ext
/ChibiOS_3.0.2/os/rt/ports/ARMCMx -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/
os/rt/ports/ARMCMx/compilers/GCC -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/o
s/hal/osal/rt -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/include -Ic:/
EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/common/ARMCMx -Ic:/EmBitz/
MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM32/STM32F4xx -Ic:/EmBitz/MULTI
BOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM32/LLD -Ic:/EmBitz/MULTIBOARD_F407/
ext/ChibiOS_3.0.2/os/hal/ports/STM32/LLD/DACv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/C
hibiOS_3.0.2/os/hal/ports/STM32/LLD/GPIOv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/Chibi
OS_3.0.2/os/hal/ports/STM32/LLD/I2Cv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.
0.2/os/hal/ports/STM32/LLD/OTGv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/o
s/hal/ports/STM32/LLD/RTCv2 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal
/ports/STM32/LLD/SPIv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/port
s/STM32/LLD/TIMv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM
32/LLD/USARTv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/ports/STM32/
LLD/FSMCv1 -Ic:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/hal/boards/ST_STM32F
4_DISCOVERY -DGFX_USE_CHIBIOS=TRUE -DGFX_USE_OS_CHIBIOS=TRUE -DCORTEX_USE_FPU=FA
LSE -DTHUMB_PRESENT -DTHUMB_NO_INTERWORKING -mthumb -DTHUMB fakethumbfile.s -o .
build/obj/fakethumbfile.o
.
Linker Options........
arm-none-eabi-gcc -Wl,--defsym=__process_stack_size__=0x400 -Wl,--defsym=__main_
stack_size__=0x400 -mcpu=cortex-m4 -nostartfiles -mthumb -Tc:/EmBitz/MULTIBOARD_
F407/ext/ChibiOS_3.0.2/os/common/ports/ARMCMx/compilers/GCC/ld/STM32F407xG.ld -L
c:/EmBitz/MULTIBOARD_F407/ext/ChibiOS_3.0.2/os/common/ports/ARMCMx/compilers/GCC
.build/obj/fakethumbfile.o -o .build/MULTIBOARD_F407.elf
.
Linking .build/MULTIBOARD_F407.elf
.build/obj/GFXLIB/src/gdisp/gdisp.o: In function `drawpixel':
c:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/src/gdisp/gdisp.c:128: und
efined reference to `gdisp_lld_draw_pixel'
collect2.exe: error: ld returned 1 exit status
c:/EmBitz/MULTIBOARD_F407/ext/Tectu-ugfx-4eb0dbb1e3b8/tools/gmake_scripts/compil
er_gcc.mk:282: recipe for target '.build/MULTIBOARD_F407.elf' failed
make: *** [.build/MULTIBOARD_F407.elf] Error 1
sure is stupid problem, but i not see where must be this function (drawpixel), also another thing, i have put my board files under ugfx directory / boards/base, but (as you say) i want put outside the ugfx dire, how i can change the makefile to compile correctly?
thanks