Skip to content

Commit 03c0de1

Browse files
authored
update raspi-config nonint commands (#30)
1 parent c771460 commit 03c0de1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pico_setup.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ if [[ "$SKIP_UART" == 1 ]]; then
144144
else
145145
sudo apt install -y $UART_DEPS
146146
echo "Disabling Linux serial console (UART) so we can use it for pico"
147-
sudo raspi-config nonint do_serial 2
147+
148+
# Enable UART hardware
149+
sudo raspi-config nonint do_serial_hw 0
150+
# Disable console over serial port
151+
sudo raspi-config nonint do_serial_cons 1
152+
148153
echo "You must run sudo reboot to finish UART setup"
149154
fi

0 commit comments

Comments
 (0)