Building PSoC® Creator™ Projects Using Commands
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
How to build PSoC® Creator™ (PSoC 3/4/5LP) projects using the command in command prompt?
Follow these steps to compile your project using the command prompt.
1. Open a Command Prompt window.
- In Windows® XP, click Start and Run, and type cmd.exe.
- In Windows Vista and Windows 7, click Start, click All Programs, click Accessories, and double-click Command Prompt.
2. Change the current directory to the folder containing the workspace file of the project. The syntax of command is: type command cd "path of the workspace file"—for example:
cd "C:\Users\namn\Documents\PSoC Creator\TestLCD"
Note: In this case the “TestLCD” folder contains the workspace file (TestLCD.cywrk).
3. To build the project, type this command:
“[Path of installation folder of Creator]\[version of Creator]\PSoC Creator\bin\cyprjmgr.exe" -wrk "[workspace name]" - build
- For 32-bit operating systems, the default path and command is:
"C:\Program Files\Infineon\PSoC Creator\[version of Creator]\PSoC Creator\bin\cyprjmgr.exe" -wrk "[workspace name]" -build
- For 64-bit operating systems, the default path and command is:
"C:\Program Files (x86)\Infineon\PSoC Creator\[version of Creator]\PSoC Creator\bin\cyprjmgr.exe" -wrk "[workspace name]" -build
Note: Replace [version of Creator] with the version of Creator that you want to use for compiling, like 2.1 or 2.2.
Replace the [workspace name] with the name of your workspace file—for example, the final command for a 64-bit system could be:
"C:\Program Files (x86)\Infineon\PSoC Creator\2.1\PSoC Creator\bin\cyprjmgr.exe" -wrk "TestLCD.cywrk" -build
4. To get further information on the parameters of the command line compilation, type this command:
“[Path of installation folder of Creator]\[version of Creator]\PSoC Creator\bin\cyprjmgr.exe" -h
For example, the final command for a 64-bit system could be:
"C:\Program Files (x86)\Infineon\PSoC Creator\2.1\PSoC Creator\bin\cyprjmgr.exe" -h
Figure 1 shows the Command Prompt screen compiling the project.
Figure 1. Administrator: Command Prompt Screen
Version: **
Translation - Japanese: コマンドを使用したPSoC®Creator™プロジェクトの構築 - KBA88205 - Community Translated (JA)