Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
D7018E-Assignment-4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fredrik Pettersson
D7018E-Assignment-4
Commits
a9e8f007
Commit
a9e8f007
authored
May 08, 2018
by
DevDoggo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formulated thoughts on memory safety
parent
9154ed49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
19 deletions
+8
-19
README.md
README.md
+8
-19
No files found.
README.md
View file @
a9e8f007
#
`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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment