Application Development Workflow

The application development workflow identifies procedures needed to create, build, and run a Zephyr microkernel or nanokernel application.

Before you build

  • Check that your Linux host meets the minimum requirements specified in the Getting Started Guide.
  • Check that environment variables have been configured correctly as outlined in Common Procedures.

Workflow

  1. Create a directory structure for your Zephyr application.
    1. Creating an Application and Source Code Directory using the CLI
  2. Add a Makefile
    1. Creating an Application Makefile
  3. Define the application’s default kernel configuration using Defining the Application’s Default Kernel Configuration.
  4. Define kernel configuration override options for the application using Overriding the Application’s Default Kernel Configuration.
  5. For a microkernel application, define objects as you develop code using Creating and Configuring an MDEF for a Microkernel Application.
  6. For all applications, define nanokernel objects as you need them in code.
  7. Develop source code and add source code files to the src directory.
  8. Build an application image.
  9. To test the application image’s functionality on simulated hardware with QEMU, see Run an Application.
  10. To load an application image on a target hardware, see using Supported Boards documentation.