Installationsupdate
This commit is contained in:
parent
63bdf77ff2
commit
28277098cb
|
@ -16,10 +16,11 @@ Außerdem wird eine Bibliothek (*b15fdrv*) installiert, die eine einfache Entwic
|
|||
|
||||
### Installation mit Installationsscript (empfohlen)
|
||||
|
||||
(a) Laden Sie das [Installationsscript](https://raw.githubusercontent.com/devfix/b15f/master/install) herunter
|
||||
(a) Laden Sie das [Installationsscript](https://raw.githubusercontent.com/devfix/b15f/master/install) herunter, am besten nach **/tmp/**
|
||||
(b) Setzen Sie die Ausführungsberechtigung
|
||||
(c) Schalten Sie die Stromversorgung von B15 an und schließen Sie den ISP Programmer an
|
||||
(d) Starten Sie das Installationsscript
|
||||
(e) Treten Probleme auf? Das B15F Verzeichnis löschen und das Script nocheinmal starten
|
||||
|
||||
### Installation von Hand (falls Installationsscript mit Fehler abbricht)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef COMMIT_HASH_H
|
||||
#define COMMIT_HASH_H
|
||||
const char COMMIT_HASH[] = "c36f49c6a238cf100b5d0dbbe2b40d96f19eddb4";
|
||||
const char COMMIT_HASH[] = "63bdf77ff2a041e05e0b4a5f0e02225a334eb064";
|
||||
#endif // COMMIT_HASH_H
|
||||
|
|
|
@ -85,7 +85,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -121,7 +121,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDriverException_html"><div class="ttname"><a href="classDriverException.html">DriverException</a></div><div class="ttdef"><b>Definition:</b> <a href="driverexception_8h_source.html#l00010">driverexception.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -117,7 +117,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDriverException_html"><div class="ttname"><a href="classDriverException.html">DriverException</a></div><div class="ttdef"><b>Definition:</b> <a href="driverexception_8h_source.html#l00010">driverexception.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -114,7 +114,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -1309,7 +1309,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -76,7 +76,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -196,7 +196,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -109,7 +109,7 @@ std::string </td><td class="memItemRight" valign="bottom"><b>msg_</b></td><
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -100,7 +100,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -811,7 +811,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -239,7 +239,7 @@ std::string </td><td class="memItemRight" valign="bottom"><a class="el" hre
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -86,7 +86,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -523,7 +523,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -239,7 +239,7 @@ std::string </td><td class="memItemRight" valign="bottom"><a class="el" hre
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -89,7 +89,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -157,7 +157,7 @@ constexpr static int </td><td class="memItemRight" valign="bottom"><b>KEY_E
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -99,7 +99,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -185,7 +185,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -103,7 +103,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -197,7 +197,7 @@ constexpr static int </td><td class="memItemRight" valign="bottom"><b>KEY_E
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -205,7 +205,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -94,7 +94,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -172,7 +172,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -72,7 +72,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassB15F_html_a55b0cd1ea582bda53d6979442640f8e9"><div class="ttname"><a href="classB15F.html#a55b0cd1ea582bda53d6979442640f8e9">B15F::setAbortHandler</a></div><div class="ttdeci">static void setAbortHandler(errorhandler_t func)</div><div class="ttdef"><b>Definition:</b> <a href="b15f_8cpp_source.html#l00192">b15f.cpp:192</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -70,10 +70,10 @@ $(function() {
|
|||
<div class="title">commit_hash.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef COMMIT_HASH_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define COMMIT_HASH_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="keyword">const</span> <span class="keywordtype">char</span> COMMIT_HASH[] = <span class="stringliteral">"c36f49c6a238cf100b5d0dbbe2b40d96f19eddb4"</span>;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#endif // COMMIT_HASH_H</span></div></div><!-- fragment --></div><!-- contents -->
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef COMMIT_HASH_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define COMMIT_HASH_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="keyword">const</span> <span class="keywordtype">char</span> COMMIT_HASH[] = <span class="stringliteral">"63bdf77ff2a041e05e0b4a5f0e02225a334eb064"</span>;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#endif // COMMIT_HASH_H</span></div></div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDot_html_ad975f119c0627a928790b3cd5ca6da05"><div class="ttname"><a href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot::Dot</a></div><div class="ttdeci">Dot(uint16_t x, uint16_t y, uint8_t curve)</div><div class="ttdef"><b>Definition:</b> <a href="dot_8cpp_source.html#l00003">dot.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -78,7 +78,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDot_html_ad975f119c0627a928790b3cd5ca6da05"><div class="ttname"><a href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot::Dot</a></div><div class="ttdeci">Dot(uint16_t x, uint16_t y, uint8_t curve)</div><div class="ttdef"><b>Definition:</b> <a href="dot_8cpp_source.html#l00003">dot.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -74,7 +74,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDriverException_html"><div class="ttname"><a href="classDriverException.html">DriverException</a></div><div class="ttdef"><b>Definition:</b> <a href="driverexception_8h_source.html#l00010">driverexception.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -101,7 +101,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -407,7 +407,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -374,7 +374,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -92,7 +92,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -86,7 +86,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -82,10 +82,11 @@ Außerdem wird eine Bibliothek (<em>b15fdrv</em>) installiert, die eine einfache
|
|||
Installation</h1>
|
||||
<h2><a class="anchor" id="autotoc_md3"></a>
|
||||
Installation mit Installationsscript (empfohlen)</h2>
|
||||
<p>(a) Laden Sie das <a href="https://raw.githubusercontent.com/devfix/b15f/master/install">Installationsscript</a> herunter <br />
|
||||
<p>(a) Laden Sie das <a href="https://raw.githubusercontent.com/devfix/b15f/master/install">Installationsscript</a> herunter, am besten nach **/tmp/** <br />
|
||||
(b) Setzen Sie die Ausführungsberechtigung <br />
|
||||
(c) Schalten Sie die Stromversorgung von B15 an und schließen Sie den ISP Programmer an <br />
|
||||
(d) Starten Sie das Installationsscript <br />
|
||||
(e) Treten Probleme auf? Das <a class="el" href="classB15F.html">B15F</a> Verzeichnis löschen und das Script nocheinmal starten <br />
|
||||
</p>
|
||||
<h2><a class="anchor" id="autotoc_md4"></a>
|
||||
Installation von Hand (falls Installationsscript mit Fehler abbricht)</h2>
|
||||
|
@ -174,7 +175,7 @@ Dabei gehören Punkte mit dem gleichen Index für <code>curve</code> (<em>uint8_
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -101,7 +101,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassPlottyFile_html_af952ac5e2c40896acaf6a86063874fe3"><div class="ttname"><a href="classPlottyFile.html#af952ac5e2c40896acaf6a86063874fe3">PlottyFile::getUnitX</a></div><div class="ttdeci">std::string getUnitX(void) const</div><div class="ttdef"><b>Definition:</b> <a href="plottyfile_8cpp_source.html#l00105">plottyfile.cpp:105</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassPlottyFile_html_af952ac5e2c40896acaf6a86063874fe3"><div class="ttname"><a href="classPlottyFile.html#af952ac5e2c40896acaf6a86063874fe3">PlottyFile::getUnitX</a></div><div class="ttdeci">std::string getUnitX(void) const</div><div class="ttdef"><b>Definition:</b> <a href="plottyfile_8cpp_source.html#l00105">plottyfile.cpp:105</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -79,7 +79,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassTimeoutException_html_ad6e5c200fbfd276f48a6c1163e2d2988"><div class="ttname"><a href="classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988">TimeoutException::TimeoutException</a></div><div class="ttdeci">TimeoutException(const std::string &message)</div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00024">timeoutexception.h:24</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -88,7 +88,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassB15F_html_a8f0d3891ec613a569b0a4309dfe213da"><div class="ttname"><a href="classB15F.html#a8f0d3891ec613a569b0a4309dfe213da">B15F::digitalWrite1</a></div><div class="ttdeci">void digitalWrite1(uint8_t)</div><div class="ttdef"><b>Definition:</b> <a href="b15f_8cpp_source.html#l00237">b15f.cpp:237</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -88,7 +88,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassTimeoutException_html"><div class="ttname"><a href="classTimeoutException.html">TimeoutException</a></div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00009">timeoutexception.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -88,7 +88,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassUSART_html_adb6ff4d1cf1af79ca255c5a81780200d"><div class="ttname"><a href="classUSART.html#adb6ff4d1cf1af79ca255c5a81780200d">USART::flushOutputBuffer</a></div><div class="ttdeci">void flushOutputBuffer(void)</div><div class="ttdef"><b>Definition:</b> <a href="usart_8cpp_source.html#l00068">usart.cpp:68</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -79,7 +79,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassUSARTException_html_a0e008b3cb4974859e6bc8c8f8eb480be"><div class="ttname"><a href="classUSARTException.html#a0e008b3cb4974859e6bc8c8f8eb480be">USARTException::~USARTException</a></div><div class="ttdeci">virtual ~USARTException()=default</div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -74,7 +74,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassB15F_html_a3f09a418f9e3be5d1d750e4515c96f1e"><div class="ttname"><a href="classB15F.html#a3f09a418f9e3be5d1d750e4515c96f1e">B15F::abort</a></div><div class="ttdeci">static void abort(std::string msg)</div><div class="ttdef"><b>Definition:</b> <a href="b15f_8cpp_source.html#l00175">b15f.cpp:175</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -74,7 +74,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassView_html"><div class="ttname"><a href="classView.html">View</a></div><div class="ttdef"><b>Definition:</b> <a href="view_8h_source.html#l00019">view.h:19</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassView_html"><div class="ttname"><a href="classView.html">View</a></div><div class="ttdef"><b>Definition:</b> <a href="view_8h_source.html#l00019">view.h:19</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -84,7 +84,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDriverException_html"><div class="ttname"><a href="classDriverException.html">DriverException</a></div><div class="ttdef"><b>Definition:</b> <a href="driverexception_8h_source.html#l00010">driverexception.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewInfo_html"><div class="ttname"><a href="classViewInfo.html">ViewInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="view__info_8h_source.html#l00008">view_info.h:8</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewPromt_html"><div class="ttname"><a href="classViewPromt.html">ViewPromt</a></div><div class="ttdef"><b>Definition:</b> <a href="view__promt_8h_source.html#l00010">view_promt.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewSelection_html"><div class="ttname"><a href="classViewSelection.html">ViewSelection</a></div><div class="ttdef"><b>Definition:</b> <a href="view__selection_8h_source.html#l00010">view_selection.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Wed Jul 31 2019 10:51:37 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Wed Jul 31 2019 11:26:28 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
171
install
171
install
|
@ -1,171 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Konstanten
|
||||
repo="https://github.com/devfix/b15f.git"
|
||||
log="/tmp/b15f-install.log"
|
||||
dependencies="git avr-libc avrdude libncurses5-dev g++ astyle"
|
||||
user="$1"
|
||||
path="/home/$user/b15f/"
|
||||
udev_rule="# SUBSYSTEM!=\"usb_device\", ACTION!=\"add\", GOTO=\"avrisp_end\"\n\nATTR{idVendor}==\"03eb\", ATTR{idProduct}==\"2104\", MODE=\"660\", GROUP=\"dialout\"\n\n# LABEL=\"avrisp_end\"\n"
|
||||
udev_path="/etc/udev/rules.d/60-olimex.rules"
|
||||
mcu_cfg="/etc/b15f.mcu"
|
||||
declare -a known_mcus=("atmega1284" "atmega1284p")
|
||||
declare -a known_users=("famulus" "pi")
|
||||
|
||||
function hr1
|
||||
{
|
||||
printf '━%.0s' $(seq $(tput cols))
|
||||
echo ""
|
||||
}
|
||||
|
||||
function hr2
|
||||
{
|
||||
printf '\e(0'; printf 'q%.0s' $(seq $(tput cols)); printf '\e(B\n';
|
||||
}
|
||||
|
||||
function title
|
||||
{
|
||||
echo ""
|
||||
echo -e "\n*** $1 ***" >> "$log"
|
||||
hr1
|
||||
echo " $1"
|
||||
hr1
|
||||
}
|
||||
|
||||
function msg
|
||||
{
|
||||
echo ""
|
||||
echo -e "\n* $1 *" >> "$log"
|
||||
hr2
|
||||
echo " $1"
|
||||
hr2
|
||||
}
|
||||
|
||||
function out
|
||||
{
|
||||
echo -e " $1" | tee -a "$log"
|
||||
}
|
||||
|
||||
|
||||
###########################
|
||||
# Beginn der Installation #
|
||||
###########################
|
||||
|
||||
# Überprüfe, ob ausführender Nutzer root ist.
|
||||
# Wenn ja überspringe diesen IF-Block.
|
||||
# Sonst: fordere Anmeldung eines Nutzers mit Sudorechten an und
|
||||
# rufe dieses Script automatisch nocheinmal mit den richtigen Parametern auf.
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
current_user="`whoami`"
|
||||
|
||||
# Prüfe, ob user ungültig
|
||||
if [[ ! " ${known_users[@]} " =~ " ${current_user} " ]]; then
|
||||
users="${known_users[@]}"
|
||||
title "Fehler: Dieses Script muss als einer der folgenden Nutzer gestartet werden: ${users}."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
out "B15F wrid installiert für: $current_user"
|
||||
out "Für die Installation werden Superrechte benötigt, Anmeldung (für sudo) folgt..."
|
||||
printf " Nutzername: "
|
||||
read user
|
||||
printf " Melde $user an...\n "
|
||||
su "$user" -c "printf \" Fordere Superrechte an...\n \" && sudo -S bash \"$0\" \"$current_user\""
|
||||
exit 0
|
||||
fi
|
||||
|
||||
title "Installation B15F"
|
||||
|
||||
|
||||
# Abbruch dieses Scripts, wenn ein Befehl fehlschlägt
|
||||
set -e
|
||||
# Abbruch dieses Scripts, wenn ein Befehl in einer Pipe fehlschlägt
|
||||
set -o pipefail
|
||||
|
||||
|
||||
msg "Installiere Abhängigkeiten"
|
||||
|
||||
out "Aktualisiere apt..."
|
||||
apt-get update > /dev/null | tee -a "$log"
|
||||
|
||||
out "Installiere Packete (wenn nötig)..."
|
||||
apt-get install -y $dependencies > /dev/null | tee -a "$log"
|
||||
|
||||
out "Konfiguriere udev rules..."
|
||||
adduser famulus dialout
|
||||
echo -e "$udev_rule" > "$udev_path"
|
||||
|
||||
out "Aktualisiere udev service..."
|
||||
udevadm control --reload-rules| tee -a "$log"
|
||||
udevadm trigger| tee -a "$log"
|
||||
|
||||
msg "Lade Projekt-Daten"
|
||||
|
||||
# Überprüfe, ob repo bereits existiert.
|
||||
# Wenn Ja -> Aktualisierung mittels pull
|
||||
if [ -d "$path" ]; then
|
||||
out "Aktualisiere Repository..."
|
||||
cd "$path"
|
||||
su $user -c "git reset --hard"
|
||||
su $user -c "git checkout --force master"
|
||||
su $user -c "git pull"
|
||||
su $user -c "git pull --prune"
|
||||
|
||||
# Wenn Nein -> Runterladen mittels clone
|
||||
else
|
||||
out "Klone Repository..."
|
||||
su $user -c "git clone -q \"$repo\" \"$path\"" | tee -a "$log"
|
||||
cd "$path"
|
||||
fi
|
||||
|
||||
|
||||
# Entferne Installationsscript im b15f Verzeichnis, damit Nutzer
|
||||
# getwungen ist immer das neueste per Hand herunterzuladen
|
||||
rm "$path/install"
|
||||
|
||||
|
||||
# Wenn die Datei $mcu_cfg nicht exístiert, frage Nutzer nach MCU von diesem
|
||||
# Arbeitsplatz und erzeuge sie neu.
|
||||
if [ ! -f "$mcu_cfg" ]; then
|
||||
msg "Wichtiger Hinweis: atmega1284p ist nicht gleich atmega1284"
|
||||
out "Bitte geben Sie die MCU für diesen Arbeitsplatz an:"
|
||||
read -e -p " MCU = " -i "atmega1284p" mcu
|
||||
echo "$mcu" > "$mcu_cfg"
|
||||
fi
|
||||
|
||||
# Lies die MCU aus der Datei $mcu_cfg aus
|
||||
out "Prüfe $mcu_cfg"
|
||||
mcu=`cat "$mcu_cfg"`
|
||||
|
||||
# Prüfe, ob MCU unbekannt (falsch Eingabe)
|
||||
if [[ ! " ${known_mcus[@]} " =~ " ${mcu} " ]]; then
|
||||
mcus="${known_mcus[@]}"
|
||||
title "Fehler: $mcu_cfg enhält keine der folgenden MCUs: ${mcus}. Bitte per Hand korrigieren und Installation neu starten."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Eersetze die MCU im makefile durch konfigurierte MCU
|
||||
sed -i "s@\\s*MCU\\s*=\\s*atmega1284.*@MCU = ${mcu} # set by ${mcu_cfg}@g" "$path/firmware/"?akefile
|
||||
|
||||
msg "Kompiliere Firmware"
|
||||
|
||||
cd "$path/firmware"
|
||||
su $user -c "make clean" | tee -a "$log"
|
||||
su $user -c "make" | tee -a "$log"
|
||||
|
||||
msg "Lade Firmware auf Mikrocontroller"
|
||||
make upload | tee -a "$log" || {
|
||||
title "Fehler: Upload fehlgeschlagen. Hat B15 Strom?"
|
||||
exit 1
|
||||
}
|
||||
|
||||
msg "Kompiliere Steuersoftware"
|
||||
|
||||
cd "$path/control/src"
|
||||
su $user -c "make clean" | tee -a "$log"
|
||||
su $user -c "make" | tee -a "$log"
|
||||
|
||||
msg "Installiere Steuersoftware"
|
||||
make install | tee -a "$log"
|
||||
|
||||
title "Installation erfolgreich abgeschlossen"
|
Loading…
Reference in a new issue