From cc061556d9a7f318297109ed8f302b52cb83cb43 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 10 Jan 2025 14:53:37 -0500 Subject: [PATCH 1/2] shared-bindings/usb_midi/__init__.c: document Windows MIDI name length restriction --- shared-bindings/usb_midi/__init__.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shared-bindings/usb_midi/__init__.c b/shared-bindings/usb_midi/__init__.c index c29cb3b4414f4..cb264741309fe 100644 --- a/shared-bindings/usb_midi/__init__.c +++ b/shared-bindings/usb_midi/__init__.c @@ -93,6 +93,9 @@ static void set_name(mp_obj_t name_obj, qstr arg_name_qstr, char **custom_name_p //| This method must be called in boot.py to have any effect. //| //| Not available on boards without native USB support. +//| +//| .. warning:: On Windows, if ``audio_control_interface_name`` is more than 31 characters long, Windows +//| will not recognize the device. This issue is not present on macOS or Linux. //| """ //| ... //| From 79aef6e9f2f257c991585a280379477578ae75fb Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Fri, 10 Jan 2025 14:53:59 -0500 Subject: [PATCH 2/2] update doc build for ports/analog --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bc8a9e05a53b6..47f39703704ba 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(BASEOPTS) # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(BASEOPTS) -TRANSLATE_SOURCES = extmod lib main.c ports/atmel-samd ports/cxd56 ports/espressif ports/mimxrt10xx ports/nordic ports/raspberrypi ports/stm py shared-bindings shared-module supervisor +TRANSLATE_SOURCES = extmod lib main.c ports/atmel-samd ports/analog ports/cxd56 ports/espressif ports/mimxrt10xx ports/nordic ports/raspberrypi ports/renode ports/stm py shared-bindings shared-module supervisor # Paths to exclude from TRANSLATE_SOURCES # Each must be preceded by "-path"; if any wildcards, enclose in quotes. # Separate by "-o" (Find's "or" operand)