You are on page 1of 3

IoT Apps  

–  How to compile the project of Simplicity Studio v5 with the command line

How to compile the project of Simplicity Studio v5 with the


command line
Introduction
There is AN1121 for introducing how to do the headless with the project created
by Simplicity Studio v4. For the project which is created by Simplicity Studio v5,
it supports using command line to compile. It can generate makefile with
Simplicity Studio v5, so it is convenient for users to compile the project in linux
or windows environment.

Makefile Generation Method


1. Create a soc_empty project. Select soc_empty.slcp and double-click the left
mouse button.
2. Click "Edit" in the "Project Generators" column.

3. Select "SIMPLICITY IDE PROJECT" and "GCC MAKEFILE" option, then click
"Save" button
4. There will be a XXXX.Makefile in "Project Explorer" column.

How to compile the project of Simplicity Studio v5 with the command line  –  1
IoT Apps  –  How to compile the project of Simplicity Studio v5 with the command line

        

Build the project

Makefile Generation Method  –  2


IoT Apps  –  How to compile the project of Simplicity Studio v5 with the command line

1. In this case, I use "MSYS2 MinGW 64-bit" on Windows PC to compile the


soc_empty project. Run make -f XXX.Makefile command in terminal window. 

2. The image is generated in "build" folder.

Makefile Generation Method  –  3

You might also like