Skip to content

STM32F7DISCOVERY

lbuild module: modm:board:disco-f746ng

Discovery kit for STM32F746

TinyUSB

This board has two USB ports: one with Full Speed support and another with true High Speed support. By default, TinyUSB runs the device classes on the FS port, however, you can reassign it to HS via this option:

<options>
  <option name="modm:tinyusb:config">device.cdc,device.msc</option>
  <option name="modm:tinyusb:device:port">hs</option>
</options>

Remember to initialize the HS instead of the FS port via the BSP:

Board::initialize();
Board::initializeUsbHs();

Note that can use TinyUSB with both the device and host classes at the same time if you assign them to different ports:

```xml
<options>
  <option name="modm:tinyusb:config">device.cdc,device.msc</option>
  <option name="modm:tinyusb:device:port">fs</option>
  <option name="modm:tinyusb:host:port">hs</option>
</options>

You must initialize both ports via the BSP:

Board::initialize();
Board::initializeUsbFs();
Board::initializeUsbHs();

This module is only available for stm32f746ngh6.

Dependencies

modm:board:disco-f746ng modm_board_disco_f746ng modm: board: disco-f746ng modm_architecture_clock modm: architecture: clock modm_board_disco_f746ng->modm_architecture_clock modm_debug modm: debug modm_board_disco_f746ng->modm_debug modm_platform_clock modm: platform: clock modm_board_disco_f746ng->modm_platform_clock modm_platform_core modm: platform: core modm_board_disco_f746ng->modm_platform_core modm_platform_gpio modm: platform: gpio modm_board_disco_f746ng->modm_platform_gpio modm_platform_uart_1 modm: platform: uart: 1 modm_board_disco_f746ng->modm_platform_uart_1 modm_platform_usb_fs modm: platform: usb: fs modm_board_disco_f746ng->modm_platform_usb_fs modm_platform_usb_hs modm: platform: usb: hs modm_board_disco_f746ng->modm_platform_usb_hs

Limited availability: Check with 'lbuild discover' if this module is available for your target!