Top level:
- 'tee' subdirectory added to top-level CMakeLists.txt
tee/libteec:
- BINARY_PREFIX defined PUBLIC to make it accessible to consumer
apps
- added missing DEBUGLEVEL definitions
examples/optee_gp:
- added missing dependency to libteec
Signed-off-by: George Poulios <gpoulios@census-labs.com>
Previous Kconfig had a mistake guarding optee_gp
Kconfig values based on EXAMPLES_OPTEE instead of
EXAMPLES_OPTEE_GP. Fix that
Signed-off-by: George Poulios <gpoulios@census-labs.com>
Add an example app that opens a session with the devices pseudo-TA
and enumerates the available devices (prints their UUIDs only)
using the GlobalPlatform API and libteec.
The example showcases:
- initializing the context
- opening a session
- invoking a command using NULL references
- invoking a command using temp shared memory
- invoking a command using registered shared memory
- closing the session
- finalizing the context
Enabled with CONFIG_EXAMPLES_OPTEE_GP.
Signed-off-by: George Poulios <gpoulios@census-labs.com>