Difference between revisions of "Zephyr driver demo"

From Wiki at Neela Nurseries
Jump to navigation Jump to search
(Starting bullet points page to capture key features of Zephyr device driver, and demonstation app to show driver in action.)
 
Line 7: Line 7:
  
 
== [[#top|^]] Key Zephyr App Files ==
 
== [[#top|^]] Key Zephyr App Files ==
 +
 +
Key files in the two parts of Zephyr out-of-tree driver and demonstrating app:
 +
 +
{|
 +
|-
 +
||
 +
<pre>
 +
demo (app)
 +
  |
 +
west.yml
 +
Kconfig
 +
CMakeLists.txt
 +
</pre>
 +
|
 +
<pre>
 +
driver
 +
  |
 +
|}
 +
 +
 +
All the more that is in [https://github.com/circuitdojo/air-quality-wing-zephyr-demo Jared Wolff's AQW demo]:
 +
 +
<pre>
 +
ted@localhost:~/projects/embedded/ncs/zephyr/samples/sandbox-de-ted/jared-wolff/demo$ tree -R
 +
.
 +
├── boards
 +
│   ├── nrf52840dk_nrf52840.conf
 +
│   └── nrf52840dk_nrf52840.overlay
 +
├── CMakeLists.txt
 +
├── Kconfig
 +
├── prj.conf
 +
├── prj.debug.conf
 +
├── prj.release.conf
 +
├── README.md
 +
├── src
 +
│   └── main.c
 +
├── west.yml
 +
└── z--build-messages-001--first-build.txt
 +
 +
2 directories, 11 files
 +
</pre>

Revision as of 21:37, 24 August 2021

Zephyr Driver and Separate Demo

- OVERVIEW - Here list and begin to describe key, salient features of a Zephyr RTOS based driver and separately build-able demo to exercise given driver. Driver for first version 0p0 is "out of tree", in other words outside of Zephyr project's source tree.


^ Key Zephyr App Files

Key files in the two parts of Zephyr out-of-tree driver and demonstrating app:

demo (app)
   |
west.yml
Kconfig
CMakeLists.txt
driver
   |
|}


All the more that is in [https://github.com/circuitdojo/air-quality-wing-zephyr-demo Jared Wolff's AQW demo]:

<pre>
ted@localhost:~/projects/embedded/ncs/zephyr/samples/sandbox-de-ted/jared-wolff/demo$ tree -R
.
├── boards
│   ├── nrf52840dk_nrf52840.conf
│   └── nrf52840dk_nrf52840.overlay
├── CMakeLists.txt
├── Kconfig
├── prj.conf
├── prj.debug.conf
├── prj.release.conf
├── README.md
├── src
│   └── main.c
├── west.yml
└── z--build-messages-001--first-build.txt

2 directories, 11 files