summaryrefslogtreecommitdiff
path: root/src/libs/mynewt-nimble/porting/targets/riot
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/mynewt-nimble/porting/targets/riot')
-rw-r--r--src/libs/mynewt-nimble/porting/targets/riot/pkg.yml34
-rw-r--r--src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml35
-rw-r--r--src/libs/mynewt-nimble/porting/targets/riot/target.yml21
3 files changed, 90 insertions, 0 deletions
diff --git a/src/libs/mynewt-nimble/porting/targets/riot/pkg.yml b/src/libs/mynewt-nimble/porting/targets/riot/pkg.yml
new file mode 100644
index 00000000..b6610c30
--- /dev/null
+++ b/src/libs/mynewt-nimble/porting/targets/riot/pkg.yml
@@ -0,0 +1,34 @@
+# 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: "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:
+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/controller"
+ - "@apache-mynewt-nimble/nimble/transport/ram"
+ - "@apache-mynewt-nimble/nimble/host/services/gap"
+ - "@apache-mynewt-nimble/nimble/host/services/gatt"
diff --git a/src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml b/src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml
new file mode 100644
index 00000000..7bbb57fe
--- /dev/null
+++ b/src/libs/mynewt-nimble/porting/targets/riot/syscfg.yml
@@ -0,0 +1,35 @@
+# 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_ACL_BUF_COUNT: 4
+ BLE_HCI_EVT_HI_BUF_COUNT: 2
+ BLE_HW_WHITELIST_ENABLE: 0
+ BLE_LL_CFG_FEAT_DATA_LEN_EXT: 0
+ BLE_LL_CFG_FEAT_LE_CSA2: 1
+ BLE_LL_CFG_FEAT_LE_ENCRYPTION: 0
+ BLE_LL_CFG_FEAT_LL_PRIVACY: 0
+ BLE_LL_CONN_INIT_MAX_TX_BYTES: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
+ BLE_LL_SUPP_MAX_RX_BYTES: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
+ BLE_LL_SUPP_MAX_TX_BYTES: 'MYNEWT_VAL_BLE_LL_MAX_PKT_SIZE'
+ BLE_SM_LEGACY: 0
+ BLE_SM_SC: 0
+ BLE_MAX_PERIODIC_SYNCS: 0
+ MSYS_1_BLOCK_COUNT: 5
+ MSYS_1_BLOCK_SIZE: 88
+ XTAL_32768: 1
diff --git a/src/libs/mynewt-nimble/porting/targets/riot/target.yml b/src/libs/mynewt-nimble/porting/targets/riot/target.yml
new file mode 100644
index 00000000..850d8f1c
--- /dev/null
+++ b/src/libs/mynewt-nimble/porting/targets/riot/target.yml
@@ -0,0 +1,21 @@
+# 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: "@apache-mynewt-core/hw/bsp/nordic_pca10056"
+target.build_profile: "debug"