Skip to content

Commit

Permalink
boards/stm32h7: Fix wrong usbnsh name and fix Documentation
Browse files Browse the repository at this point in the history
Fixes the incorrect board profile name to 'usbnsh' used on
WeAct-STM32H743 board.

Signed-off-by: Alan C. Assis <[email protected]>
  • Loading branch information
acassis authored and xiaoxiang781216 committed Jan 24, 2025
1 parent c754019 commit 06722d6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ USART1
Each weact-stm32h743 configuration is maintained in a sub-directory and
can be selected as follow::

tools/configure.sh weact-stm32h743:<subdir>
./tools/configure.sh weact-stm32h743:<subdir>

Where <subdir> is one of the following:
Where <subdir> is one of the following:


Configuration Directories
Expand All @@ -73,3 +73,23 @@ nsh
Configures the NuttShell (nsh) located at apps/examples/nsh. This
configuration enables a serial console on UART1.

usbnsh
------

Configures the NuttShell (nsh) located at apps/examples/nsh. This
configuration enables a serial console over USB.

After flasing and reboot your board you should see in your dmesg logs::

[ 2638.948089] usb 1-1.4: new full-speed USB device number 16 using xhci_hcd
[ 2639.054432] usb 1-1.4: New USB device found, idVendor=0525, idProduct=a4a7, bcdDevice= 1.01
[ 2639.054437] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2639.054438] usb 1-1.4: Product: CDC/ACM Serial
[ 2639.054440] usb 1-1.4: Manufacturer: NuttX
[ 2639.054441] usb 1-1.4: SerialNumber: 0
[ 2639.074861] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[ 2639.074886] usbcore: registered new interface driver cdc_acm
[ 2639.074887] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

You may need to press **ENTER** 3 times before the NSH show up.

0 comments on commit 06722d6

Please sign in to comment.