/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / How to use a STM32-Circle project with more than one C files ?

Username:     
Password:     
             

Forum
  • Index
  •  » F.A.Q.
  •  » How to use a STM32-Circle project with more than one C files ?

# 1   2007-08-06 09:25:10 How to use a STM32-Circle project with more than one C files ?

Remy
New member
From: Grenoble
Registered: 2007-07-09
Posts: 7

How to use a STM32-Circle project with more than one C files ?

As you can see in the Zip files that you can download in Projects section, a batch file is included in each Zip to directly load the application without using Ride7 thanks to Circle_Mgr.exe

But if you make a project with further C files you will generate more than one object files (*.o) and you can't put on your Zip a single object file to be loaded by Circle_Mgr (which can load only single files).

So you have to add a new application in your project that will generate a *.lib file that could be loaded by the batch file.

In the Project window.
http://shnoukteam.free.fr/STM32/images/projectwindow.png


Right click on project and add a new application.
http://shnoukteam.free.fr/STM32/images/addappli.png


Choose "new library to be built" in type.
http://shnoukteam.free.fr/STM32/images/addlib.png


In project window,right click on this new application to add it your files
http://shnoukteam.free.fr/STM32/images/addfiles.png


You now may have 2 applications in your project, the first is used to debug
and the second only to build the *.lib file.
http://shnoukteam.free.fr/STM32/images/finalwindow.png


You will find a modified loader for OS_Test.lib in the OS_Test Zip in projects section.

Last edited by Remy (2007-08-07 12:50:24)

Offline

 

  • Index
  •  » F.A.Q.
  •  » How to use a STM32-Circle project with more than one C files ?

Board footer