# Build sample demo application

Source: [https://docs.qualcomm.com/doc/80-Y8730-1/topic/build_fermion_qcli_demo.html](https://docs.qualcomm.com/doc/80-Y8730-1/topic/build_fermion_qcli_demo.html)

You can build the demo application by using one of the following methods:

	
- Using the QCC IDE, which helps you build demos with just one click. For detailed instructions on using the QCC IDE, see [QCC IDE for QCC730 User Guide (80-Y8730-9)](doc/80-Y8730-9).
- Using the qccsdk.py script file provided in the QCC730 SDK. This tool can build images for different boards and sample demos (QCLI\_DEMO, FTM, SBL, or			NVM Programmer).

	
Note:
- Usually, all images are prebuilt in the SDK downloaded from  Qualcomm ChipCode™ . These images are in the .\output directory.
- To prevent errors, ensure the path to the QCC730 SDK only contains English letters and doesn't contain spaces.
- As of now, QCC730 only supports QCCIDE as the IDE. Eclipse IDE is not supported.

## Build images with qccsdk.py

Source: [https://docs.qualcomm.com/doc/80-Y8730-1/topic/build_fermion_qcli_demo.html](https://docs.qualcomm.com/doc/80-Y8730-1/topic/build_fermion_qcli_demo.html)

The following tables list the parameters of the qccsdk.py script file.

Table : qccsdk.py set parameters

| Parameter | Description |
| --- | --- |
| --help | Print help messages |
| -b (--board) | Board type:<br><ul class="ul" id="build_images_with_qccsdk_py__ul_zcn_xmy_w1c"><br>                                <li class="li"><em class="ph i">mqm730i</em> for iPA</li><br><br>                                <li class="li"><em class="ph i">mqm730x</em> for xPA</li><br><br>                            </ul> |
| -S | Sample:<br><ul class="ul" id="build_images_with_qccsdk_py__ul_adn_xmy_w1c"><br>                                <li class="li"><em class="ph i">demo/qcli_demo</em> for QCLI_DEMO</li><br><br>                                <li class="li"><em class="ph i">ftm</em> for FTM mode</li><br><br>                                <li class="li"><em class="ph i">sbl</em> for SBL</li><br><br>                                <li class="li"><em class="ph i">prg</em> for NVM Programmer, which is used for downloading images</li><br><br>                            </ul> |
| -o | Output directory (relative path) |
| --jtag | Set JTAG interface type: &lt;openocd/jlink&gt; |
| --menuconfig | Set Kconfig manually |
| --verbose | Enable output debug info on console |

Table : qccsdk.py build parameters

| Parameter | Description |
| --- | --- |
| --help | Print help messages |
| --build<br><br><br>                            <br>(default) | Build to generate images |
| --clean | Clean build |
| --rebuild | Clean then build |
| --verbose | Enable output debug info on console |

Note: The following sections demonstrate how to build QCC730 images for the iPA version of QCC730M. To build images for the xPA version, use the `-b=mqm730x` parameter in the related commands.

### Build QCLI\_DEMO image

Use the following commands to build the QCLI\_DEMO image for QCC730M:

    python qccsdk.py set -b=mqm730i
    python qccsdk.py set -S=demo/qcli_demo
    python qccsdk.py build --rebuildCopy to clipboard

Or

    python qccsdk.py set -S=demo/qcli_demo -b=mqm730i buildCopy to clipboard

By default, the generated image is saved to the following directory:

.\qccsdk\output\mqm730i\FERMION\_IOE\_QCLI\_DEMO\DEBUG\bin

### Build SBL image

Use the following command to build the SBL image for QCC730M:

python qccsdk.py set -S=sbl -b=mqm730i buildCopy to clipboard

By default, the generated image is saved to the following directory:

.\output\mqm730i\FERMION\_SBL\DEBUG\bin

### Build PRG image

Use the following command to build the NVM Programmer image for QCC730M:

python qccsdk.py set -S=prg -b=mqm730i buildCopy to clipboard

By default, the generated image is saved to the following directory:

.\output\mqm730i\FERMION\_NVM\_PROGRAMMER\DEBUG\bin

Last Published: Mar 18, 2026

[Previous Topic
Pull code from CodeLinaro](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-1/topics/pull_code_from_codelinaro.md) [Next Topic
Flashing QCC730 image](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-1/topics/flash_image.md)