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
- Create a directory structure for your Zephyr application.
- Add a Makefile
- Define the application’s default kernel configuration using Defining the Application’s Default Kernel Configuration.
- Define kernel configuration override options for the application using Overriding the Application’s Default Kernel Configuration.
- For a microkernel application, define objects as you develop code using Creating and Configuring an MDEF for a Microkernel Application.
- For all applications, define nanokernel objects as you need them in code.
- Develop source code and add source code files to the src directory.
- Build an application image.
- To test the application image’s functionality on simulated hardware with QEMU, see Run an Application.
- To load an application image on a target hardware, see using Supported Boards documentation.