diff --git a/configs/stm32f4discovery/README.txt b/configs/stm32f4discovery/README.txt index c591b500cbb..67dce3c7d3d 100644 --- a/configs/stm32f4discovery/README.txt +++ b/configs/stm32f4discovery/README.txt @@ -1603,16 +1603,31 @@ Where is one of the following: a USB host on the STM32F4Discovery, including support for a mass storage class driver: - CONFIG_USBDEV=n : Make sure tht USB device support is disabled - CONFIG_USBHOST=y : Enable USB host support - CONFIG_USBHOST_MSC=y : Enable the mass storage class - CONFIG_STM32_OTGFS=y : Enable the STM32 USB OTG FS block - CONFIG_STM32_SYSCFG=y : Needed for all USB OTF FS support - CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required - CONFIG_SCHED_HPWORK=y : for the mass storage class driver. - CONFIG_NSH_ARCHINIT=y : Architecture specific USB initialization - is needed for NSH - CONFIG_FS_FAT=y : Needed by the USB host mass storage class. + Device Drivers -> + CONFIG_USBDEV=n : Make sure tht USB device support is disabled + CONFIG_USBHOST=y : Enable USB host support + CONFIG_USBHOST_ISOC_DISABLE=y + + Device Drivers -> USB Host Driver Support + CONFIG_USBHOST_MSC=y : Enable the mass storage class + + System Type -> STM32 Peripheral Support + CONFIG_STM32_OTGFS=y : Enable the STM32 USB OTG FS block + CONFIG_STM32_SYSCFG=y : Needed for all USB OTF FS support + + RTOS Features -> Work Queue Support + CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required + CONFIG_SCHED_HPWORK=y : for the mass storage class driver. + + File Systems -> + CONFIG_FS_FAT=y : Needed by the USB host mass storage class. + + Board Selection -> + CONFIG_LIB_BOARDCTL=y : Needed for CONFIG_NSH_ARCHINIT + + Application Configuration -> NSH Library + CONFIG_NSH_ARCHINIT=y : Architecture specific USB initialization + : is needed for NSH With those changes, you can use NSH with a FLASH pen driver as shown belong. Here NSH is started with nothing in the USB host slot: