/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

Username:     
Password:     
             

Forum
  • Index
  •  » STM32 primer
  •  » Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

# 1   2012-12-13 06:45:00 Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

softy
Member
Registered: 2012-12-03
Posts: 68

Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

Hi,
I am having trouble buildng the project for Evo_Circle_STM32F103VG.I am getting the following error.



C:\Program Files (x86)\Raisonance\Ride\Lib\ARM\startup_stm32f10x_hd.o: In function `LoopFillZerobss': 
(.text.Reset_Handler+0x30): undefined reference to `main' 
collect2: ld returned 1 exit status 
  Error Code: 0x1
 
Build failed



I am able to build it successfully for Evo_Circle_STM32F103VE module .For Evo_Circle_STM32F103VG i have changed the processor to Evo_Circle_STM32F103VG in the Advanced ARM options and replaced the Evo_Circle_STM32E.elf file with the Evo_Circle_STM32G.elf but still the same error.
Can some one plz assit.
Thanks and Rgds,
Softy


" Pain is temporary, Quitting Lasts for ever"

Offline

 

# 2   2012-12-13 09:31:57 Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

Etienne.C
Administrator
Registered: 2012-12-04
Posts: 71

Re: Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

Hi Softy,

As Vincent wrote you, first you should reinstall Ride7 and the RKit-ARM in another directories:
c:\raisonance
c:\Program Files

After that, follow the instruction written on the inertial sensor project:

The "Evo_Circle_STM32E.elf" and "FAT_OP4.elf" files location depend on your Ride installation; delete them from the projet and add it back before building the project.

It will build now.

Regards,

Etienne.C

Offline

 

# 3   2012-12-13 10:14:24 Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

softy
Member
Registered: 2012-12-03
Posts: 68

Re: Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

Hi Etienne,

Thanks for the reply.

I have dome the same now.Installed both Rkit and Ride in the C:/.Now I want to import the Inertial Sensor Project built for Evo_Circle_STM32F103VE to the Evo_Circle_STM32F103VG.I understand there are certain peripheral differences and I need to change the code, but configuration wise what has to be changed and where.
Does  changing the processor to Evo_Circle_STM32F103VG in the Advanced ARM options and copying the Evo_Circle_STM32G.elf is a right step.

If i Do so i get teh same error as above :

My aim is to import the Inertial Sensor  project(http://www.stm32circle.com/projects/project.php?id=219) built for Evo_Circle_STM32VE to Evo_Circle_STM32VG primer.
I have the Raisonance inertial Sensor Board with me.

Can you please assist in this.Are you also able to build the project successfully for Evo_Circle_STM32VG primer.How?


Rgds,
Softy

Last edited by softy (2012-12-13 10:22:14)


" Pain is temporary, Quitting Lasts for ever"

Offline

 

# 4   2012-12-13 10:52:33 Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

Hi,

It seems like this project was designed with an old version of Ride and the first time you change the target processor, it incorrectly reinitializes some of the options, including the startup. This is what explains your build problem.

We will correct the project in the zip. In the meantime, you can simply restore the startup options:
"Use Default Startup" -> "No"
"Startup file" -> "$(RKitLib)\ARM\CircleOS\application_startup.o"

Then it will build.

There are no peripheral differences between the STM32F103VE and the STM32F103VG. So there is only the CircleOS elf file to change in this situation. No change in the code required.

If you were changing from a STM32F to a STM32L as you mention in your other post, (or from STM32F1 to STM32F3, or ...) then it would be much more different as I explain in this same other post.

Look at the devices datasheets and reference manuals, from the ST website, to know the differences between the devices.

Best Regards,

Vincent

Offline

 

# 5   2012-12-17 04:13:49 Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

softy
Member
Registered: 2012-12-03
Posts: 68

Re: Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

This worked : "Startup file" -> "$(RKitLib)\ARM\CircleOS\application_startup.o"
Rgds & Thanks
Softy


" Pain is temporary, Quitting Lasts for ever"

Offline

 

  • Index
  •  » STM32 primer
  •  » Inertial Sensor project Build Failing for STM32F103VG_Evo_Circle

Board footer