Command cheatsheet
Using west
Update the repositories:
west update
Build an application:
west build -p -b frdm_imx93//a55 <path_to_your_application>
Build an application and apply a devicetree overlay:
west build -p -b frdm_imx93//a55 <path_to_your_sample> -D DTC_OVERLAY_FILE=<overlay>
Build an application and save preprocessed files:
west build -p -b frdm_imx93//a55 <path_to_your_sample> -D CONFIG_COMPILER_SAVE_TEMPS=y
Using docker
Build a Docker image and run the container:
docker compose -f ./docker/compose.yaml up --detach
Shut down a container:
docker compose -f ./docker/compose.yaml down
Open a shell inside a container:
docker compose -f ./docker/compose.yaml exec zephyr bash
Run a command inside a container:
docker dompose -f ./docker/compose.yaml exec zephyr bash -c "<command_to_run>"