summaryrefslogtreecommitdiff
path: root/nrfdemo/build/tfm/api_ns/interface/include/psa/error.h
diff options
context:
space:
mode:
authorMichal Hanus <mikehanus@protonmail.com>2025-04-19 22:50:44 +0200
committerMichal Hanus <mikehanus@protonmail.com>2025-04-19 22:50:44 +0200
commit9078b7ec09b135f091cb951ed234bf013c9c838e (patch)
treeba953e144c2dd42d327a83720cdfc9fb5bb9fe34 /nrfdemo/build/tfm/api_ns/interface/include/psa/error.h
parent2e13c372f1419f08dab7797b244681f889dd9bcf (diff)
bme680 added
Diffstat (limited to 'nrfdemo/build/tfm/api_ns/interface/include/psa/error.h')
-rw-r--r--nrfdemo/build/tfm/api_ns/interface/include/psa/error.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/nrfdemo/build/tfm/api_ns/interface/include/psa/error.h b/nrfdemo/build/tfm/api_ns/interface/include/psa/error.h
deleted file mode 100644
index fee8c99..0000000
--- a/nrfdemo/build/tfm/api_ns/interface/include/psa/error.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- *
- */
-
-/**
- * \file psa/error.h
- * \brief Standard error codes for the SPM and RoT Services
- */
-
-#ifndef __PSA_ERROR_H__
-#define __PSA_ERROR_H__
-
-#include <stdint.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* If #PSA_SUCCESS is already defined, it means that #psa_status_t
- * is also defined in an external header, so prevent its multiple
- * definition.
- */
-#ifndef PSA_SUCCESS
-typedef int32_t psa_status_t;
-#endif
-
-#define PSA_SUCCESS ((psa_status_t)0)
-
-#define PSA_ERROR_PROGRAMMER_ERROR ((psa_status_t)-129)
-#define PSA_ERROR_CONNECTION_REFUSED ((psa_status_t)-130)
-#define PSA_ERROR_CONNECTION_BUSY ((psa_status_t)-131)
-#define PSA_ERROR_GENERIC_ERROR ((psa_status_t)-132)
-#define PSA_ERROR_NOT_PERMITTED ((psa_status_t)-133)
-#define PSA_ERROR_NOT_SUPPORTED ((psa_status_t)-134)
-#define PSA_ERROR_INVALID_ARGUMENT ((psa_status_t)-135)
-#define PSA_ERROR_INVALID_HANDLE ((psa_status_t)-136)
-#define PSA_ERROR_BAD_STATE ((psa_status_t)-137)
-#define PSA_ERROR_BUFFER_TOO_SMALL ((psa_status_t)-138)
-#define PSA_ERROR_ALREADY_EXISTS ((psa_status_t)-139)
-#define PSA_ERROR_DOES_NOT_EXIST ((psa_status_t)-140)
-#define PSA_ERROR_INSUFFICIENT_MEMORY ((psa_status_t)-141)
-#define PSA_ERROR_INSUFFICIENT_STORAGE ((psa_status_t)-142)
-#define PSA_ERROR_INSUFFICIENT_DATA ((psa_status_t)-143)
-#define PSA_ERROR_SERVICE_FAILURE ((psa_status_t)-144)
-#define PSA_ERROR_COMMUNICATION_FAILURE ((psa_status_t)-145)
-#define PSA_ERROR_STORAGE_FAILURE ((psa_status_t)-146)
-#define PSA_ERROR_HARDWARE_FAILURE ((psa_status_t)-147)
-#define PSA_ERROR_INVALID_SIGNATURE ((psa_status_t)-149)
-#define PSA_ERROR_DEPENDENCY_NEEDED ((psa_status_t)-156)
-#define PSA_ERROR_FLASH_ABUSE ((psa_status_t)-160)
-#define PSA_ERROR_INSUFFICIENT_POWER ((psa_status_t)-161)
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __PSA_ERROR_H__ */