Skip to content

Commit

Permalink
Updated documentation to reflect new path of config.txt on Raspberry …
Browse files Browse the repository at this point in the history
…Pi OS since Bookworm
  • Loading branch information
alexreinert committed Feb 4, 2024
1 parent 00412f2 commit 638787e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/setup/raspberrypi.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
6. Enable UART GPIO pins (not required on Raspberry Pi 2) (You can skip this step, if you do not use the HM-MOD-RPI-PCB or RPI-RF-MOD on GPIO header, for the HB-RF-USB this step is not neccessary)
* Option 1: Disabled bluetooth (prefered)
```bash
sudo bash -c 'cat << EOT >> /boot/config.txt
sudo bash -c 'cat << EOT >> /boot/firmware/config.txt
dtoverlay=pi3-disable-bt
EOT'
sudo systemctl disable hciuart.service
```

* Option 2: Bluetooth attached to mini uart
```bash
sudo bash -c 'cat << EOT >> /boot/config.txt
sudo bash -c 'cat << EOT >> /boot/firmware/config.txt
dtoverlay=pi3-miniuart-bt
enable_uart=1
force_turbo=1
Expand All @@ -54,8 +54,8 @@

7. Disable serial console in command line (You can skip this step, if you do not use the HM-MOD-RPI-PCB or RPI-RF-MOD on GPIO header, for the HB-RF-USB this step is not neccessary)
```bash
sudo sed -i /boot/cmdline.txt -e "s/console=serial0,[0-9]\+ //"
sudo sed -i /boot/cmdline.txt -e "s/console=ttyAMA0,[0-9]\+ //"
sudo sed -i /boot/firmware/cmdline.txt -e "s/console=serial0,[0-9]\+ //"
sudo sed -i /boot/firmware/cmdline.txt -e "s/console=ttyAMA0,[0-9]\+ //"
```

8. Add network bridge (if you are using wifi please refer to the debian documentation how to configure the network and the bridge)
Expand Down

0 comments on commit 638787e

Please sign in to comment.