diff options
| author | Michal Hanus <mikehanus@protonmail.com> | 2025-04-14 22:04:32 +0200 |
|---|---|---|
| committer | Michal Hanus <mikehanus@protonmail.com> | 2025-04-14 22:04:32 +0200 |
| commit | 2e13c372f1419f08dab7797b244681f889dd9bcf (patch) | |
| tree | 995a31c40f13068c4135c213e938e0a2a9ed05a3 /nrfdemo/build/tfm/api_ns/platform/common/dummy_otp.c | |
| parent | 620dfd94019f3c7e3022fa5a5fb9c9b51491062d (diff) | |
nrfdemo
Diffstat (limited to 'nrfdemo/build/tfm/api_ns/platform/common/dummy_otp.c')
| -rw-r--r-- | nrfdemo/build/tfm/api_ns/platform/common/dummy_otp.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nrfdemo/build/tfm/api_ns/platform/common/dummy_otp.c b/nrfdemo/build/tfm/api_ns/platform/common/dummy_otp.c new file mode 100644 index 0000000..e255b52 --- /dev/null +++ b/nrfdemo/build/tfm/api_ns/platform/common/dummy_otp.c @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2022 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +#include "tfm_plat_otp.h" + +enum tfm_plat_err_t tfm_plat_otp_init(void) +{ + return TFM_PLAT_ERR_SUCCESS; +} + +enum tfm_plat_err_t tfm_plat_otp_read(enum tfm_otp_element_id_t id, size_t out_len, uint8_t *out) +{ + return TFM_PLAT_ERR_UNSUPPORTED; +} + +enum tfm_plat_err_t tfm_plat_otp_write(enum tfm_otp_element_id_t id, size_t in_len, + const uint8_t *in) +{ + return TFM_PLAT_ERR_UNSUPPORTED; +} + +enum tfm_plat_err_t tfm_plat_otp_get_size(enum tfm_otp_element_id_t id, size_t *size) +{ + return TFM_PLAT_ERR_UNSUPPORTED; +} |
