SystemAgent/README.md

46 lines
858 B
Markdown
Raw Normal View History

2021-03-14 08:40:54 +00:00
# My sensor runs Linux!
This is the source repository for a simple system monitor program,
which runs on Linux.
## Supported sensors
- [ ] Bosch SensorTec BME280 digital temperature/humidity/pressure sensor
- [ ] AMS(Sciosense) CCS811 eTVOC sensor
- [ ] MH-Z19 series NDIR eCO2 sensor
- [ ] TDK InvenSense 6-Axis gyro/accelerometer
- [ ] General GPIO based water detector sensors
## Other supported devices
- [ ] ST7789 IPS TFT LCD(240px * 240px)
- [ ] General GPIO based buttons
- [ ] Genetal GPIO based LEDs
## Libraries used
- [x] LittleVGL
- [ ] mosquitto
2021-03-18 15:50:37 +00:00
- [x] libgpiod
2021-03-14 08:40:54 +00:00
- [ ] libconfig
- [ ] libpthread
- [ ] libiio
## How to compile
* Native:
```bash
mkdir build && cd build
cmake ..
make -j${nproc}
```
* Cross:
```bash
mkdir build && cd build
2021-03-14 13:59:07 +00:00
cmake -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE_NAME} .. # Replace to yours
2021-03-14 08:40:54 +00:00
make -j${nproc}
```