apps: Unify sample applications pkg.yml

Use common pattern for pkg.yml. This includes using absolute paths
for dependencies and thus allowing for easy local copy of samples.
This commit is contained in:
Szymon Janc
2025-12-09 16:41:02 +01:00
parent 6b34f57010
commit 27e429afe6
20 changed files with 105 additions and 98 deletions
+9 -10
View File
@@ -16,21 +16,20 @@
# under the License.
#
pkg.name: apps/auracast
pkg.name: "apps/auracast"
pkg.type: app
pkg.description: Auracast sample application.
pkg.description: "Auracast sample application."
pkg.author: "Krzysztof Kopyściński"
pkg.email: "[email protected]"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
pkg.deps:
- nimble/host
- nimble/host/util
- nimble/host/services/gap
- nimble/host/store/config
- nimble/host/audio/services/auracast
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/util"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/store/config"
- "@apache-mynewt-nimble/nimble/host/audio/services/auracast"
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/sys/config"
- "@apache-mynewt-core/sys/console"
@@ -40,8 +39,8 @@ pkg.deps:
- "@apache-mynewt-core/sys/id"
pkg.deps.AUDIO_USB:
- ext/liblc3
- ext/libsamplerate
- "@apache-mynewt-nimble/ext/liblc3"
- "@apache-mynewt-nimble/ext/libsamplerate"
- "@apache-mynewt-core/hw/usb/tinyusb"
pkg.init:
+1 -1
View File
@@ -146,4 +146,4 @@ syscfg.vals.BSP_NRF52:
BLE_PHY_NRF52_HEADERMASK_WORKAROUND: 1
$import:
- "@apache-mynewt-nimble/apps/auracast/syscfg.usb.yml"
- "@apache-mynewt-nimble/apps/auracast/syscfg.usb.yml"
+8 -7
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/blecent
pkg.name: "apps/blecent"
pkg.type: app
pkg.description: Simple BLE central application.
pkg.description: "Simple BLE central application"
pkg.author: "Apache Mynewt <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -28,8 +29,8 @@ pkg.deps:
- "@apache-mynewt-core/sys/log"
- "@apache-mynewt-core/sys/log/modlog"
- "@apache-mynewt-core/sys/stats"
- nimble/host
- nimble/host/util
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/util"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
+6 -6
View File
@@ -16,9 +16,9 @@
# under the License.
#
pkg.name: apps/blecsc
pkg.name: "apps/blecsc"
pkg.type: app
pkg.description: BLE peripheral cycling speed and cadence sensor.
pkg.description: "BLE peripheral cycling speed and cadence sensor"
pkg.author: "Maciej Jurczak"
pkg.email: "[email protected]"
pkg.homepage: "http://mynewt.apache.org/"
@@ -32,7 +32,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/sys/sysinit"
- "@apache-mynewt-core/sys/id"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
+4 -3
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/blehci
pkg.name: "apps/blehci"
pkg.type: app
pkg.description: BLE controller application exposing HCI over external interface
pkg.description: "BLE controller application exposing HCI over external interface"
pkg.author: "Johan Hedberg <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -27,7 +28,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/log"
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/kernel/os"
- nimble/transport
- "@apache-mynewt-nimble/nimble/transport"
pkg.req_apis:
- ble_transport
+6 -6
View File
@@ -16,9 +16,9 @@
# under the License.
#
pkg.name: apps/blehr
pkg.name: "apps/blehr"
pkg.type: app
pkg.description: BLE peripheral heartrate sensor.
pkg.description: "BLE peripheral heartrate sensor"
pkg.author: "Szymon Czapracki"
pkg.email: "[email protected]"
pkg.homepage: "http://mynewt.apache.org/"
@@ -32,7 +32,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/sys/sysinit"
- "@apache-mynewt-core/sys/id"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
+7 -6
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/blemesh
pkg.name: "apps/blemesh"
pkg.type: app
pkg.description: Sample application for BLE Mesh node with on/off model
pkg.description: "Sample application for BLE Mesh node with on/off model"
pkg.author: "Łukasz Rymanowski <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -29,7 +30,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/log/modlog"
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/sys/shell"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
+7 -6
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/blemesh_light
pkg.name: "apps/blemesh_light"
pkg.type: app
pkg.description: Sample application for BLE Mesh node with Light model
pkg.description: "Sample application for BLE Mesh node with Light model"
pkg.author: "Michał Narajowski <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -29,7 +30,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/log/modlog"
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/sys/shell"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
+6 -5
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/blemesh_models_example_1
pkg.name: "apps/blemesh_models_example_1"
pkg.type: app
pkg.description: Sample application for BLE Mesh node with on/off model on nRF52840pdk
pkg.description: "Sample application for BLE Mesh node with on/off model on nRF52840dk"
pkg.author: "Michał Narajowski <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -27,6 +28,6 @@ pkg.deps:
- "@apache-mynewt-core/sys/console"
- "@apache-mynewt-core/sys/log"
- "@apache-mynewt-core/sys/stats"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
+6 -5
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/blemesh_models_example_2
pkg.name: "apps/blemesh_models_example_2"
pkg.type: app
pkg.description: Sample application for BLE Mesh node with on/off, level, light and vendor models on nRF52840pdk
pkg.description: "Sample application for BLE Mesh node with on/off, level, light and vendor models on nRF52840dk"
pkg.author: "Michał Narajowski <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -29,9 +30,9 @@ pkg.deps:
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/encoding/base64"
- "@apache-mynewt-core/sys/config"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
pkg.lflags:
- -DFLOAT_SUPPORT
+7 -6
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/blemesh_shell
pkg.name: "apps/blemesh_shell"
pkg.type: app
pkg.description: Sample application for BLE Mesh node with shell support
pkg.description: "Sample application for BLE Mesh node with shell support"
pkg.author: "Michał Narajowski <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -29,7 +30,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/log/modlog"
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/sys/shell"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
+10 -9
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/bleprph
pkg.name: "apps/bleprph"
pkg.type: app
pkg.description: Simple BLE peripheral application.
pkg.description: "Simple BLE peripheral application"
pkg.author: "Apache Mynewt <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -35,10 +36,10 @@ pkg.deps:
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/sys/sysinit"
- "@apache-mynewt-core/sys/id"
- nimble/host
- nimble/host/services/ans
- nimble/host/services/dis
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- nimble/host/util
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/ans"
- "@apache-mynewt-nimble/nimble/host/services/dis"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
- "@apache-mynewt-nimble/nimble/host/util"
+1 -1
View File
@@ -19,7 +19,7 @@
pkg.name: "apps/blestress"
pkg.type: app
pkg.description: "Stress tests sample application."
pkg.description: "Stress tests sample application"
pkg.keywords:
pkg.deps:
+10 -9
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/btshell
pkg.name: "apps/btshell"
pkg.type: app
pkg.description: Shell application exposing the nimble GAP and GATT.
pkg.description: "Shell application exposing the nimble GAP and GATT"
pkg.author: "Apache Mynewt <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -30,14 +31,14 @@ pkg.deps:
- "@apache-mynewt-core/sys/console"
- "@apache-mynewt-core/sys/shell"
- "@apache-mynewt-core/util/parse_arg"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- nimble/host/util
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
- "@apache-mynewt-nimble/nimble/host/util"
pkg.deps.BTSHELL_ANS:
- nimble/host/services/ans
- "@apache-mynewt-nimble/nimble/host/services/ans"
pkg.deps.BLE_AUDIO:
- nimble/host/audio
- "@apache-mynewt-nimble/nimble/host/audio"
+2 -2
View File
@@ -17,9 +17,9 @@
# under the License.
#
pkg.name: apps/bttester
pkg.name: "apps/bttester"
pkg.type: app
pkg.description: Bluetooth tester application
pkg.description: "Bluetooth tester application"
pkg.author: "Apache Mynewt <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
+1 -1
View File
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
pkg.name: apps/dtm
pkg.name: "apps/dtm"
pkg.type: app
pkg.description: "Bluetooth DTM shell application"
pkg.author: "Apache Mynewt <[email protected]>"
+7 -7
View File
@@ -16,20 +16,20 @@
# under the License.
#
pkg.name: apps/ext_advertiser
pkg.name: "apps/ext_advertiser"
pkg.type: app
pkg.description: Extended Advertising sample application.
pkg.description: "Extended Advertising sample application"
pkg.author: "Szymon Janc"
pkg.email: "[email protected]"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
pkg.deps:
- nimble/host
- nimble/host/util
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/util"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/sys/console"
- "@apache-mynewt-core/sys/log"
+7 -6
View File
@@ -15,9 +15,10 @@
# specific language governing permissions and limitations
# under the License.
#
pkg.name: apps/mesh_badge
pkg.name: "apps/mesh_badge"
pkg.type: app
pkg.description: Sample app for the reel board that showcases Bluetooth Mesh
pkg.description: "Sample app for the reel board that showcases Bluetooth Mesh"
pkg.author: "Apache Mynewt <[email protected]>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
@@ -31,7 +32,7 @@ pkg.deps:
- "@apache-mynewt-core/sys/log/modlog"
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/sys/shell"
- nimble/host
- nimble/host/services/gap
- nimble/host/services/gatt
- nimble/host/store/config
- "@apache-mynewt-nimble/nimble/host"
- "@apache-mynewt-nimble/nimble/host/services/gap"
- "@apache-mynewt-nimble/nimble/host/services/gatt"
- "@apache-mynewt-nimble/nimble/host/store/config"
-1
View File
@@ -22,7 +22,6 @@ pkg.type: app
pkg.description: "Basic perihperal application"
pkg.author: "Krzysztof Kopyściński [email protected]"
pkg.deps:
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/sys/console"
-1
View File
@@ -22,7 +22,6 @@ pkg.type: app
pkg.description: "Basic scanning application"
pkg.author: "Krzysztof Kopyściński <[email protected]>"
pkg.deps:
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/sys/console"