summaryrefslogtreecommitdiff
path: root/net/nimble/host/pkg.yml
blob: a45ba1e5c20018406a52de8a126ce6de7ddd91e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# 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: net/nimble/host
pkg.description: Host side of the nimble Bluetooth Smart stack.
pkg.author: "Apache Mynewt <dev@mynewt.incubator.apache.org>"
pkg.homepage: "http://mynewt.apache.org/"
pkg.keywords:
    - ble
    - bluetooth

pkg.deps:
    - sys/log
    - sys/stats
    - libs/os
    - libs/util
    - libs/mbedtls
    - net/nimble

    # Tinycrypt is only required when secure connections (NIMBPLE_OPT_SM_SC)
    # is enabled.  It always gets built as a dependency, but not is not
    # included by the linker unless SC is enabled.  XXX: We should not build
    # this library if it is not required.
    - libs/tinycrypt

pkg.req_apis:
    - ble_transport
    - console

pkg.features:
    - BLE_HOST

# Satisfy capability dependencies for the self-contained test executable.
pkg.deps.SELFTEST:
    - libs/console/stub
    - net/nimble/transport/ram

pkg.cflags.SELFTEST:
    - "-DPHONY_HCI_ACKS=1"
    - "-DNIMBLE_OPT_SM=1"
    - "-DNIMBLE_OPT_SM_SC=1"
pkg.cflags.TEST: -DBLE_HS_DEBUG