Support storing in RAM instead of flash
This permits to run without persistent storage. The benefit is that the board doesn't implement a the syscall API in Tock. The disadvantage is that rebooting the key will reset the storage.
This commit is contained in:
committed by
Julien Cretin
parent
9001cbd864
commit
e52a671810
@@ -12,13 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
mod buffer;
|
||||
mod storage;
|
||||
mod store;
|
||||
mod syscall;
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
pub use self::buffer::{BufferOptions, BufferStorage};
|
||||
pub use self::storage::{Index, Storage, StorageError, StorageResult};
|
||||
pub use self::store::{Store, StoreConfig, StoreEntry, StoreError, StoreIndex};
|
||||
|
||||
Reference in New Issue
Block a user