This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 618119edb74520b5bf8aa456ea13760fda8a721c
Author: Matteo Golin <[email protected]>
AuthorDate: Wed Jul 8 20:24:02 2026 -0400

    docs/raspberrypi-4b: Document PWM configuration
    
    Documents the configuration which allows PWM audio.
    
    Signed-off-by: Matteo Golin <[email protected]>
---
 .../platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst  | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git 
a/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst 
b/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst
index cbe8c809155..a841a15f616 100644
--- a/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst
+++ b/Documentation/platforms/arm64/bcm2711/boards/raspberrypi-4b/index.rst
@@ -322,3 +322,15 @@ This configuration leverages all four A72 cores of the 
BCM2711. It comes with
 the standard NSH shell, :doc:`/applications/testing/getprime/index`,
 :doc:`/applications/testing/ostest/index`, and
 :doc:`/applications/testing/smp/index` tests.
+
+audio_tone
+----------
+
+This configuration enables PWM0 and PWM1 interfaces and provides examples like
+:doc:`/applications/examples/pwm/index` for playing with sound. The audio jack
+right and left channels are channel 1 and 2 of ``/dev/pwm1``.
+
+.. warning::
+
+   Audio output over the jack is very loud. DO NOT plug in earbuds until first
+   assessing the sound level with them out of your ears.

Reply via email to