Browse Source

RPi: README.md format one new section

pull/646/head
Knuti_in_Päse 2 years ago
committed by GitHub
parent
commit
57bc46191c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 40
      tools/rpi/README.md

40
tools/rpi/README.md

@ -91,7 +91,7 @@ Please check first, if you have Debian 11 (bullseye) 64 bit operating system ins
There are 2 possible solutions to install the RF24 wrapper: There are 2 possible solutions to install the RF24 wrapper:
* `1. Solution:` **__1. Solution:__**
```code ```code
sudo apt install cmake git python3-dev libboost-python-dev python3-pip python3-rpi.gpio sudo apt install cmake git python3-dev libboost-python-dev python3-pip python3-rpi.gpio
@ -106,18 +106,19 @@ cd RF24
rm -rf build Makefile.inc rm -rf build Makefile.inc
./configure --driver=SPIDEV ./configure --driver=SPIDEV
``` ```
# edit `Makefile.inc` with your prefered editor e.g. nano or vi > _edit `Makefile.inc` with your prefered editor e.g. nano or vi_
- old: >
```code > old:
CPUFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard >```code
CFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Ofast -Wall -pthread > CPUFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
``` > CFLAGS=-marm -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -Ofast -Wall -pthread
- new: >```
```code > new:
CPUFLAGS= >```code
CFLAGS=-Ofast -Wall -pthread > CPUFLAGS=
``` > CFLAGS=-Ofast -Wall -pthread
* continue with >```
_continue now_
```code ```code
make make
sudo make install sudo make install
@ -130,7 +131,7 @@ python3 -m pip list #watch for RF24 module - if its there its installed
``` ```
* `2. Solution:` **__2. Solution:__**
```code ```code
sudo apt install git python3-dev libboost-python-dev python3-pip python3-rpi.gpio sudo apt install git python3-dev libboost-python-dev python3-pip python3-rpi.gpio
@ -139,11 +140,10 @@ cd pyRF24
python3 -m pip install . -v # this step takes about 5 minutes on my RPI-4 ! python3 -m pip install . -v # this step takes about 5 minutes on my RPI-4 !
``` ```
If you have problems with your radio module from ahoi, If you have problems with your radio module from ahoi, e.g.: cannot interpret received data,
e.g.: cannot interpret received data, please try to reduce the speed of your radio module!
please try to reduce the speed of the radio module! Add the following parameter to your ahoy.yml configuration file in "nrf" section:
Add the following line to your ahoy.yml configuration file in "nrf" section: `spispeed: 600000` (0.6 MHz)
* `spispeed: 600000`
@ -247,7 +247,7 @@ Todo
- Ability to talk to multiple inverters - Ability to talk to multiple inverters
- MQTT gateway - MQTT gateway
- understand channel hopping - understand channel hopping
- configurable polling interval - ~~configurable polling interval~~ done: interval ist configurable in ahoy.yml
- commands - commands
- picture of setup! - picture of setup!
- python module - python module

Loading…
Cancel
Save