summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-11-05 12:00:27 +0700
committerhathach <[email protected]>2021-11-05 12:00:27 +0700
commitd9cf49cbfd2e677f30f993257ffd5d1218fe21cf (patch)
treeeb9f2d89b9db38fac426bc26b4b49f66df1ed056
parenta3fc107d94f5126667a51f82b7997a3c629972c4 (diff)
add xmclib as submodule
-rw-r--r--.gitmodules3
-rw-r--r--hw/bsp/xmc4000/family.mk2
m---------hw/mcu/infineon/mtb-xmclib-cat30
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index a95e64ee6..5c79ea910 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -131,3 +131,6 @@
path = hw/mcu/broadcom
url = https://github.com/adafruit/broadcom-peripherals.git
branch = main-build
+[submodule "hw/mcu/infineon/mtb-xmclib-cat3"]
+ path = hw/mcu/infineon/mtb-xmclib-cat3
+ url = https://github.com/Infineon/mtb-xmclib-cat3.git
diff --git a/hw/bsp/xmc4000/family.mk b/hw/bsp/xmc4000/family.mk
index fc417d41d..e5b9f7b1a 100644
--- a/hw/bsp/xmc4000/family.mk
+++ b/hw/bsp/xmc4000/family.mk
@@ -1,7 +1,7 @@
UF2_FAMILY_ID = 0x00
MCU_DIR = hw/mcu/infineon/mtb-xmclib-cat3
-#DEPS_SUBMODULES += $(MCU_DIR)
+DEPS_SUBMODULES += $(MCU_DIR)
include $(TOP)/$(BOARD_PATH)/board.mk
diff --git a/hw/mcu/infineon/mtb-xmclib-cat3 b/hw/mcu/infineon/mtb-xmclib-cat3
new file mode 160000
+Subproject daf5500d03cba23e68c2f241c30af79cd9d6388