-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45433b0
commit 953ce03
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# light-detector | ||
|
||
[![Build](https://github.com/YarikRevich/ResourceTracker/actions/workflows/build.yml/badge.svg)](https://github.com/YarikRevich/ResourceTracker/actions/workflows/build.yml) | ||
![STM32](https://img.shields.io/badge/stm32-blue) | ||
[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) | ||
|
||
## General Information | ||
|
||
A driver-like application, which allows to communicate with TSL2591X light sensor with the help of CLI, based on STM32L476RG embedded system. | ||
|
||
Includes following features: | ||
* Retrieve latest sensor data(**raw**, **full**, **infrared**, **visible**) | ||
* Retrieve meta information from the internal board state | ||
* Modify settings for the light sensor. | ||
|
||
## Setup | ||
|
||
All setup related operations are processed via **Makefile** placed in the root directory. | ||
|
||
In order to build IOC project it's required to execute the following command. It uses **CubeMX CLI** to generate **ELF** upload file: | ||
```shell | ||
make build | ||
``` | ||
|
||
Built **ELF** file is intended to be used for manual upload via **STM Programmer**. | ||
|
||
If **ProtocolBuffers** files need to be regenerated it's required to execute the following command: | ||
```shell | ||
make generate | ||
``` |