Hello World Application

With the Hello World Application, you can learn the basic concepts of creating and running an application with MICROSAR Adaptive.

You can find the Hello World Application in the Examples/amsr-vector-app-example-hello-world directory in your delivery.

What Will You Learn in This Chapter?

Building the Hello World Application

  • How can you configure the parameters of your application with ARXML Models?

  • How is the build process configured with CMake or Bazel?

  • How is the application code structured?

  • How can the application be built and run?

Learning About the Hello World Application

  • What is TACO and how can it be used?

  • What is Pesto and how can it be used?

  • What setup does the Hello World Application provide (models, configurations, source code)?

What Will You Do in This Chapter?

You can choose between building your application with TACO/CMake or Pesto/Bazel. Depending on your chosen build approach, different steps for building and running the Hello World Application are instructed in this chapter.

Build and Start Your Application Using TACO/CMake

If you decide on working with TACO/CMake, follow these steps to build and start the application:

  1. Prepare Presets

    The presets for your Hello World Application were properly prepared.

  2. Build Application Files

    The executable for your Hello World Application was built.

  3. Optional: Adapt the Application

    The application logic was adapted.

    The application printed the adapted log message in the terminal.

  4. Install and Run the Application

    The application was installed and run.

Build and Start Your Application Using Pesto/Bazel

If you decide on working with Pesto/Bazel, follow these steps to build and start the application:

  1. Preparing Workspace

    The local workspace for your Hello World Application was properly prepared.

  2. Build Application Files

    The executable for your Hello World Application was built.

  3. Optional: Adapt the Application

    The application logic was adapted.

    The application printed the adapted log message in the terminal.

  4. Install and Run the Application

    The application was installed and run.

Learn About Applications

If you want to gain an overview of the contents of the Hello World Application and a basic understanding of how applications can be built and started, you can deep dive into the Learn About the Application chapter.