You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by mo...@apache.org on 2021/01/14 18:41:57 UTC
[tvm] branch main updated: Add MicroTVM support for the STM32F746
Discovery board (#7225)
This is an automated email from the ASF dual-hosted git repository.
moreau pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new ac29624 Add MicroTVM support for the STM32F746 Discovery board (#7225)
ac29624 is described below
commit ac29624bdc918ae1c926173a5b55cd35839e05f1
Author: Tom Gall <to...@linaro.org>
AuthorDate: Thu Jan 14 12:41:45 2021 -0600
Add MicroTVM support for the STM32F746 Discovery board (#7225)
* Add MicroTVM support for the STM32F746 Discovery board
Signed-off-by: Tom Gall <to...@linaro.org>
* Add reference to the discovery board in the docs
Signed-off-by: Tom Gall <to...@linaro.org>
---
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 68583fe..2371219 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 <https://www.st.com/en/evaluation-tools/nucleo-f746zg.html>`_
+* `STM STM32F746 Discovery <https://www.st.com/en/evaluation-tools/32f746gdiscovery.html>`_
* `nRF 5340 Preview Development Kit <https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF5340-PDK>`_
diff --git a/python/tvm/micro/contrib/zephyr.py b/python/tvm/micro/contrib/zephyr.py
index 2451eac..fa032e2 100644
--- a/python/tvm/micro/contrib/zephyr.py
+++ b/python/tvm/micro/contrib/zephyr.py
@@ -352,6 +352,7 @@ class ZephyrFlasher(tvm.micro.compiler.Flasher):
# 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):