mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-08 09:46:31 +00:00
* Port the nxcalc demo from Microwindows * Connects to the Nano-X server started by examples/nanoxterm * Requires CONFIG_LIBC_FLOATINGPOINT for the result formatting Signed-off-by: Acfboy <AcfboyU@outlook.com>
28 lines
771 B
Text
28 lines
771 B
Text
config EXAMPLES_NANOXCALC
|
|
tristate "Nano-X calculator example"
|
|
default n
|
|
depends on MICROWINDOWS_NANOX && LIBC_FLOATINGPOINT
|
|
---help---
|
|
Enable the Nano-X calculator example application. It is a
|
|
port of the nxcalc demo from Microwindows which connects to
|
|
the Nano-X server started by examples/nanoxterm and shows
|
|
a calculator keypad operated by the mouse or keyboard.
|
|
|
|
if EXAMPLES_NANOXCALC
|
|
|
|
config EXAMPLES_NANOXCALC_PROGNAME
|
|
string "Program name"
|
|
default "nanoxcalc"
|
|
---help---
|
|
This is the name of the program that will be used when the NSH ELF
|
|
program is installed.
|
|
|
|
config EXAMPLES_NANOXCALC_PRIORITY
|
|
int "Nano-X calculator task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_NANOXCALC_STACKSIZE
|
|
int "Nano-X calculator stack size"
|
|
default 16384
|
|
|
|
endif
|