Add platform error codes
Add error codes for the platform module, to be used by the setup \ terminate API.
This commit is contained in:
parent
d22c1b2445
commit
0ff4e0b824
4 changed files with 16 additions and 1 deletions
|
@ -43,6 +43,9 @@
|
|||
#include "platform_time.h"
|
||||
#endif
|
||||
|
||||
#define MBEDTLS_ERR_PLATFORM_INVALID_DATA -0x0080 /**< Bad input parameters to the platform function. */
|
||||
#define MBEDTLS_ERR_PLATFORM_HW_FAILED -0x0082 /**< Hardware platform function failed. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue