Empty Projects
You can create empty Kunpeng projects in an automatic way and manage existing projects.
Prerequisites
- You have logged in to the Kunpeng DevKit.
- The Development Assistant has been installed. You are advised to install the Compiler and Debugger and add a target server before creating a project for future compilation and debugging.
Procedure
- Click
in the shortcut menu bar on the left pane or click
next to Development Assistant. The Kunpeng Application Projects page is displayed. See Figure 1. - Click Empty Project. On the Empty Project page that is displayed, select New for Creation Method and click Next.Figure 2 Creating an empty project
Figure 3 Opening an existing project
Table 1 Parameter settings (1) Parameter
Description
Creation Method
The options are:
- New
- Opening existing
Project Name
Name of the project to be created. The default project name is xxx_ProjectN, which can be modified as required.
NOTE:- N is an integer starting from 1 in ascending order.
- The project name can contain 1 to 64 characters, including only letters, digits, periods (.), hyphens (-), plus signs (+), parentheses (), and underscores (_). It cannot start with a period (.).
Project Location
Storage path of the project to be created. The default project location is C:\Users\username\KunpengProject, which can be modified as required.
- If you choose to open an existing project and the project already has sample code for several software development kits (SDKs), these SDKs cannot be canceled when selecting an
SDK . - You can right-click a project folder and choose Kunpeng Project Management from the shortcut menu. Then on the empty project page that is displayed, the project path is automatically filled in.
- Select the SDKs to be deployed.
- If you do not select an SDK, click Create to create an empty Kunpeng project. After the project is created, click Open to open it in this window.
- You can also select one or more SDKs and click Next.
Figure 4 Selecting no SDKs
Figure 5 Selecting SDKs
Table 2 Parameter settings (2) Parameter
Description
Select SDK
The options are:
- General-purpose computing SDK
- Secure computing SDK
- HPC SDK
- DPAK SDK
- Data I/O SDK
- Data compression SDK
NOTE:The sample code for the selected SDKs is provided in the local project. In subsequent steps, you can deploy the SDKs on the server.
The deployment items displayed in the window vary according to the selected SDKs. The window supports automatic deployment of general-purpose computing and secure computing SDKs. For details about how to deploy HPC SDKs, see Installing and Uninstalling the HPC SDK.
Deploy Server
The options are:
- Existing
- New
- Configure later
NOTE:- The new server will be added to the target server management.
- If you select Configure later, no SDKs will be deployed by default.
IP Address
IP address of the target server.
SSH Port
SSH port number of the target node.
User Name
Account of the target node for subsequent operations.
Password
Password of the target node user.
Remember password
If you select this option, the password of the current server user will be remembered.
Storage Directory
Storage directory on the target node.
NOTE:The tool reads and writes the content in the storage directory. To avoid data loss, you are advised to use an empty directory.
- To deploy general-purpose computing, secure computing, or other SDKs, you need to configure the target node. You can use an existing server or add a new server. To add a server, enter the IP address, SSH port, user name, password, and storage directory. If you select Configure later, no SDKs will be deployed by default. See Figure 6.
- For Deployment Method, select Online deployment, Offline deployment, or Configure later. See Figure 7.
You can choose not to deploy SDKs temporarily if the SDKs have been deployed on the target node, the node environment does not support the SDKs (for example, the OS version does not match), or compilation and debugging are not required for the moment.
- After the parameters are set, click Create. Then confirm the information displayed for general-purpose computing and secure computing SDKs. See Figure 8 and Figure 9. Then create an empty Kunpeng project.
- TrustZone is a hardware solution to software and hardware security problems in the Arm architecture. Based on TrustZone, iTrustee offers a complete security solution, including a CA in normal mode, a TA in secure mode, and a trusted OS in secure mode. For details about how to enable TrustZone, see Kunpeng BoostKit Confidential Computing TrustZone Kit Feature Guide.
- A license file is an authorization file generated using a dedicated encryption tool based on the contract signed by you and Huawei as well as the server information. After obtaining the license file, load it to iBMC and activate the permission to use iBMC. For details about how to obtain the license file, see Importing a KAE License File.
- Verify the modules on the right during project creation. If you can click Terminate Configuration, the verification process stops. You can also click Cancel to continue the verification process. If the verification is successful, the modules on the right are displayed in green. If the verification fails, the modules are displayed in red.Figure 10 Terminating configuration
Figure 11 Successful project creation
Figure 12 Project creation failure
- After an empty project is created, click Open Project to open it in the current window.Figure 13 Viewing an empty project
- Use the Compiler and Debugger to compile, run, and debug the new project.
If a project folder or file is added, deleted, modified, or renamed, you can synchronize the change to the remote server. For details, see Synchronizing Code to a Remote Server.
Navigation Back
- When configuring parameters, you can click Kunpeng Application Projects in the upper left corner of the page. The Leave dialog box is displayed. Clicking OK will clear related configurations. Click
next to Empty Project in the upper left corner of the page. In the Information dialog box that is displayed, clicking OK will discard the changes and close the project creation page.
Figure 14 Leave dialog box when setting parameters
Figure 15 Information dialog box when setting parameters
- When creating a project, you can click Kunpeng Application Projects in the upper left corner of the page. The Leave dialog box is displayed. Clicking OK will terminate the configuration. Click
next to Empty Project in the upper left corner of the page. In the Information dialog box that is displayed, clicking OK will stop the setting and close the project creation page.
Figure 16 Leave dialog box when creating a project
Figure 17 Information dialog box when creating a project




