Skip to content

Commit 2d265e7

Browse files
Merge pull request #1 from Apehaenger/chore-addendum
Chore addendum
2 parents fbddd23 + bce0315 commit 2d265e7

File tree

6 files changed

+73
-3
lines changed

6 files changed

+73
-3
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,14 @@ Building and running the site locally requires a recent `extended` version of [H
5252
You can find out more about how to install Hugo for your environment in our
5353
[Getting started](https://www.docsy.dev/docs/getting-started/#prerequisites-and-installation) guide.
5454

55-
Once you've made your working copy of the site repo, from the repo root folder, run:
55+
Once you've made your working copy of the site repo, change to the repo root folder, install the required modules:
56+
57+
```bash
58+
npm install --no-bin-links
59+
```
60+
61+
and finally run:
62+
5663
```bash
5764
hugo server
5865
```
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Knowledge Base"
3+
linkTitle: "Knowledge Base"
4+
weight: 110
5+
description: >
6+
A collection of information that can be useful at times.
7+
resources:
8+
- src: "**.png"
9+
---
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Meaning of the LEDs"
3+
linkTitle: "Meaning of the LEDs"
4+
resources:
5+
- src: "**.jpg"
6+
7+
---
8+
9+
{{< imgproc leds Resize 800x />}}
10+
11+
The meaning of the Raspberry Pi LEDs are public known. If not, please ask your preferred search engine.
12+
13+
Following a list of the current known/implemented xCore LED meanings:
14+
15+
| Left "Info" LED | Right "Heartbeat" LED | Meaning
16+
|:---------------------------:|:-------------------------------------:|---------
17+
| On | | IP assigned?
18+
| Blink<br>(~1Hz) | | TODO
19+
| Quick flash<br>(>=10Hz) | | TODO
20+
| | 2 blue quick flashes<br>(continuous) | No App (OpenMower) firmware found?
21+
| | 2 green quick flashes<br>(continuous) | App (OpenMower) firmware up and alive?
22+
| | red | TODO
212 KB
Loading
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: "Building STM32 Firmware"
3+
linkTitle: "Building STM32 Firmware"
4+
description: Tutorial for building the STM32 microcontroller firmware.
5+
---
6+
7+
The firmware can be build on any host PC (but yet only tested on Linux machine).
8+
9+
### Step 1: Clone 'fw-openmower-v2' firmware repository
10+
11+
It's important to clone the 'fw-openmower-v2' repository including it's submodules:
12+
```bash
13+
sudo apt install git docker
14+
git clone --recurse-submodules https://github.com/xtech/fw-openmower-v2.git
15+
```
16+
17+
### Step 2: Compile Firmware
18+
19+
```bash
20+
cd fw-openmower-v2
21+
./build-binary.sh
22+
```
23+
24+
### Step 3: Copy Compiled Firmware to Mower
25+
26+
Copy the compiled firmware binary (.elf format) to your (V2) mower:
27+
```bash
28+
scp out/openmower.elf [email protected]:"
29+
```
30+
The firmware should be copied to your mower where it could be uploaded to the STM32 microcontroller,
31+
see [Flashing STM32 From CM4]({{< ref "flashing-stm32-from-cm4" >}} "Flashing STM32 From CM4").

content/en/docs/Tutorials/flashing-stm32-from-cm4/_index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ sudo curl -o /usr/local/share/openocd/scripts/interface/xcore.cfg https://core.x
2626
```
2727

2828
### Step 3: Upload a binary
29-
Get a binary (.elf format) and upload it to the STM32 like this:
29+
Get binary (see i.e. [Building STM32 Firmware]({{< ref "building-stm32-firmware" >}} "Building STM32 Firmware")) and upload it to the STM32 like this:
3030
```bash
31-
openocd -f interface/xcore.cfg -f target/stm32h7x.cfg -c "program your-binary.elf verify reset exit"
31+
cd ~
32+
openocd -f interface/xcore.cfg -f target/stm32h7x.cfg -c "program openmower.elf verify reset exit"
3233
```
3334
The firmware should be uploaded and the program should be running.
3435

0 commit comments

Comments
 (0)