Forum : ARM
Post Information | Post |
---|---|
March 13, 2009 - 6:35pm
|
I have a program that was given to me that was made in IAR. This is the first time I've played around with Ride7. This is also the first time I've programmed an ARM chip. I do have experience with ATMEL, and C# programming, though. I'm trying to get the program to run in RIDE7, but I've come across this error that I can't seem to figure out. I've found the file STM32F10x_COMMON.ld and put it in an inluded folder, but it still doesn't work: Any help would be much appreciated. Thanks, Timothy |
Hi Tim,
From your linker command line, it looks like your project uses a single .ld file. Did you check your "C:\ROOT\Raisonance\STM32_ACIM\Output\STM32_ACIM.elf.ld" file? You can open it in an editor (Ride7 would be just fine) and read the linker directive from it. At a given point it will probably include another file "STM32F10x_COMMON.ld" that does not exist on your machine in the specific directory. You must then correct the path. The default is C:\Program Files\Raisonance\Ride\Lib\ARM\STM32F10x_COMMON.ld, but should be adapted to your own machine.
Regards,
Bruno
Hi,
The ".elf.ld" file ("STM32_ACIM.elf.ld" in your case) is generated by Ride at each link.
It includes some sub-scripts that depend on the linker options of the project.
Are you using the default linker script in the linker options in your project?
Please try to compile one of the examples from Ride and tell us if it works.
(\Examples\ARM\REva\STM32F103_Toggle\...)
Best Regards,
Vincent