From ca29b8263ad9fb4240794e8e84c0def3dd1771fb Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 12 Jun 2022 13:33:38 +0800
Subject: [PATCH] update sample config boot for pwm

---
 bsp/images/boot/config-nolcd.txt |    9 ++++++---
 bsp/images/boot/config-lcd.txt   |    9 ++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/bsp/images/boot/config-lcd.txt b/bsp/images/boot/config-lcd.txt
index 5246e8a..802f335 100644
--- a/bsp/images/boot/config-lcd.txt
+++ b/bsp/images/boot/config-lcd.txt
@@ -8,13 +8,16 @@
 dtoverlay_i2c1=yes
 
 # Can not enable SPI overlay here for conflict with LCD
-#dtoverlay_spi1=yes
+#dtoverlay_spi1=no
 
-# Can not enable UART7 overlay here for conflict with LCD
+# Can not enable UART7 overlays here for conflict with LCD
 dtoverlay_uart=2 3 4
 
-# Enable CAN overlay
+# Enable CAN overlays
 dtoverlay_can=1 2
 
+# Enable PWM overlays
+dtoverlay_pwm=7 8
+
 # Extra overlays
 #dtoverlay_extra=cam
diff --git a/bsp/images/boot/config-nolcd.txt b/bsp/images/boot/config-nolcd.txt
index 7980f1c..93b2117 100644
--- a/bsp/images/boot/config-nolcd.txt
+++ b/bsp/images/boot/config-nolcd.txt
@@ -10,11 +10,14 @@
 # Enable SPI overlay, SPI1 conflict with LCD
 dtoverlay_spi1=yes
 
-# Enable UART overlay, UART7 conflict with LCD
+# Enable UART overlays, UART7 conflict with LCD
 dtoverlay_uart=2 3 4 7
 
-# Enable CAN overlay
+# Enable CAN overlays
 dtoverlay_can=1 2
 
+# Enable PWM overlays
+dtoverlay_pwm=7 8
+
 # Enable extra overlays
-dtoverlay_extra=cam
+#dtoverlay_extra=cam

--
Gitblit v1.9.1