mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Add an example app that opens a session with the devices pseudo-TA and enumerates the available devices (prints their UUIDs only). The example showcases: - opening the OP-TEE client driver - printing its version - opening a session - allocating shared memory - registering shared memory - invoking a function to the TA referencing the shared memory - closing the session Enabled with CONFIG_EXAMPLES_OPTEE. Signed-off-by: George Poulios <gpoulios@census-labs.com>
29 lines
614 B
Text
29 lines
614 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_OPTEE
|
|
tristate "OP-TEE client example"
|
|
default n
|
|
---help---
|
|
Enable the OP-TEE client example
|
|
|
|
if EXAMPLES_OPTEE
|
|
|
|
config EXAMPLES_OPTEE_PROGNAME
|
|
string "Program name"
|
|
default "optee"
|
|
---help---
|
|
This is the name of the program that will be used when the NSH ELF
|
|
program is installed.
|
|
|
|
config EXAMPLES_OPTEE_PRIORITY
|
|
int "OP-TEE task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_OPTEE_STACKSIZE
|
|
int "OP-TEE stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|