aboutsummaryrefslogtreecommitdiffstats
path: root/stage1
diff options
context:
space:
mode:
authorfpicalausa <[email protected]>2019-09-23 18:11:58 +0900
committerXECDesign <[email protected]>2019-09-23 10:11:58 +0100
commit652780757be196ac7292a9e1d3a8182a2b6c0de2 (patch)
tree8f87b8b727263bc7991d762ce9f3b086d82571d5 /stage1
parentd1ed4a2982fc37fbd69e71cdc408dfa174f66b84 (diff)
Update config.txt to replace lirc-rpi with gpio-ir (#328)
The example for enabling IR transmission in `/boot/config.txt` is still using the deprecated `lirc-rpi` overlay. The documentation in `/boot/overlays/README` indicates that this overlay has been deprecated in favor of `gpio-ir` / `gpio-ir-tx`. This updates the actual config.txt to suggest `gpio-ir` instead of `lirc-rpi`.
Diffstat (limited to 'stage1')
-rw-r--r--stage1/00-boot-files/files/config.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/stage1/00-boot-files/files/config.txt b/stage1/00-boot-files/files/config.txt
index 578d736..548f4ac 100644
--- a/stage1/00-boot-files/files/config.txt
+++ b/stage1/00-boot-files/files/config.txt
@@ -47,8 +47,9 @@
#dtparam=i2s=on
#dtparam=spi=on
-# Uncomment this to enable the lirc-rpi module
-#dtoverlay=lirc-rpi
+# Uncomment this to enable infrared communication.
+#dtoverlay=gpio-ir,gpio_pin=17
+#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README