From a9e8f00752a1930d320f4cdb15f166fa6ff2e147 Mon Sep 17 00:00:00 2001
From: DevDoggo <devdoggo@protonmail.com>
Date: Tue, 8 May 2018 18:49:30 +0200
Subject: [PATCH] Formulated thoughts on memory safety

---
 README.md | 27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/README.md b/README.md
index cb99f10..f46b113 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,11 @@
-# `cortex-m-quickstart`
+# Memory Safety Discussion
 
-> A template for building applications for ARM Cortex-M microcontrollers
+First of all, we do use unsafe Rust code. This means that the safety of our static global variables is at risk!
+If we do not take action to prevent differet functions from manipulating the variables at the same time,
+without some form of mutual exclusive access to the variables,
+then they may create undefined behavior and errors.
+Because the compiler won't check unsafe code,
+this could potentially in a worst case lead to information leakage or perhaps physical damage to infrastructure or people,
+all depending on what the code is able to affect.
 
-# [Documentation](https://docs.rs/cortex-m-quickstart)
 
-# License
-
-Licensed under either of
-
-- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
-  http://www.apache.org/licenses/LICENSE-2.0)
-
-- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
-
-at your option.
-
-## Contribution
-
-Unless you explicitly state otherwise, any contribution intentionally submitted
-for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
-dual licensed as above, without any additional terms or conditions.
-- 
GitLab