Skip to content
Snippets Groups Projects
Commit c4046057 authored by Leon Bohnwagner's avatar Leon Bohnwagner :crab:
Browse files

docs: update install instructions

parent 0a398d57
No related branches found
No related tags found
No related merge requests found
...@@ -2,21 +2,25 @@ ...@@ -2,21 +2,25 @@
## Building ## Building
### Userspace
```sh ```sh
mkdir build && cd build
cmake ..
make make
``` ```
The compiled binaries can be found in following directories: ## Installing
- `build/daemon/daemon` (for the daemon binary)
- `build/clients/*` (for the client binaries)
### Kernel module ### Kernel module
```sh ```sh
cd kernel cd kernel
make sudo insmod kmod.ko
```
### Userspace
```sh
make install
# Start systemd services (kernel module must be loaded before services can be started)
sudo systemctl enable sibyl-*.service
sudo systemctl start sibyl-*.service
``` ```
## Communication ## Communication
...@@ -47,3 +51,5 @@ The data that is written to the character device is a pointer to a `data_t` stru ...@@ -47,3 +51,5 @@ The data that is written to the character device is a pointer to a `data_t` stru
When `data_t` is copied, it checkes if the pointer to the measurements array is not `NULL` and the count of measurements in `data_t` is not zero. When `data_t` is copied, it checkes if the pointer to the measurements array is not `NULL` and the count of measurements in `data_t` is not zero.
If both applies, it also copies the data from the array pointer to the kernel space. If both applies, it also copies the data from the array pointer to the kernel space.
### GPIO interface
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment