mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-23 17:37:22 +00:00
This adds generic IPC transport that should be used as a base for any transport with LL on separate core. It's similar to HCI H4, but has a bit different header to simplify processing and supports internal flow control to make sure LL does not send data that other core does not have free buffers for. IPC transport requires memory shared between cores to keep track of number of available buffers on application core. Application core will initialize counters to total number of available buffers. Then on each alloc LL will atomically test and decrease relevan counter and will allocate buffer only if that counter was non-zero. The counter will be increased by application core if relevant buffer was freed.
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
#
|
|
# 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: nimble/transport/nrf5340
|
|
pkg.description: HCI transport for nRF5340
|
|
pkg.author: "Apache Mynewt <[email protected]>"
|
|
pkg.homepage: "http://mynewt.apache.org/"
|
|
pkg.keywords:
|
|
- ble
|
|
- bluetooth
|
|
- nrf5340
|
|
|
|
pkg.deps:
|
|
- nimble
|
|
- nimble/transport/common/hci_ipc
|
|
- "@apache-mynewt-core/kernel/os"
|
|
- "@apache-mynewt-core/hw/drivers/ipc_nrf5340"
|
|
|
|
pkg.apis:
|
|
- ble_transport
|