2020-01-09 04:18 AM
Hi all,
i want to use some hardware peripherals in OP-TEE. I got the GPIO driver (stm32_gpio in core/drivers) to work with my PTA (Pseudo Trusted Application). I now wanna use the I2C peripheral using the stm32_i2c driver.
I coundn't find any example code (for the GPIO neither), is there somewhere an example of how to use the drivers from a PTA?
EDIT: I was able to configure the I2C peripheral with the driver, i missed the GPIO configuration. Some documentation of the OP-TEE drivers would be a nice feature for the future nevertheless =)
Solved! Go to Solution.
2020-03-03 06:50 AM
Hi @Lukas Brückner
As promised, please find attached the OP-TEE driver demo sample code.
This demo is based on usage of Developer Package. (SDK)
Refer to Readme.md and proceed.
Hope it help,
BR,
Olivier
2020-02-28 08:34 AM
Hi @Lukas Brückner
We are working on a OP-TEE driver sample code / demonstration.
Will sharing it here as soon as available.
Pointer on document we can give you so far is here :
https://readthedocs.org/projects/optee/downloads/pdf/latest/
Hope it help,
Olivier
2020-03-03 06:50 AM
Hi @Lukas Brückner
As promised, please find attached the OP-TEE driver demo sample code.
This demo is based on usage of Developer Package. (SDK)
Refer to Readme.md and proceed.
Hope it help,
BR,
Olivier
2020-03-03 07:30 AM
Hi, I missed to precise that the example his made for EV1 board.
Olivier
2020-03-03 10:22 PM
Hi Oliver,
thanks a lot!