Skip to content

IlorDash/zephyr-simple-smart-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zephyr Simple Smart Home Application

Simple Smart Home Application is an example of the Zephyr Application. It reads the temperature from the mock sensors, which are defined in the DTS. The application supports power management and can handle up to 256 mock sensors. All the sensors' measurements are stored in a message queue, which can be retrieved later and displayed in the Logs (aka UART). The scheduling of sensor readings is done in the read_queue/read_queue.c:sensor_read_task(). This function launches the reading based on the sensor's sample-period property in the DTS. It also has a samplings queue, which stores the sensors' periods and sampling times and keeps them sorted by the second parameter, so zero element should always be read first.

Building and running

To build the application, run the following command:

west build -b $BOARD app

where $BOARD is the target board.

There is overlay for the qemu_xtensa board, so you can use this board.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published