Skip to content

Commit a780333

Browse files
committed
Add project template folder
1 parent 032e5f1 commit a780333

7 files changed

Lines changed: 58 additions & 88 deletions

File tree

app/backplane/power_module/.idea/editor.xml

Lines changed: 4 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/backplane/sensor_module/.idea/editor.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cmake_minimum_required(VERSION 3.20.0)
2+
3+
set(FSW_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
4+
5+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
6+
project(template LANGUAGES CXX)
7+
8+
target_compile_options(app PRIVATE -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-ignored-qualifiers)
9+
FILE(GLOB app_sources src/*.cpp)
10+
target_sources(app PRIVATE ${app_sources})
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
source "Kconfig.zephyr"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
CONFIG_CPP=y
2+
CONFIG_REQUIRES_FULL_LIBCPP=y
3+
CONFIG_STD_CPP20=y
4+
5+
CONFIG_F_CORE=y
6+
CONFIG_F_CORE_OS=y
7+
8+
# outputs
9+
CONFIG_SERIAL=y
10+
CONFIG_FILE_SYSTEM_SHELL=y
11+
CONFIG_HEAP_MEM_POOL_SIZE=8192
12+
13+
CONFIG_DEBUG=y
14+
CONFIG_CBPRINTF_FP_SUPPORT=y
15+
16+
CONFIG_LZ4=y
17+
CONFIG_MAIN_STACK_SIZE=4096
18+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
sample:
2+
description:
3+
name: template
4+
common:
5+
build_only: true
6+
platform_allow:
7+
- native_sim
8+
tests:
9+
samples.template.default: {}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
int main() {
2+
return 0;
3+
}

0 commit comments

Comments
 (0)