/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Learning to recompile the project

Username:     
Password:     
             

Forum

# 1   2012-03-14 09:45:38 Learning to recompile the project (project: STM32L Weather application v1.1)

seb
New member
Registered: 2012-02-22
Posts: 6

Learning to recompile the project (project: STM32L Weather application v1.1)

After removing/adding the elf files in the weather project, the build on Ride7 still fails for the missing startup
 
Building C:\Users\Seb\Documents\MCU related\Raisonnance\STM32L-Weather-application-v1.0\STM32L_Weather\Weather.rapp
Running: LD Linker
"C:\Program Files (x86)\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -Wl,-T -Xlinker "C:\Users\Seb\Documents\MCU related\Raisonnance\STM32L-Weather-application-v1.0\STM32L_Weather\objdebug\Weather.elf.ld" -u _start -Wl,-static -Wl,--gc-sections -Wl,-Map -Xlinker "C:\Users\Seb\Documents\MCU related\Raisonnance\STM32L-Weather-application-v1.0\STM32L_Weather\objdebug\Weather.map" -N -nostartfiles   
c:/program files (x86)/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.5.2/../../../../arm-none-eabi/bin/ld.exe: cannot find C:\Raisonance\Ride\lib\ARM\CircleOS\Application_Startup.o 
collect2: ld returned 1 exit status 
 
Build failed

Any hints there?

Offline

 

# 2   2012-03-20 07:44:07 Learning to recompile the project (project: STM32L Weather application v1.1)

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Learning to recompile the project (project: STM32L Weather application v1.1)

The linker does not find the Application_startup.o which is provided by the Ride installation, and your installation directory is different from the original project.
You just have to modify the parameter "LD Linker/startup/startup file" in your Ride project.

Offline

 

Board footer