From ee39e0aebc0a608327e80b32b508ac8fd6eb7ea2 Mon Sep 17 00:00:00 2001 From: Simon Kueppers Date: Mon, 17 Oct 2022 21:19:09 +0200 Subject: [PATCH] Added TinyUSB stack and implemented simple dual-CDC example --- .gitmodules | 3 + stm32/aioc-fw/.cproject | 8 + stm32/aioc-fw/Inc/tusb_config.h | 111 ++++++++ stm32/aioc-fw/Middlewares/Third-Party/tinyusb | 1 + stm32/aioc-fw/Src/main.c | 140 +++++++++- stm32/aioc-fw/Src/usb_descriptors.c | 253 ++++++++++++++++++ 6 files changed, 508 insertions(+), 8 deletions(-) create mode 100644 .gitmodules create mode 100644 stm32/aioc-fw/Inc/tusb_config.h create mode 160000 stm32/aioc-fw/Middlewares/Third-Party/tinyusb create mode 100644 stm32/aioc-fw/Src/usb_descriptors.c diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e0beb50 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "stm32/aioc-fw/Middlewares/Third-Party/tinyusb"] + path = stm32/aioc-fw/Middlewares/Third-Party/tinyusb + url = https://github.com/hathach/tinyusb.git diff --git a/stm32/aioc-fw/.cproject b/stm32/aioc-fw/.cproject index f8c708e..fb669ca 100644 --- a/stm32/aioc-fw/.cproject +++ b/stm32/aioc-fw/.cproject @@ -41,6 +41,7 @@