From 089306368e0de4b012b06822cef79dc1c09ab89a Mon Sep 17 00:00:00 2001 From: Tom Gall Date: Thu, 14 Jan 2021 12:41:45 -0600 Subject: [PATCH] Add MicroTVM support for the STM32F746 Discovery board (#7225) * Add MicroTVM support for the STM32F746 Discovery board Signed-off-by: Tom Gall * Add reference to the discovery board in the docs Signed-off-by: Tom Gall --- docs/microtvm/index.rst | 1 + python/tvm/micro/contrib/zephyr.py | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/microtvm/index.rst b/docs/microtvm/index.rst index 68583fed31f4..2371219af27f 100644 --- a/docs/microtvm/index.rst +++ b/docs/microtvm/index.rst @@ -42,6 +42,7 @@ flexible and portable to other processors such as RISC-V and does not require Ze demos run against QEMU and the following hardware: * `STM Nucleo-F746ZG `_ +* `STM STM32F746 Discovery `_ * `nRF 5340 Preview Development Kit `_ diff --git a/python/tvm/micro/contrib/zephyr.py b/python/tvm/micro/contrib/zephyr.py index 2451eac3cb61..fa032e20c930 100644 --- a/python/tvm/micro/contrib/zephyr.py +++ b/python/tvm/micro/contrib/zephyr.py @@ -352,6 +352,7 @@ def _get_nrf_device_args(self): # kwargs passed to usb.core.find to find attached boards for the openocd flash runner. BOARD_USB_FIND_KW = { "nucleo_f746zg": {"idVendor": 0x0483, "idProduct": 0x374B}, + "stm32f746g_disco": {"idVendor": 0x0483, "idProduct": 0x374B}, } def openocd_serial(self, cmake_entries):