The $1 launches the $1 tool that expects a $1 or a $1 file. So 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 this project as example : http://www.stm32circle.com/projects/project.php?id=55
Take a look at the FAQ who explains the procedure :http://www.stm32circle.com/forum/viewtopic.php?id=5
Yves
Last edited by yrt (2011-03-15 07:26:47)