TQMa93xxLA - YOCTO Linux BSP documentation
This guide describes how to prepare, build and run a Cortex-M33 MCUXpresso hello world demo on STKa93xxLA with Windows and Linux.
Unless otherwise specified, the commands apply to both operating systems.
Prerequisites
- Segger J-Link Debug Probe
- BSP built according to Quickstart BSP Instructions
- Windows 10/11 or Ubuntu 22.04 and above
Prepare Host System
Set up Workspace
Go to the root workspace directory and then clone the Git Repository:
git clone https://github.com/tq-systems/mcuxsdk-examples-tq.git
Install necessary dependencies for the SDK:
pip install ninja jsonschema cmake west pip install -r mcuxsdk-examples-tq/scripts/requirements.txt
Initialize the workspace
west init --local mcuxsdk-examples-tq west update
Note: If the installed commands (e.g. west) are not recognized, their location needs to be added to PATH first.
For Windows, add the following to the system environment: C:/Users/<Username>/AppData/Roaming/Python/Python3x/Scripts For Linux, execute: export PATH=$PATH:$HOME/.local/bin
Compile the Demo
Remove old builds if necessary
Build the demo
west build -b tqmba93xxca mcuxsdk-examples-tq/_boards/tqmba93xxca/examples/demo_apps/hello_world/ -- -Dcore_id=cm33 -DCUSTOM_BOARD_ROOT="mcuxsdk-examples-tq/_boards"
The final build is located in
~/build/hello_world_cm33.elf.