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.
Option 1: Using west#
Follow the steps in the order presented in Getting Started with MCUXpresso SDK Repository to install the west environment.
Option 2: Using Repository ZIP Download#
Download the Repository ZIP
Navigate to https://mcuxpresso.nxp.com/
Search for your board (e.g., KW47-EVK, FRDM-MCXW71, KW45B41Z-EVK)
Click on your board from the search results
Click ARMGCC
Select the components you need (ensure Bluetooth Low Energy is selected)
Click BUILD SDK
Extract the downloaded ZIP file to your workspace
Locate Bluetooth Examples Bluetooth examples
Install west (Required for Building)
Follow Getting Started with MCUXpresso SDK Repository to install west.
Build from Repository ZIP
Navigate to the SDK root directory and use west build commands as shown below.
Note: The Repository ZIP includes all dependencies pre-configured for your board.
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 boards/kw47evk/wireless_examples/bluetooth/w_uart/freertos/ --toolchain=iar -t guiproject -Dcore_id=cm33_core0 --pristine
Note: If using Repository ZIP download, navigate to the SDK root directory before running west commands.
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: