Add hints about how to use unl0kr with Valgrind
This commit is contained in:
parent
1bf46979eb
commit
8604098a69
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -98,6 +98,16 @@ $ sudo ./_build/unl0kr
|
||||||
|
|
||||||
With meson <0\.55 use `ninja` instead of `meson compile`\.
|
With meson <0\.55 use `ninja` instead of `meson compile`\.
|
||||||
|
|
||||||
|
## Valgrind
|
||||||
|
|
||||||
|
> Using C without Valgrind is like skydiving without a parachute.
|
||||||
|
|
||||||
|
To be able to use Valgrind, add `default_options: ['optimization=g']` in the `project` section of `meson.build` and rebuild. Afterwards you can run the application with Valgrind's leaks check enabled via
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo valgrind --leak-check=yes ./_build/unl0kr
|
||||||
|
```
|
||||||
|
|
||||||
## Backends
|
## Backends
|
||||||
|
|
||||||
Unl0kr supports multiple LVGL display drivers, referred to as "backends".
|
Unl0kr supports multiple LVGL display drivers, referred to as "backends".
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue