Page 1 of 1
keil error when trying to build
Posted: Fri Apr 12, 2013 1:08 pm
by daviddawe1982
Hello all,
i followed a tutorial to get keil configured for my stm32f4 and chibios but i get a error when i try to build
error : " main.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST. "
from what google tells me some thing to do with no startup file is this correct ??
how do i check if i have included the chibios start up file??
tutorial :
http://www.chibios.org/dokuwiki/doku.php?id=chibios:community:guides:keil_uvision_chibios_rt_how-to
Re: keil error when trying to build
Posted: Fri Apr 12, 2013 6:35 pm
by Giovanni
Hi,
I suggest you take one of the F4 keil projects from 2.4.3 and then modify it. Don't use those in 2.5.x because they have to be updated.
Giovanni
Re: keil error when trying to build
Posted: Sun Apr 14, 2013 8:49 am
by daviddawe1982
ok i worked out the last problem now i am getting this error :
Build target 'Demo'
linking...
.\obj\ch.axf: Error: L6218E: Undefined symbol GDISP (referred from main.o).
.\obj\ch.axf: Error: L6218E: Undefined symbol gdispDrawPixel (referred from main.o).
.\obj\ch.axf: Error: L6218E: Undefined symbol gdispInit (referred from main.o).
Target not created
at first the demo went fine and downloaded to the board as it should but when i modify it trying to add chibios gfx i get the error, where and how should i define the gdisp stuff
thanks
Re: keil error when trying to build
Posted: Sun Apr 14, 2013 11:10 am
by Tectu
Have you followed
the documentation? Did you add the
gfxconf.h as well?
I don't know about KEIL but there are people using ChibiOS/GFX with KEIL without any problems. You just have to include everything properly into your project with which I cannot help you.
~ Tectu
Re: keil error when trying to build
Posted: Sun Apr 14, 2013 12:18 pm
by daviddawe1982
yep i added the gfxconf file i even tested it by deleting it and trying to build and keil picked it up straight away..
Re: keil error when trying to build
Posted: Sun Apr 14, 2013 12:19 pm
by daviddawe1982
what chibios files define these??
Re: keil error when trying to build
Posted: Sun Apr 14, 2013 2:44 pm
by Tectu
I don't know how KEIL does handle this stuff but are you sure that ALL related files are in your project tree? Have you tried to completely clean and rebuild the project?
~ Tectu
Re: keil error when trying to build
Posted: Mon Apr 15, 2013 12:59 am
by daviddawe1982
Yea i tried a rebuild i am now going to try out chibios studio i am just having trouble using open ocd just having trouble getting it to work i am using the windows openocd i could get it to run buy cmd and connect via telnet with cmd but when i try to configure eclipse it will not work i may try the script version of openocd tonight . As far as building i only get 1 error that there is no make in PATH