From e9fc26d8a38f6425634a30845b112f2ae5f9fee0 Mon Sep 17 00:00:00 2001 From: Tristan Krause <tristan.krause@stud.htwk-leipzig.de> Date: Tue, 18 Jun 2019 10:51:28 +0200 Subject: [PATCH] handbuch an script angepasst --- control/src/README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/control/src/README.md b/control/src/README.md index 12597aa..575ae97 100644 --- a/control/src/README.md +++ b/control/src/README.md @@ -14,15 +14,23 @@ Außerdem wird eine Bibliothek (*b15fdrv*) installiert, die eine einfache Entwic ## Installation -### 1. Abhängigkeiten installieren +### Installation mit Installationsscript (empfohlen) + + (a) Laden Sie das [Installationsscript](https://raw.githubusercontent.com/devfix/b15f/master/install) herunter + (b) Setzen Sie die Ausführungsberechtigung + (c) Starten Sie das Script + +### Installation von Hand (falls Installationsscript mit Fehler abbricht) + +#### 1. Abhängigkeiten installieren (a) **sudo apt-get update** (b) **sudo apt-get install git avr-libc avrdude libncurses5-dev g++ astyle** -### 2. Das Repository klonen +#### 2. Das Repository klonen (a) **cd /home/famulus/** (b) **git clone "https://github.com/devfix/b15f.git"** -### 3. Die Firmware installieren +#### 3. Die Firmware installieren (a) **cd "/home/famulus/b15f/firmware"** (b) Passen Sie in der Datei *Makefile* die Option "MCU = ..." an die MCU des vorliegenden Boards an @@ -35,7 +43,7 @@ Außerdem wird eine Bibliothek (*b15fdrv*) installiert, die eine einfache Entwic Sonst: (d II) **sudo make upload** -### 4. Die Steuersoftware (Bibliothek & CLI) installieren +#### 4. Die Steuersoftware (Bibliothek & CLI) installieren (a) **cd "/home/famulus/b15f/control/src"** (b) **make** (Die Warnungen durch doxygen können ignoriert werden.) @@ -43,13 +51,19 @@ Außerdem wird eine Bibliothek (*b15fdrv*) installiert, die eine einfache Entwic (c) **sudo make install** ## Aktualisierung + +### Aktualisierung mit Installationsscript (empfohlen) + +Wiederholen Sie den Schritt "Installation mit Installationsscript". Das Script erkennt die bereits installierte Version und aktualisiert diese. + +### Aktualisierung von Hand (falls Installationsscript mit Fehler abbricht) (a) **cd /home/famulus/b15f/** (b) **git pull --prune** (c) **cd "/home/famulus/b15f/firmware"** (d) **make clean** (e) **cd "/home/famulus/b15f/control/src"** (f) **make clean** - (g) Installation ab Schritt 3 wiederholen + (g) "Installation von Hand" ab Schritt 3 durchführen ## Die CommandLineInterface (CLI) benutzen (a) Öffnen Sie ein Terminal und maximieren Sie das Fenster