diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-05-22 18:09:51 +0200 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-05-22 18:09:51 +0200 |
commit | d66c197259ae827564a8550e5df17a7d14fc1ac6 (patch) | |
tree | 774d1fc1ec8479d3f20f76706b083d459f274088 /ma | |
parent | c9f9d26dffcbb8853c4bb75f0a39aaceac26bf8c (diff) | |
download | master-thesis-d66c197259ae827564a8550e5df17a7d14fc1ac6.tar.gz master-thesis-d66c197259ae827564a8550e5df17a7d14fc1ac6.tar.bz2 master-thesis-d66c197259ae827564a8550e5df17a7d14fc1ac6.zip |
ma: add source code excerpts appendix
Diffstat (limited to 'ma')
l--------- | ma/safety_reset.pdf | 1 | ||||
-rw-r--r-- | ma/safety_reset.tex | 36 |
2 files changed, 30 insertions, 7 deletions
diff --git a/ma/safety_reset.pdf b/ma/safety_reset.pdf deleted file mode 120000 index f1871b3..0000000 --- a/ma/safety_reset.pdf +++ /dev/null @@ -1 +0,0 @@ -/mnt/c/Users/jaseg/shared/safety_reset.pdf
\ No newline at end of file diff --git a/ma/safety_reset.tex b/ma/safety_reset.tex index 4e0e6dd..d00f7eb 100644 --- a/ma/safety_reset.tex +++ b/ma/safety_reset.tex @@ -2561,18 +2561,42 @@ correctly configure than it is to simply use separate hardware and secure the in \includenotebook{Frequency sensor clock stability analysis}{gps_clock_jitter_analysis} \includenotebook{DSSS modulation experiments}{dsss_experiments-ber} -\chapter{Demonstrator Resources} -\section{schematics and code} +\chapter{Frequency Sensor Schematics} % FIXME +\chapter{Firmware Source Code Excerpts} +\section{DMA-backed ADC capture (adc.c)} +\inputminted[fontsize=\footnotesize,linenos,firstline=18,lastline=115,breaklines]{C}{../gm_platform/fw/adc.c} + +\section{Frequency Sensor Packetized Serial Interface} +\subsection{serial.c} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{C}{../gm_platform/fw/serial.c} +\subsection{packet\_interface.c} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{C}{../gm_platform/fw/packet_interface.c} +\subsection{cobs.c} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{C}{../gm_platform/fw/cobs.c} +\subsection{Client application (tw\_test.py)} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{python}{../gm_platform/fw/tw_test.py} + +\section{Frequency Estimation (freq\_meas.c)} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{C}{../controller/fw/src/freq_meas.c} +\section{DSSS Demodulation (dsss\_demod.c)} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{C}{../controller/fw/src/dsss_demod.c} +\section{Cryptographic Protocol Handling} +\subsection{protocol.c} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{C}{../controller/fw/src/protocol.c} +\subsection{crypto.c} +\inputminted[fontsize=\footnotesize,linenos,breaklines]{C}{../controller/fw/src/crypto.c} + \chapter{Demonstrator Firmware Symbol Sizes} \label{symbol_size_chart} \includepdf[fitpaper]{resources/safetyreset-symbol-sizes.pdf} -\chapter{Economic viability of countermeasures} -\section{Attack cost} -\section{Countermeasure cost} - +% FIXME +%\chapter{Economic viability of countermeasures} +%\section{Attack cost} +%\section{Countermeasure cost} +%\section{Conclusion} % FIXME maybe include a standard for the technical side of a safety reset system here, e.g. in the style of an IETF draft? |