We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 496665a + e12ff63 commit cd0aabaCopy full SHA for cd0aaba
1 file changed
script/prepare-pi.sh
@@ -5,10 +5,10 @@ sudo apt-get update
5
sudo apt-get upgrade -y
6
sudo apt-get install -y git stm32flash gcc-arm-none-eabi gcc g++ make cmake build-essential libasio-dev libncurses-dev libssl-dev
7
8
-# Removing a console configuration from /boot/cmdline.txt
+# Removing a console configuration from /boot/firmware/cmdline.txt
9
sudo sed -i 's/console=serial0,115200 //g' /boot/firmware/cmdline.txt
10
11
-# Determining the model of Raspberry Pi to adjust /boot/config.txt accordingly
+# Determining the model of Raspberry Pi to adjust /boot/firmware/config.txt accordingly
12
model=$(tr -d '\0' < /proc/device-tree/model)
13
overlay="dtoverlay=disable-bt"
14
if echo "$model" | grep -q "Raspberry Pi 3"; then
0 commit comments