51 lines
979 B
Markdown
51 lines
979 B
Markdown
# My sensor runs Linux!
|
|
|
|
This is the source repository for a simple system monitor program,
|
|
|
|
which runs on Linux.
|
|
|
|
## Supported sensors
|
|
|
|
- [x] 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
|
|
|
|
- [x] 2.0" IPS TFT LCD(320px * 240px), driver IC: ST7789VW
|
|
- [x] General GPIO based buttons
|
|
- [ ] Genetal GPIO based LEDs
|
|
|
|
## Drivers implemented
|
|
- [x] GPIO driver
|
|
- [x] SPI device driver
|
|
- [x] Config K-V driver
|
|
|
|
## Third party libraries used
|
|
|
|
- [x] LittleVGL
|
|
- [ ] mosquitto
|
|
- [x] libgpiod
|
|
- [x] libconfig
|
|
- [x] libpthread
|
|
- [ ] libiio
|
|
|
|
## How to compile
|
|
|
|
* Native:
|
|
|
|
```bash
|
|
mkdir build && cd build
|
|
cmake ..
|
|
make -j${nproc}
|
|
```
|
|
|
|
* Cross:
|
|
```bash
|
|
mkdir build && cd build
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE_NAME} .. # Replace to yours
|
|
make -j${nproc}
|
|
```
|