irrigation_system/software/apps/gateway
Eduard Iten 0713f8255e gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n
Signed-off-by: Eduard Iten <eduard@iten.pro>
2025-07-15 11:21:19 +02:00
..
boards gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:20:18 +02:00
src gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:20:18 +02:00
sysbuild gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:20:18 +02:00
CMakeLists.txt gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:20:18 +02:00
README.md gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:20:18 +02:00
VERSION gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:20:18 +02:00
prj.conf gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:21:19 +02:00
sysbuild.conf gateway: working shell on uart0 and mcumgr on usb_serial, minimal OS mgmt config\n 2025-07-15 11:20:18 +02:00

README.md

README for the Hello World Zephyr Application

Overview

This is a minimal Hello World application built using the Zephyr RTOS. The application demonstrates basic logging functionality by printing a message every 5 seconds, including the version number of the application.

Project Structure

The project consists of the following files:

  • src/main.c: The entry point of the application that initializes logging and sets up a timer.
  • include/app_version.h: Header file that defines the application version.
  • VERSION: A text file containing the version number of the application.
  • prj.conf: Configuration file for the Zephyr project, specifying necessary options.
  • CMakeLists.txt: Build configuration file for CMake.
  • README.md: Documentation for the project.

Building the Application

To build the application, follow these steps:

  1. Ensure you have the Zephyr development environment set up.

  2. Navigate to the apps/gateway directory.

  3. Run the following command to build the application:

    west build -b <your_board> .
    

    Replace <your_board> with the appropriate board name.

Running the Application

After building the application, you can flash it to your board using:

west flash

Once the application is running, you will see log messages printed every 5 seconds, including the version number.

Version

The version of this application can be found in the VERSION file and is also included in the log messages.