-
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
b5952bf
commit 4500e8b
Showing
50 changed files
with
451 additions
and
17 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,8 @@ Debug/ | |
|
||
# IDEA | ||
|
||
.idea/ | ||
.idea/ | ||
|
||
# Scripts | ||
|
||
**/env/ |
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
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
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
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
File renamed without changes.
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,37 @@ | ||
.ONESHELL: | ||
|
||
.PHONY: help | ||
.DEFAULT_GOAL := help | ||
help: | ||
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
.PHONY: clean | ||
clean: ## Cleans generated core files | ||
ifneq (,$(wildcard ./Debug)) | ||
@rm -r ./Debug | ||
|
||
@echo "Debug directory has been successfully deleted" | ||
else | ||
@echo "Debug directory does not exist" | ||
endif | ||
|
||
ifneq (,$(wildcard ./Core/Src/main.c)) | ||
@find ./Core/Src -name "*.cpp" | xargs -I {} rm {} | ||
@cd ./Core/Src && \ | ||
for file in *; do \ | ||
mv "$$file" "`echo $$file | sed 's/\.c$$/.cpp/'`"; \ | ||
done | ||
|
||
@echo "*.c files rename operation was performed successfully" | ||
else | ||
@echo "*.c files intented to be renamed don't exist" | ||
endif | ||
|
||
prepare: ## Install prerequisites | ||
pip3 install -r requirements.txt | ||
|
||
install: prepare ## Build and install the application | ||
python3 setup.py install --user | ||
|
||
.PHONY: all | ||
all: install |
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,39 @@ | ||
# CLI | ||
|
||
[![Build](https://github.com/YarikRevich/ResourceTracker/actions/workflows/build.yml/badge.svg)](https://github.com/YarikRevich/ResourceTracker/actions/workflows/build.yml) | ||
![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) | ||
![MacOS](https://img.shields.io/badge/MacOS-8773f5?style=for-the-badge&logo=macos&logoColor=black) | ||
[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) | ||
|
||
## General Information | ||
|
||
Allows to perform communication with serial connected devices. | ||
|
||
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 | ||
``` | ||
|
||
## Scripts | ||
|
||
### CLI | ||
|
||
Detailed documentation can be found [here](./Scripts/cli/README.md) | ||
|
||
# Use cases |
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,12 @@ | ||
contourpy==1.2.0 | ||
cycler==0.12.1 | ||
fonttools==4.50.0 | ||
kiwisolver==1.4.5 | ||
matplotlib==3.8.3 | ||
numpy==1.26.4 | ||
packaging==24.0 | ||
pillow==10.3.0 | ||
pyparsing==3.1.2 | ||
pyserial==3.5 | ||
python-dateutil==2.9.0.post0 | ||
six==1.16.0 |
Oops, something went wrong.