You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hal/hal/storage_abstraction/Driver_Storage.h
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@
18
18
#ifndef__DRIVER_STORAGE_H
19
19
#define__DRIVER_STORAGE_H
20
20
21
+
#include<stdint.h>
22
+
21
23
#ifdef__cplusplus
22
24
extern"C" {
23
25
#endif// __cplusplus
@@ -40,6 +42,7 @@ extern "C" {
40
42
#defineARM_STORAGE_ERROR_NOT_ERASABLE (ARM_DRIVER_ERROR_SPECIFIC - 1) ///< Part (or all) of the range provided to Erase() isn't erasable.
41
43
#defineARM_STORAGE_ERROR_NOT_PROGRAMMABLE (ARM_DRIVER_ERROR_SPECIFIC - 2) ///< Part (or all) of the range provided to ProgramData() isn't programmable.
42
44
#defineARM_STORAGE_ERROR_PROTECTED (ARM_DRIVER_ERROR_SPECIFIC - 3) ///< Part (or all) of the range to Erase() or ProgramData() is protected.
45
+
#defineARM_STORAGE_ERROR_RUNTIME_OR_INTEGRITY_FAILURE (ARM_DRIVER_ERROR_SPECIFIC - 4) ///< Runtime or sanity-check failure.
43
46
44
47
/**
45
48
* \brief Attributes of the storage range within a storage block.
0 commit comments