File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,5 +11,9 @@ zephyr_syscall_include_directories(include)
1111
1212zephyr_include_directories(include)
1313
14+ {% if include_drivers %}
1415add_subdirectory(drivers)
16+ {% endif %}
17+ {% if include_lib %}
1518add_subdirectory(lib)
19+ {% endif %}
Original file line number Diff line number Diff line change 1313 <img alt =" API Documentation" src =" https://img.shields.io/badge/API-documentation-3D578C?logo=c&logoColor=white" >
1414</a >
1515
16- This repository contains a Zephyr example application. The main purpose of this
17- repository is to serve as a reference on how to structure Zephyr-based
18- applications. Some of the features demonstrated in this example are:
16+ {{ project_description }}
1917
2018- Basic [Zephyr application][app_dev] skeleton
2119- [Zephyr workspace applications][workspace_app]
Original file line number Diff line number Diff line change 77cmake_minimum_required(VERSION 3.13.1)
88find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
99
10- project (app LANGUAGES C )
10+ project({{ project_name }} LANGUAGES C)
1111
1212target_sources(app PRIVATE src/main.c)
Original file line number Diff line number Diff line change 1+ _min_copier_version : " 9.0.0"
2+
3+
4+ project_name :
5+ type : str
6+ help : What is the name of your project? (use a slug, e.g. my-app)
7+ default : my-zephyr-app
8+
9+ project_description :
10+ type : str
11+ help : Provide a short description of your project.
12+ default : A custom Zephyr application.
13+
14+ author_name :
15+ type : str
16+ help : Who is the author?
17+ default : Zephyr Developer
18+
19+ board :
20+ type : str
21+ help : Which board are you targeting?
22+ default : native_sim
23+
24+ include_ci :
25+ type : bool
26+ help : Do you want to include GitHub Actions CI?
27+ default : true
28+
29+ include_docs :
30+ type : bool
31+ help : Do you want to include documentation setup?
32+ default : true
33+
34+ include_drivers :
35+ type : bool
36+ help : Do you want to include example drivers?
37+ default : true
38+
39+ include_lib :
40+ type : bool
41+ help : Do you want to include example libraries?
42+ default : true
43+
44+ include_tests :
45+ type : bool
46+ help : Do you want to include example tests?
47+ default : true
48+
49+ _exclude :
50+ - " copier.yml"
51+ - " .git"
52+ - " .copier-answers.yml"
53+ - " {% if not include_ci %}.github{% endif %}"
54+ - " {% if not include_docs %}doc{% endif %}"
55+ - " {% if not include_drivers %}drivers{% endif %}"
56+ - " {% if not include_lib %}lib{% endif %}"
57+ - " {% if not include_tests %}tests{% endif %}"
You can’t perform that action at this time.
0 commit comments