File tree Expand file tree Collapse file tree 6 files changed +73
-3
lines changed Expand file tree Collapse file tree 6 files changed +73
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,14 @@ Building and running the site locally requires a recent `extended` version of [H
52
52
You can find out more about how to install Hugo for your environment in our
53
53
[ Getting started] ( https://www.docsy.dev/docs/getting-started/#prerequisites-and-installation ) guide.
54
54
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
+
56
63
``` bash
57
64
hugo server
58
65
```
Original file line number Diff line number Diff line change
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
+ ---
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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" ).
Original file line number Diff line number Diff line change @@ -26,9 +26,10 @@ sudo curl -o /usr/local/share/openocd/scripts/interface/xcore.cfg https://core.x
26
26
```
27
27
28
28
### 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:
30
30
``` 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"
32
33
```
33
34
The firmware should be uploaded and the program should be running.
34
35
You can’t perform that action at this time.
0 commit comments