Skip to content

Commit 71339c3

Browse files
committed
Updated notes with missing steps
1 parent 22f72a6 commit 71339c3

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ This project is the consolidation of the forked NanoHatOLED & BakeBit repos that
55

66
The original repos contained many files that were not needed for the WLAN Pi, and were also based on python 2. This provided a number of support issues. Therefore, both repos were combined in to a unified repo, conversions were completed to support python 3 and extraneous files from the original repos were removed to provide a slimmed down code base.
77

8-
The repo may be installed on to a WLAN Pi by simply cloning this repo as the wlanpi user:
8+
## Installation notes
9+
10+
Before fpms can be installed, some additional python3 modules are required. Complete the following steps:
11+
12+
```
13+
sudo apt-get update
14+
sudo apt-get install python3-smbus
15+
sudo python3 -m pip install pillow
16+
```
17+
18+
The repo may be installed on to a WLAN Pi by cloning this repo as the wlanpi user:
919

1020
```
1121
cd ~
@@ -62,8 +72,9 @@ Once the fpms package has been successfully installed and is operational, it may
6272

6373
The move to python 3.5 required several file updates to provide support for the new python version. When moving to python 3.7 in the future, these will need to be completed again (with appropriate updates for 3.7) to support the new version. The steps are documented here for future reference (these were kindly figured out & provided by Adrian Granados):
6474

65-
1. Install the following packages:
75+
1. Update the package list and install the following packages:
6676

77+
sudo apt-get update
6778
sudo apt-get install python3-smbus
6879
sudo python3 -m pip install pillow
6980

migration_notes.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
Migrating from the old NanoHatOLED & BakeBit repos to the new single 'fpms' repo:
22

3+
Before fpms can be installed, some additional python3 modules are required. Complete the following steps:
4+
5+
sudo apt-get update
6+
sudo apt-get install python3-smbus
7+
sudo python3 -m pip install pillow
8+
9+
To install fpms:
10+
311
1. Edit the oled-start file : "sudo nano /usr/local/bin/oled-start"
412

513
from:

release_notes.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ If you are moving from the previous Bakebit/NanoHatOLED GitHub repos, you must a
55

66
(Note this is a one-way operation - you will need to re-image your WLAN Pi if there are any issues and you wish to revert)
77

8+
Aditional python3 modules are required. Complete the following steps:
9+
10+
sudo apt-get update
11+
sudo apt-get install python3-smbus
12+
sudo python3 -m pip install pillow
13+
14+
To activate fpms:
15+
816
1. Edit the oled-start file : "sudo nano /usr/local/bin/oled-start"
917

1018
from:

0 commit comments

Comments
 (0)