Initial commit

This commit is contained in:
2023-07-31 10:47:57 +02:00
commit 8f9cff0934
8 changed files with 305 additions and 0 deletions

12
data/CMakeLists.txt Normal file
View File

@@ -0,0 +1,12 @@
#-------------------------------------------------------------------------------
# Zephyr Example Application
#
# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(app LANGUAGES C)
target_sources(app PRIVATE src/main.c)

5
data/VERSION Normal file
View File

@@ -0,0 +1,5 @@
VERSION_MAJOR = 1
VERSION_MINOR = 0
PATCHLEVEL = 0
VERSION_TWEAK = 0
EXTRAVERSION =

0
data/app.overlay Normal file
View File

17
data/main.c Normal file
View File

@@ -0,0 +1,17 @@
/*
* Copyright (c) 2021 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/kernel.h>
#include <app_version.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(main, CONFIG_APP_LOG_LEVEL);
int main(void)
{
printk("Zephyr Example Application %s\n", APP_VERSION_STRING);
return 0;
}

0
data/prj.conf Normal file
View File