Command cheatsheet

Using west

  1. Update the repositories:

west update
  1. Build an application:

west build -p -b frdm_imx93//a55 <path_to_your_application>
  1. Build an application and apply a devicetree overlay:

west build -p -b frdm_imx93//a55 <path_to_your_sample> -D DTC_OVERLAY_FILE=<overlay>
  1. 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

  1. Build a Docker image and run the container:

docker compose -f ./docker/compose.yaml up --detach
  1. Shut down a container:

docker compose -f ./docker/compose.yaml down
  1. Open a shell inside a container:

docker compose -f ./docker/compose.yaml exec zephyr bash
  1. Run a command inside a container:

docker dompose -f ./docker/compose.yaml exec zephyr bash -c "<command_to_run>"