add nimble submodule

This commit is contained in:
sakumisu
2024-01-29 21:16:05 +08:00
parent feb69dcd95
commit fc80972284
3 changed files with 4 additions and 3 deletions

3
.gitmodules vendored
View File

@@ -1,3 +1,6 @@
[submodule "third_party/zephyr_bluetooth-2.7.5/zephyr_bluetooth"] [submodule "third_party/zephyr_bluetooth-2.7.5/zephyr_bluetooth"]
path = third_party/zephyr_bluetooth-2.7.5/zephyr_bluetooth path = third_party/zephyr_bluetooth-2.7.5/zephyr_bluetooth
url = git@github.com:sakumisu/zephyr_bluetooth.git url = git@github.com:sakumisu/zephyr_bluetooth.git
[submodule "third_party/nimble-1.6.0/nimble"]
path = third_party/nimble-1.6.0/nimble
url = git@github.com:sakumisu/mynewt-nimble.git

View File

@@ -138,9 +138,6 @@ if GetDepend(['PKG_CHERRYUSB_HOST']):
if GetDepend('RT_USING_DFS'): if GetDepend('RT_USING_DFS'):
src += Glob('third_party/rt-thread-5.0/dfs_usbh_msc.c') src += Glob('third_party/rt-thread-5.0/dfs_usbh_msc.c')
if GetDepend('PKG_USING_NIMBLE'):
src += Glob('third_party/nimble-latest/ble_hci_usbh.c')
src += Glob('third_party/rt-thread-5.0/msh_cmd.c') src += Glob('third_party/rt-thread-5.0/msh_cmd.c')
group = DefineGroup('CherryUSB', src, depend = ['PKG_USING_CHERRYUSB'], CPPPATH = path, CPPDEFINES = CPPDEFINES) group = DefineGroup('CherryUSB', src, depend = ['PKG_USING_CHERRYUSB'], CPPPATH = path, CPPDEFINES = CPPDEFINES)