diff options
Diffstat (limited to 'src/libs/mynewt-nimble/porting/targets')
8 files changed, 93 insertions, 5 deletions
diff --git a/src/libs/mynewt-nimble/porting/targets/linux/pkg.yml b/src/libs/mynewt-nimble/porting/targets/linux/pkg.yml index f1159d4a..c819a83c 100644 --- a/src/libs/mynewt-nimble/porting/targets/linux/pkg.yml +++ b/src/libs/mynewt-nimble/porting/targets/linux/pkg.yml @@ -16,7 +16,7 @@ # under the License. # -pkg.name: "targets/linux" +pkg.name: "porting/targets/linux" pkg.type: "target" pkg.description: This target is used to generate syscfg.h file and other artifacts for linux example app. pkg.author: diff --git a/src/libs/mynewt-nimble/porting/targets/linux_blemesh/pkg.yml b/src/libs/mynewt-nimble/porting/targets/linux_blemesh/pkg.yml index c3149333..3cbe09a4 100644 --- a/src/libs/mynewt-nimble/porting/targets/linux_blemesh/pkg.yml +++ b/src/libs/mynewt-nimble/porting/targets/linux_blemesh/pkg.yml @@ -16,7 +16,7 @@ # under the License. # -pkg.name: "targets/linux_blemesh" +pkg.name: "porting/targets/linux_blemesh" pkg.type: "target" pkg.description: This target is used to generate syscfg.h file and other artifacts for linux_blemesh example app. pkg.author: diff --git a/src/libs/mynewt-nimble/porting/targets/nuttx/pkg.yml b/src/libs/mynewt-nimble/porting/targets/nuttx/pkg.yml new file mode 100644 index 00000000..e105cd63 --- /dev/null +++ b/src/libs/mynewt-nimble/porting/targets/nuttx/pkg.yml @@ -0,0 +1,40 @@ +# 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: "porting/targets/nuttx" +pkg.type: "target" +pkg.description: This target is used to generate syscfg.h file and other artifacts for nuttx example app. +pkg.author: +pkg.homepage: + +pkg.deps: +- "@apache-mynewt-core/kernel/os" +- "@apache-mynewt-core/sys/console/stub" +- "@apache-mynewt-core/sys/log/stub" +- "@apache-mynewt-core/sys/stats/stub" +- "@apache-mynewt-nimble/nimble/host" +- "@apache-mynewt-nimble/nimble/transport/socket" +- "@apache-mynewt-nimble/nimble/host/services/ans" +- "@apache-mynewt-nimble/nimble/host/services/bas" +- "@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/services/ias" +- "@apache-mynewt-nimble/nimble/host/services/ipss" +- "@apache-mynewt-nimble/nimble/host/services/lls" +- "@apache-mynewt-nimble/nimble/host/services/tps" diff --git a/src/libs/mynewt-nimble/porting/targets/nuttx/syscfg.yml b/src/libs/mynewt-nimble/porting/targets/nuttx/syscfg.yml new file mode 100644 index 00000000..fdfa7b59 --- /dev/null +++ b/src/libs/mynewt-nimble/porting/targets/nuttx/syscfg.yml @@ -0,0 +1,28 @@ +# 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. +# + +syscfg.vals: + BLE_SOCK_USE_TCP: 0 + BLE_SOCK_USE_NUTTX: 1 + BLE_SOCK_TASK_PRIO: 3 + BLE_SOCK_STACK_SIZE: 1028 + BLE_LL_CFG_FEAT_LL_PRIVACY: 0 + LOG_LEVEL: 2 + BLE_SM_LEGACY: 1 + BLE_SM_SC: 1 + diff --git a/src/libs/mynewt-nimble/porting/targets/nuttx/target.yml b/src/libs/mynewt-nimble/porting/targets/nuttx/target.yml new file mode 100644 index 00000000..9ab4152c --- /dev/null +++ b/src/libs/mynewt-nimble/porting/targets/nuttx/target.yml @@ -0,0 +1,20 @@ +# 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. +# +target.app: "porting/targets/dummy_app" +target.bsp: "porting/targets/dummy_bsp" +target.build_profile: "debug" diff --git a/src/libs/mynewt-nimble/porting/targets/porting_default/pkg.yml b/src/libs/mynewt-nimble/porting/targets/porting_default/pkg.yml index f7319c25..44a34ba0 100644 --- a/src/libs/mynewt-nimble/porting/targets/porting_default/pkg.yml +++ b/src/libs/mynewt-nimble/porting/targets/porting_default/pkg.yml @@ -16,7 +16,7 @@ # under the License. # -pkg.name: "targets/porting_default" +pkg.name: "porting/targets/porting_default" pkg.type: "target" pkg.description: This target is used to generate syscfg.h file and other artifacts for default Nimble port includes. pkg.author: diff --git a/src/libs/mynewt-nimble/porting/targets/riot/pkg.yml b/src/libs/mynewt-nimble/porting/targets/riot/pkg.yml index b6610c30..7d1a3243 100644 --- a/src/libs/mynewt-nimble/porting/targets/riot/pkg.yml +++ b/src/libs/mynewt-nimble/porting/targets/riot/pkg.yml @@ -16,7 +16,7 @@ # under the License. # -pkg.name: "targets/riot" +pkg.name: "porting/targets/riot" pkg.type: "target" pkg.description: This target is used to generate syscfg.h file and other artifacts for RIOT Nimble port. pkg.author: diff --git a/src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml b/src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml index 7bbb57fe..d6ee102b 100644 --- a/src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml +++ b/src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml @@ -17,7 +17,7 @@ # syscfg.vals: - BLE_ACL_BUF_COUNT: 4 + BLE_ACL_BUF_COUNT: 24 BLE_HCI_EVT_HI_BUF_COUNT: 2 BLE_HW_WHITELIST_ENABLE: 0 BLE_LL_CFG_FEAT_DATA_LEN_EXT: 0 |