Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ now add to your shell profile (`~/.bashrc` or `~/.zshrc`) the current directory

`export PICO_SDK_PATH=<path_to>/pico-sdk`

Windows:

Follow this [guide](https://shawnhymel.com/2096/how-to-set-up-raspberry-pi-pico-c-c-toolchain-on-windows-with-vs-code/#Install_MinGW-w64_GCC_Tools) and you're good to go.

Finally, in order to compile:

cd SALMO_pico_fw
Expand Down Expand Up @@ -75,8 +79,11 @@ If you want to install picotool and easily flash when RP2040 is not in BOOTSEL m
xcode-select --install
brew install libusb
brew link --overwrite libusb

### Windows:
For now Picotool doesn't seem to work on Windows, skip these steps and flash "manually" moving the `.uf2` file.

### For all version
### Compiling Picotool
After you have downloaded picotool you have to compile it:

cd picotool
Expand Down
17 changes: 17 additions & 0 deletions Report/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# TU Delft - Report/Thesis Template

This template aims to simplify and improve the (Xe)LaTeX report/thesis template by Delft University of Technology with the following three main design principles:

* **Simplicity First:** A class file that has been reduced by nearly 70% to simplify customization;
* **Effortless:** A careful selection of common packages to get started immediately;
* **Complete:** Ready-to-go when it comes to the document and file structure.

This template works with _pdfLaTeX_, _XeLaTeX_ and _LuaLaTeX_. In order to adhere to the TU Delft house style, either _XeLaTeX_ or _LuaLaTeX_ is required, as it supports TrueType and OpenType fonts. _BibLaTeX_ is used for the bibliography with as backend _biber_. Please visit https://dzwaneveld.github.io/report/ for the full documentation.

<p align="center">
<img align="centre" src="https://github.com/dzwaneveld/TU-Delft-Unofficial-Report-Template/blob/master/figures/template.png" alt="Preview of the Template" width="85%" />
</p>

## License

This [report/thesis template](https://github.com/dzwaneveld/TU-Delft-Unofficial-Report-Template) by Daan Zwaneveld is licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/). No attribution is required in PDF outputs created using this template.
1 change: 1 addition & 0 deletions Report/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Search for %TODO
Binary file added Report/figures/BOM_PPSE.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-B_Cu.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-B_Mask.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-B_Silkscreen.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-Edge_Cuts.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-F_Cu.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-F_Mask.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-F_Paste.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-F_Silkscreen.pdf
Binary file not shown.
Binary file added Report/figures/gerbers/PPSE_2021-drl_map.pdf
Binary file not shown.
Binary file added Report/figures/image1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image101.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image103.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image105.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image106.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image107.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image108.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image25.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image27.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image28.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image30.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Report/figures/image31.png
Binary file added Report/figures/image32.png
Binary file added Report/figures/image33.png
Binary file added Report/figures/image35.png
Binary file added Report/figures/image36.png
Binary file added Report/figures/image37.png
Binary file added Report/figures/image38.png
Binary file added Report/figures/image39.png
Binary file added Report/figures/image40.png
Binary file added Report/figures/image41.png
Binary file added Report/figures/image42.png
Binary file added Report/figures/image44.png
Binary file added Report/figures/image45.png
Binary file added Report/figures/image46.png
Binary file added Report/figures/image47.png
Binary file added Report/figures/image48.png
Binary file added Report/figures/image49.png
Binary file added Report/figures/image50.png
Binary file added Report/figures/image51.png
Binary file added Report/figures/image52.png
Binary file added Report/figures/image54.png
Binary file added Report/figures/image55.png
Binary file added Report/figures/image56.png
Binary file added Report/figures/image58.png
Binary file added Report/figures/image59.png
Binary file added Report/figures/image60.png
Binary file added Report/figures/image61.png
Binary file added Report/figures/image62.png
Binary file added Report/figures/image63.png
Binary file added Report/figures/image65.png
Binary file added Report/figures/image66.png
Binary file added Report/figures/image67.png
Binary file added Report/figures/image68.png
Binary file added Report/figures/image69.png
Binary file added Report/figures/image70.png
Binary file added Report/figures/image71.png
Binary file added Report/figures/image72.png
Binary file added Report/figures/image73.png
Binary file added Report/figures/image74.png
Binary file added Report/figures/image75.png
Binary file added Report/figures/image76.png
Binary file added Report/figures/image77.png
Binary file added Report/figures/image78.png
Binary file added Report/figures/image90.png
47 changes: 47 additions & 0 deletions Report/frontmatter/title-report.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
\begin{titlepage}

\begin{center}

%% Print the title
{\makeatletter
\largetitlestyle\fontsize{35}{35}\selectfont\@title
\makeatother}

%% Print the subtitle
{\makeatletter
\ifdefvoid{\@subtitle}{}{\bigskip\bigskip\qquad \; \titlestyle\fontsize{15}{15}\selectfont\@subtitle}
\makeatother}

\bigskip
\bigskip

by

\bigskip
\bigskip

%% Print table with names and student numbers
\setlength\extrarowheight{2pt}
\begin{tabular}{lc}
Student Name & Student Number \\\midrule
Lisa Santarossa & 209386\\
Thomas Nonis & 209445\\
Tommaso Canova & 209270\\
Simone Tollardo & 209002\\
Gabriele Berretta & 209466 \\
\end{tabular}

\vfill

%% Print some more information at the bottom
\begin{tabular}{ll}
Docente: & Michele Corrà \\
Dipartimento: & Dipartimento di Ingegneria e Scienza dell'Informazione
\end{tabular}

\bigskip
\bigskip

\end{center}

\end{titlepage}
38 changes: 38 additions & 0 deletions Report/frontmatter/title-thesis.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
\begin{titlepage}

\begin{center}

%% Print the title
{\makeatletter
\largetitlestyle\fontsize{45}{45}\selectfont\@title
\makeatother}

%% Print the subtitle
{\makeatletter
\ifdefvoid{\@subtitle}{}{\bigskip\titlestyle\fontsize{30}{30}\selectfont\@subtitle}
\makeatother}

\bigskip
\bigskip

by

\bigskip
\bigskip

%% Print the name of the author
{\makeatletter
\largetitlestyle\fontsize{25}{25}\selectfont\@author
\makeatother}

\bigskip
\bigskip

\vfill

\bigskip
\bigskip

\end{center}

\end{titlepage}
Binary file added Report/layout/UniTN-black.png
Binary file added Report/layout/UniTN.png
Binary file added Report/layout/salmo.png
207 changes: 207 additions & 0 deletions Report/layout/tudelft-report.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
% This template aims to simplify and improve the (Xe)LaTeX template provided
% by the TU Delft. Original template by TU Delft. Rewritten template by Daan
% Zwaneveld (https://dzwaneveld.github.io)
%
% This template by Daan Zwaneveld is licensed under CC BY-NC 4.0. To view a
% copy of this license, visit https://creativecommons.org/licenses/by-nc/4.0/.
% No attribution is required in PDF outputs created using this template.

%% Class is based on the default book class and options will be passed
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{layout/tudelft-report}[23-05-2022 v1.5.3 TU Delft Report Class]

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\ProcessOptions\relax
\LoadClass[10pt,oneside]{book}

%% Main packages in the document --- Some are imported later in the class file
\RequirePackage{mathtools} % Mathematical tools to use with amsmath
\RequirePackage{amssymb} % Extended symbol collection
\RequirePackage{siunitx} % Comprehensive (SI) units package

\RequirePackage{tabularx} % Tabulars with adjustable-width columns
\RequirePackage{booktabs} % Publication quality tables
\RequirePackage{longtable} % Allow tables to flow over page boundaries
\RequirePackage{multirow} % Create tabular cells spanning multiple rows

\RequirePackage{graphicx} % Enhanced support for images
\RequirePackage{float} % Improved interface for floating objects
\RequirePackage[labelfont=bf,justification=centering,footnotesize]{caption} % Captions
\RequirePackage{subcaption} % Support for sub-captions
\RequirePackage{pdfpages} % Include PDF documents

\RequirePackage[pdfusetitle,hidelinks]{hyperref} % Extensive support for hypertext
\RequirePackage[noabbrev]{cleveref} % Intelligent cross-referencing
\RequirePackage{xcolor} % Driver-independent color extensions
\RequirePackage{tikz} % Create PostScript and PDF graphics
\RequirePackage{xspace} % Define commands that appear not to eat spaces
\RequirePackage{microtype} % Refinements towards typographical perfection

\RequirePackage{geometry} % Customize document dimensions
\RequirePackage{titlesec} % Select alternative section titles
\RequirePackage{titletoc} % Alternative headings for toc
\RequirePackage{fancyhdr} % Control of page headers and footers
\RequirePackage{enumitem} % Control layout of itemize, enumerate, description
\RequirePackage{etoolbox} % Toolbox of programming facilities
\RequirePackage{iftex} % Adds if-else statements to support multiple compilers
\RequirePackage{datetime} % Change format of \today

%% Defining commands for the cover image, subtitle, subject, affiliation and table of authors
\newcommand*\subtitle[1]{\def\@subtitle{#1}}
\newcommand*\subject[1]{\def\@subject{#1}}
\newcommand*\affiliation[1]{\def\@affiliation{#1}}
\newcommand*\coverimage[1]{\def\@coverimage{#1}}
\newcommand*\covertable[1]{\def\@covertable{#1}}

%% Scaling the margins to be slightly smaller than default (.7)
\geometry{a4paper,hscale=0.75,vscale=0.8}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% I. Loading the fonts %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifPDFTeX
%% pdfLaTeX is available for compatibility and uses a Paletino-like font
\RequirePackage[T1]{fontenc} % Selecting T1 font encoding
\RequirePackage{newpxtext} % Palatino-like font...
\RequirePackage{newpxmath} % ...with support for mathematics

%% Another font can be used as the regular and large title style font if desired
\def\titlestyle{\normalfont}
\def\largetitlestyle{\normalfont}

%% Warning when using pdfLaTeX
\@latex@warning@no@line{You are using pdfLaTeX as the compiler. You can safely ignore this warning or consider changing the compiler to XeLaTeX or LuaLaTeX to adhere to the TU Delft house style.}
\else
%% If XeLaTeX or LuaLaTeX is set as the compiler, the TU Delft house style fonts are used
\RequirePackage{fontspec} % Advanced font selection

%% Adding Arial as the main font and TU Delft Ultralight and Georgia as supplementary fonts
\setmainfont{Arial}
\setmathsf{Arial}
\setmathtt{Arial}

\def\titlestyle{\normalfont} % Customize the regular title style font
\newfontfamily\largetitlestyle[Path=layout/tudelft/]{TUDelft-UltraLight.ttf}
\newfontfamily\quotefont{Georgia}

%% Changing the quote environment to use Georgia
\AtBeginEnvironment{quote}{\quotefont}
\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% II. Adjusting the layout of the titles %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Formatting chapter titles and spacing
\titleformat{\chapter}[display]
{\flushright}
{\fontsize{40}{40}\selectfont\largetitlestyle\thechapter}
{0pt}
{\Huge\titlestyle}
\titlespacing*{\chapter}{0pt}{0pt}{0\baselineskip}

%% Formatting section titles and spacing
\titleformat{\section}
{\Large\titlestyle\bfseries}
{\thesection.}
{5pt}
{}
\titlespacing*{\section}{0pt}{\baselineskip}{0pt}

%% Formatting subsections titles and spacing
\titleformat{\subsection}
{\large\titlestyle\bfseries}
{\thesubsection.}
{5pt}
{}
\titlespacing*{\subsection}{0pt}{\baselineskip}{0pt}

%% Formatting subsubsections titles and spacing
\titleformat{\subsubsection}
{\titlestyle\bfseries}
{}
{0pt}
{}
\titlespacing*{\subsubsection}{0pt}{\bigskipamount}{0pt}

%% Reducing the vertical white space between chapters in the table of contents
\dottedcontents{chapter}[1.5em]{\vspace{0.5\baselineskip}\bfseries}{1.5em}{0pt}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% III. Adjusting the header and footer %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Changing the header and footer of 'plain' pages
\fancypagestyle{plain}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{\titlestyle\thepage}}

%% Changing the header and footer of 'fancy' pages (based on twoside option)
\if@twoside
\fancyhf{}
\fancyhead[LE,RO]{\titlestyle\thepage}
\fancyhead[RE]{\titlestyle\nouppercase{\leftmark}}
\fancyhead[LO]{\titlestyle\nouppercase{\rightmark}}
\RequirePackage{emptypage} % Remove header and footer on empty pages
\else
\fancyhf{}
\fancyhead[R]{\titlestyle\thepage}
\fancyhead[L]{\titlestyle\nouppercase{\rightmark}}
\fi

\pagestyle{fancy} % Setting the package defaults and the additional changes as the style

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% IV. Creating the cover page %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand*\makecover{
%% Use the Tikz library positioning and clear the page header and footer
\usetikzlibrary{positioning}
\thispagestyle{empty}

%% Constructing the cover page (cover image, name of university, logo and title text respectively)
\begin{tikzpicture}[overlay,remember picture]

\node[above=0,inner sep=0] at (current page.south) {\includegraphics[width=\paperwidth]{\@coverimage}};

% \node[above=10mm] at (current page.south) {%
% \includegraphics[width=0.35\linewidth]{layout/UniTN-black.png}};

% \node[above=20mm] at (current page.center) {{\color{black}\titlestyle\fontsize{20}{20}\selectfont{Anno Accademico 2021-2022}}};

% \node[below=2cm,fill=black!100,minimum width={\paperwidth},inner ysep=25pt,opacity=0.8,text opacity=1] at (current page.north) {%
% \begin{minipage}{0.9\paperwidth}
% \begin{center}
% \titlestyle\fontsize{25}{25}\selectfont\color{title}
% \ifdefvoid{\@subtitle}{}{\@subtitle \\[1ex]}%
% \color{white}\titlestyle\fontsize{25}{25}\selectfont
% \ifdefvoid{\@subject}{}{\@subject \\[1ex]}
% \color{white}\titlestyle\fontsize{30}{30}\selectfont
% \@title \\[0.5ex]
% \end{center}
% \end{minipage}};

\end{tikzpicture}
\newpage
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% V. Setting up listings %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{listings} % Typeset source code listings

\lstset{
basicstyle=\ttfamily\footnotesize, % Style of the font that is used for the code
backgroundcolor=\color{gray!10}, % Background color
keywordstyle=\color{red!75!black}, % Keyword style
stringstyle=\color{green!40!black}, % String style
commentstyle=\color{blue!30!black}, % Comment style
numbers=left, % Add line numbers on the left side
numbersep=5pt, % Decrease distance between line numbers and code
numberstyle=\tiny, % Line number style
breaklines=true, % Line break automatically
}
Binary file added Report/layout/tudelft/TUDelft-UltraLight.ttf
Binary file not shown.
Loading