/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Uploading with Circle_Mgr

Username:     
Password:     
             

Forum

# 1   2011-07-28 15:32:24 Uploading with Circle_Mgr

smiermont
New member
From: Grenoble, France
Registered: 2011-06-21
Posts: 5

Uploading with Circle_Mgr

Hello

When I add some of the stm32f10x_***.c files to my project, I end up with a bunch of .o files in the objdebug or objrelease directories, and the add_to_Circle.bat script refuses to work when there are more than one .o file.

Now, how do I upload an application to my Evo Primer running CircleOS?
Do anyone has an updated version of add_to_Circle.bat?

Regards,

S.

Offline

 

# 2   2011-08-09 14:13:21 Uploading with Circle_Mgr

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

Re: Uploading with Circle_Mgr

The batch "Add_to_circle" calls "circle_mgr.exe".
The tool is able to list, add and remove applications, it allows to add automatically applications by downloading ".o" or ".lib" files found in the current directory.

All these informations are available in the documentation "STM32-Primer2 User Manual".
http://www.stm32circle.com/resources/stm32primer2.php

If you have more than one source file, you must generate a library.

For that the method is :
- create an new project, with a "lib" type application ("New library to be built"),
- add a CircleOS application in the same project ("New application to be build"), that you can name "exe application", and add the the generated ".lib" as application item,
- build the project : you can download the "exe application" in order to debug your program,
- when the programe is OK, you can launch the ".bat" in the directory where the ".lib" is, in order to add your applicatin into the Primer.

Take a look at these projects as example : http://www.stm32circle.com/projects/project.php?id=55 or http://www.stm32circle.com/projects/project.php?id=160

Take a look at the FAQ who explains the procedure : http://www.stm32circle.com/forum/viewtopic.php?id=5

Yves

Offline

 

Board footer