initial commit

This commit is contained in:
surtur 2020-11-30 13:28:45 +01:00
commit bf54ca0d10
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 361 additions and 0 deletions

290
.gitignore vendored Normal file

@ -0,0 +1,290 @@
### TeX ###
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
*.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.lzo
*.lzs
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary
# listings
*.lol
# luatexja-ruby
*.ltjruby
# makeidx
*.idx
*.ilg
*.ind
# minitoc
*.maf
*.mlf
*.mlt
*.mtc
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices and outlines
*.xyc
*.xyd
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# gummi
.*.swp
# KBibTeX
*~[0-9]*
# TeXnicCenter
*.tps
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta
# Makeindex log files
*.lpz
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib
### TeX Patch ###
# LIPIcs / OASIcs
*.vtc
# glossaries
*.glstex

71
kds-on-fedora.tex Normal file

@ -0,0 +1,71 @@
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage[margin=1.8cm]{geometry}
\title{Kinetis Design Studio installation on Fedora 33}
\author{\texttt{git.dotya.ml/wanderer (a\_mirre at utb dot cz)}}
\begin{document}
\maketitle
\tableofcontents
\newpage
\section{the story behind this}
First, please, let me tell you a story.\\
Currently there's a curious situation with the dependencies of KDS.\\I was able
to install KDS without any deps all right...which is precisely the issue.\\
It could have been fine if the deps were \textit{included} in the package.\\
Oh wait - they are included (I found out after some investigation), only they are
instructed (rpm spec) to install \textit{somewhere} in \texttt{/opt}.
And since I don't usually happen to have random \texttt{/opt} folders in the
\texttt{\$PATH}, I don't get to benefit from this. I could just
add the subject folders to \$PATH, alright, and this would be over, but that's not the point here.\\
\\
The package just installed and that was it.\\
This, unfortunately, is a case of \emph{pack everything into a single nice huge
bundle and call it a day} (afterall, "Linux" is tough, right?).\\
\\
So when I built my fancy code, and hit the Debug button to \textit{finally} get to
debugging (you need a board for this), a nasty error popped up (if this is not
your case, lucky you).
This little write-up should help you overcome the evils accompanying the KDS
installation on your Fedora 33 box (not tested on anything else at the moment).
\newpage
\section{pre-requisities}
\begin{itemize}
\item Kinetis Design Studio (KDS) rpm package
\item KDS dependencies (see \ref{dependencies})
\item a little time and some patience
\end{itemize}
\newpage
\section{dependencies} \label{dependencies}
\begin{itemize}
\item \texttt{arm-build stuff}
\item \texttt{gcc}
\item \texttt{gpp}
\item \texttt{gdb}
\item \texttt{make}
\end{itemize}
\newpage
\section{I have my pre-requisities, let's get to it!}
KDS is basically the Eclipse IDE/environment pumped up to serve the microprocessor development and workflow.\\
To install it you need to:
\begin{itemize}
\item grab your copy of KDS from the download pages of NXP (that's what you've already done, right?)
\item install the dependencies (yep, all of them)
\end{itemize}
\end{document}