summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-05-28 16:59:52 +0700
committerGitHub <[email protected]>2025-05-28 16:59:52 +0700
commit2a364ca272d8219f47aece3232aa2e9ab8738655 (patch)
tree808c19fb8f949ed5ec90adda30e27c6956f7e9f7 /src
parent8f077f9295838d6a7e7a5151cb46605df14a630d (diff)
parent132c55aca0aa9bb68b4ffb96ec89947e08e19b88 (diff)
Merge pull request #3136 from hathach/update-max32
add OPT_MCU_MAX32665
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/tusb_option.h1
2 files changed, 2 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 55c52033c..99d3059fc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,9 +1,6 @@
-# TODO more docs and example on how to use this file
-# TINYUSB_TARGET_PREFIX and TINYUSB_TARGET_SUFFIX can be used to change the name of the target
-
cmake_minimum_required(VERSION 3.20)
-# Add tinyusb to a existing target
+# Add tinyusb to a existing target, DCD and HCD drivers are not included
function(tinyusb_target_add TARGET)
target_sources(${TARGET} PRIVATE
# common
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 6d733a429..104f669c9 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -195,6 +195,7 @@
// Analog Devices
#define OPT_MCU_MAX32690 2400 ///< ADI MAX32690
+#define OPT_MCU_MAX32665 2401 ///< ADI MAX32666/5
#define OPT_MCU_MAX32666 2401 ///< ADI MAX32666/5
#define OPT_MCU_MAX32650 2402 ///< ADI MAX32650/1/2
#define OPT_MCU_MAX78002 2403 ///< ADI MAX78002