mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
arch/sim/Kconfig: Fix indentation
Remove spaces from Kconfig
This commit is contained in:
+14
-14
@@ -551,8 +551,8 @@ config SIM_UART_NUMBER
|
|||||||
by running:
|
by running:
|
||||||
|
|
||||||
socat PTY,link=/dev/ttySIM0 PTY,link=/dev/ttyNX0
|
socat PTY,link=/dev/ttySIM0 PTY,link=/dev/ttyNX0
|
||||||
stty -F /dev/ttySIM0 raw
|
stty -F /dev/ttySIM0 raw
|
||||||
stty -F /dev/ttyNX0 raw
|
stty -F /dev/ttyNX0 raw
|
||||||
|
|
||||||
This will create two new ports on your system.
|
This will create two new ports on your system.
|
||||||
NuttX will use the ttySIM0 port, and another software
|
NuttX will use the ttySIM0 port, and another software
|
||||||
@@ -629,20 +629,20 @@ config SIM_USB_RAW_GADGET
|
|||||||
default n
|
default n
|
||||||
depends on HOST_LINUX
|
depends on HOST_LINUX
|
||||||
---help---
|
---help---
|
||||||
Use USB Raw Gadget and Dummy HCD/UDC to set up virtual
|
Use USB Raw Gadget and Dummy HCD/UDC to set up virtual
|
||||||
USB Device and Host controller that connected to each
|
USB Device and Host controller that connected to each
|
||||||
other inside the kernel.
|
other inside the kernel.
|
||||||
|
|
||||||
Get Raw Gadget:
|
Get Raw Gadget:
|
||||||
Get Raw Gadget code at https://github.com/xairy/raw-gadget.
|
Get Raw Gadget code at https://github.com/xairy/raw-gadget.
|
||||||
|
|
||||||
Make Raw Gadget:
|
Make Raw Gadget:
|
||||||
Run make in the raw_gadget and dummy_hcd directory. If raw_gadget
|
Run make in the raw_gadget and dummy_hcd directory. If raw_gadget
|
||||||
build fail, you need to check which register interface meets your
|
build fail, you need to check which register interface meets your
|
||||||
kenel version, usb_gadget_probe_driver or usb_gadget_register_driver.
|
kenel version, usb_gadget_probe_driver or usb_gadget_register_driver.
|
||||||
|
|
||||||
Install Raw Gadget:
|
Install Raw Gadget:
|
||||||
Run ./insmod.sh in the raw_gadget and dummy_hcd directory.
|
Run ./insmod.sh in the raw_gadget and dummy_hcd directory.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -661,7 +661,7 @@ config SIM_LIBUSB
|
|||||||
default n
|
default n
|
||||||
depends on HOST_LINUX
|
depends on HOST_LINUX
|
||||||
---help---
|
---help---
|
||||||
Use libusb to set up virtual USB Host controller.
|
Use libusb to set up virtual USB Host controller.
|
||||||
|
|
||||||
config SIM_USB_VID
|
config SIM_USB_VID
|
||||||
hex "Simulated USB Dev VID"
|
hex "Simulated USB Dev VID"
|
||||||
|
|||||||
Reference in New Issue
Block a user