Getting Started with west Build Environment

These steps are intended for GitHub users working with Bluetooth Low Energy (BLE) demo applications from the GitHub MCUXpresso SDK repository.

Follow the steps in the order presented in Getting Started with MCUXpresso SDK Repository to install the west environment.

Command Line to Generate/Build Projects

Example: w_uart on kw47evk

To build the w_uart example for the kw47evk board using the IAR toolchain and generate an IDE project, use the following command:

west build -b kw47evk examples/wireless_examples/bluetooth/w_uart/bm/ \ --toolchain=iar -t guiproject -Dcore_id=cm33_core0 --pristine

Argument

Description

-b kw47evk

Specifies the board

--toolchain=iar

Specifies the toolchain (default is armgcc)

-t guiproject

Creates an IDE project

-Dcore_id=cm33_core0

Core ID, if available

--pristine

Cleans the build folder before building

Use the following steps in order to build and flash the BLE software demo applications on all toolchains presented in: