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 |
---|---|
|
Specifies the board |
|
Specifies the toolchain (default is |
|
Creates an IDE project |
|
Core ID, if available |
|
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: