2012-07-18 01:14 PM
2012-07-18 01:27 PM
2012-07-18 01:45 PM
Now i have a new problem, where i can't find much info about.
i googeld the error but could not find any helpfull answers so i try it here. what could be wrong ? i attached the whole project, i use yatargo as compiler and eclips as development platform.22:39:20 **** Incremental Build of configuration Build (GNU) for project rs232 ****
make all
Linking target: out/rself
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -Tstm32f4xx.ld -g -Wl,-Map=out/rsmap,--cref,--no-warn-mismatch -Wl,--gc-sections -nostartfiles out/startup_stm32f4xx.o out/stm32f4xx_it.o out/system_stm32f4xx.o out/stm32f4_discovery.o out/stm32f4_discovery_lis302dl.o -o out/rself
out/startup_stm32f4xx.o: In function `LoopFillZerobss':
G:\workspace\rs232/startup_stm32f4xx.s:105: undefined reference to `main'
out/stm32f4xx_it.o: In function `SDIO_IRQHandler':
G:\workspace\rs232/stm32f4xx_it.c:149: undefined reference to `SD_ProcessIRQSrc'
collect2.exe: error: ld returned 1 exit status
make: *** [out/rself] Error 1
22:39:20 Build Finished (took 421ms)
________________
Attachments : rs232.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtVV&d=%2Fa%2F0X0000000aR1%2FhrS2si_mrI4yUpY2qRqfjWZMsTlw.Igz1BCDFxCb1wA&asPdf=false
2012-07-18 11:52 PM
I can't comment on Yagarto/Eclipse, but
G:\workspace
s232/startup_stm32f4xx.s:105: undefined reference to `main'
...
G:\workspace
s232/stm32f4xx_it.c:149: undefined reference to `SD_ProcessIRQSrc'
Looks like some sources are not actually belonging to the project.
They not only need to be in place, but also included in the project and the build.
Especially main() should be easy to locate.