This PR adds the ability for apps to lock down CDI access, limiting exposure to CDI by other apps, mem leaks etc. Basically the CDI can be read until a write to ADDR_CDI_DONE is performed. In order to be able to read again, the TKey device must be reset. This PR provides the functionality requested in https://github.com/tillitis/tillitis-key1/issues/186
NOTE: CI goes green here is false.
It mistakenly fetches the wrong bitstream, it is a bug in our ci.yaml. This is corrected in this PR, that PR should be merged to main and this branch should be rebased on main afterwards.
This PR adds the ability for apps to lock down CDI access, limiting exposure to CDI by other apps, mem leaks etc. Basically the CDI can be read until a write to ADDR_CDI_DONE is performed. In order to be able to read again, the TKey device must be reset. This PR provides the functionality requested in https://github.com/tillitis/tillitis-key1/issues/186