mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
This example is an LVGL application which reads pressure and temperature data from a barometer and displays it on gauges. It is intended to provide an idea of what LVGL on NuttX can practically be used for in an application. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
38 lines
918 B
Text
38 lines
918 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_BAROMONITOR
|
|
tristate "Barometer monitoring dashboard example"
|
|
default n
|
|
depends on UORB
|
|
depends on LIBC_FLOATINGPOINT
|
|
depends on GRAPHICS_LVGL
|
|
depends on LV_USE_NUTTX
|
|
depends on LV_FONT_MONTSERRAT_24
|
|
depends on LV_FONT_MONTSERRAT_32
|
|
---help---
|
|
Enable the barometer monitoring dashboard.
|
|
|
|
if EXAMPLES_BAROMONITOR
|
|
|
|
config EXAMPLES_BAROMONITOR_PROGNAME
|
|
string "Program name"
|
|
default "baromonitor"
|
|
|
|
config EXAMPLES_BAROMONITOR_PRIORITY
|
|
int "Barometer monitor task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_BAROMONITOR_STACKSIZE
|
|
int "Baromonitor stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
config EXAMPLES_BAROMONITOR_SAMPLERATE
|
|
int "Sample rate (ms)"
|
|
default 50
|
|
---help---
|
|
Sample rate in milliseconds of barometer data.
|
|
|
|
endif # EXAMPLES_BARO_DASHBOARD
|