Commit 3f78f814 authored by Marek Belisko's avatar Marek Belisko
Browse files

rpi-config: Enable spi

Signed-off-by: default avatarMarek Belisko <>
parent bdd2e317
......@@ -5,5 +5,8 @@ do_deploy_append() {
echo "# Enable uart2 as serial console" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
echo "dtoverlay=uart2" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
echo "enable_uart=1" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
echo "#Enable SPI" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
echo "dtparam=spi=on" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
echo "dtoverlay=spi0-1cs" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment