diff --git a/hw/usb/tinyusb/cdc/pkg.yml b/hw/usb/tinyusb/cdc/pkg.yml index 49a6c2335b..773cd4ff83 100644 --- a/hw/usb/tinyusb/cdc/pkg.yml +++ b/hw/usb/tinyusb/cdc/pkg.yml @@ -28,4 +28,3 @@ pkg.deps: - "@apache-mynewt-core/hw/hal" - "@apache-mynewt-core/kernel/os" - "@apache-mynewt-core/hw/usb/tinyusb" - - "@tinyusb/tinyusb" diff --git a/hw/usb/tinyusb/cdc_console/pkg.yml b/hw/usb/tinyusb/cdc_console/pkg.yml index 9cdc5612e3..c1a3374df7 100755 --- a/hw/usb/tinyusb/cdc_console/pkg.yml +++ b/hw/usb/tinyusb/cdc_console/pkg.yml @@ -30,7 +30,6 @@ pkg.deps: - "@apache-mynewt-core/kernel/os" - "@apache-mynewt-core/hw/usb/tinyusb" - "@apache-mynewt-core/hw/usb/tinyusb/cdc" - - "@tinyusb/tinyusb" pkg.init: usb_cdc_console_pkg_init: 'MYNEWT_VAL(CONSOLE_SYSINIT_STAGE)' diff --git a/hw/usb/tinyusb/da146xx/pkg.yml b/hw/usb/tinyusb/da146xx/pkg.yml index ac843fab4f..5e0e9c2d07 100644 --- a/hw/usb/tinyusb/da146xx/pkg.yml +++ b/hw/usb/tinyusb/da146xx/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/dfu/pkg.yml b/hw/usb/tinyusb/dfu/pkg.yml index ba7c3adfd8..f1470d06ad 100644 --- a/hw/usb/tinyusb/dfu/pkg.yml +++ b/hw/usb/tinyusb/dfu/pkg.yml @@ -29,7 +29,6 @@ pkg.deps: - "@apache-mynewt-core/hw/hal" - "@apache-mynewt-core/kernel/os" - "@apache-mynewt-core/hw/usb/tinyusb" - - "@tinyusb/tinyusb" - "@apache-mynewt-core/mgmt/imgmgr" - "@mcuboot/boot/bootutil" diff --git a/hw/usb/tinyusb/msc_fat_view/pkg.yml b/hw/usb/tinyusb/msc_fat_view/pkg.yml index 04115d3cd2..4125ccf031 100644 --- a/hw/usb/tinyusb/msc_fat_view/pkg.yml +++ b/hw/usb/tinyusb/msc_fat_view/pkg.yml @@ -32,7 +32,6 @@ pkg.deps: - "@apache-mynewt-core/mgmt/imgmgr" - "@apache-mynewt-core/sys/coredump" - "@mcuboot/boot/bootutil" - - "@tinyusb/tinyusb" pkg.init.!BOOT_LOADER: msc_fat_view_pkg_init: $before:tinyusb_start diff --git a/hw/usb/tinyusb/nrf53/pkg.yml b/hw/usb/tinyusb/nrf53/pkg.yml index 01222bf015..715aefe15f 100644 --- a/hw/usb/tinyusb/nrf53/pkg.yml +++ b/hw/usb/tinyusb/nrf53/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/nrf5x/pkg.yml b/hw/usb/tinyusb/nrf5x/pkg.yml index a8c08afa3e..f3f6a5e11c 100644 --- a/hw/usb/tinyusb/nrf5x/pkg.yml +++ b/hw/usb/tinyusb/nrf5x/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/pic32mz/pkg.yml b/hw/usb/tinyusb/pic32mz/pkg.yml index 72315f846c..c8a1d66a82 100644 --- a/hw/usb/tinyusb/pic32mz/pkg.yml +++ b/hw/usb/tinyusb/pic32mz/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/pkg.yml b/hw/usb/tinyusb/pkg.yml index 1fd70176d5..c0f99236c8 100644 --- a/hw/usb/tinyusb/pkg.yml +++ b/hw/usb/tinyusb/pkg.yml @@ -31,7 +31,7 @@ pkg.keywords: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb/tinyusb_sdk" pkg.init.OS_SCHEDULING: tinyusb_start: 'MYNEWT_VAL(USBD_SYSINIT_STAGE)' @@ -64,3 +64,4 @@ pkg.deps.USBD_DFU_STD: - "@apache-mynewt-core/hw/usb/tinyusb/dfu" pkg.req_apis: - TINYUSB_HW_INIT + diff --git a/hw/usb/tinyusb/stm32_fsdev/pkg.yml b/hw/usb/tinyusb/stm32_fsdev/pkg.yml index 25372e5e6e..7b7c8dccfc 100644 --- a/hw/usb/tinyusb/stm32_fsdev/pkg.yml +++ b/hw/usb/tinyusb/stm32_fsdev/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/stm32_fsdev/stm32l0/pkg.yml b/hw/usb/tinyusb/stm32_fsdev/stm32l0/pkg.yml index 38afce2339..f7f28d2bd2 100644 --- a/hw/usb/tinyusb/stm32_fsdev/stm32l0/pkg.yml +++ b/hw/usb/tinyusb/stm32_fsdev/stm32l0/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/stm32_fsdev/stm32wb55/pkg.yml b/hw/usb/tinyusb/stm32_fsdev/stm32wb55/pkg.yml index de73938d05..4d8da7d1e0 100644 --- a/hw/usb/tinyusb/stm32_fsdev/stm32wb55/pkg.yml +++ b/hw/usb/tinyusb/stm32_fsdev/stm32wb55/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/synopsys/pkg.yml b/hw/usb/tinyusb/synopsys/pkg.yml index 0ef48f9480..7bba6824d6 100644 --- a/hw/usb/tinyusb/synopsys/pkg.yml +++ b/hw/usb/tinyusb/synopsys/pkg.yml @@ -30,4 +30,4 @@ pkg.apis: pkg.deps: - "@apache-mynewt-core/kernel/os" - - "@tinyusb/tinyusb" + - "@apache-mynewt-core/hw/usb/tinyusb" diff --git a/hw/usb/tinyusb/tinyusb_sdk/pkg.yml b/hw/usb/tinyusb/tinyusb_sdk/pkg.yml new file mode 100644 index 0000000000..9c0e0d1fc9 --- /dev/null +++ b/hw/usb/tinyusb/tinyusb_sdk/pkg.yml @@ -0,0 +1,43 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +pkg.name: hw/usb/tinyusb/tinyusb_sdk +pkg.description: Package including TinyUSB sdk +pkg.author: "Apache Mynewt " +pkg.homepage: "https://mynewt.apache.org/" +pkg.keywords: + - usb + +pkg.type: sdk + +pkg.deps: + - "@apache-mynewt-core/kernel/os" + +pkg.include_dirs: + - "@tinyusb/src" + +pkg.source_dirs: + - "@tinyusb/src" + +repository.tinyusb: + type: github + branch: master + vers: 0.15.0-commit + user: hathach + repo: tinyusb