zephyr/samples/bluetooth/hci_ipc
Emil Gydesen 322b177549 samples: Bluetooth: Reduce heap for hci_ipc
Reducing the heap requirement for the hci_ipc sample from
8KiB to 4KiB. It has been tested in various configurations to
work with 2300, but 4KiB was used to provide some leeway for
future updates.

The heap requirement is not documented, and it is unclear why
values lower than 2300 (not exact number) won't boot, and should
be investigated further.

Memory has become a very scarce resource for especially the ISO
builds for the nRF5340, which is why this is getting reduced.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-11-25 21:52:15 +01:00
..
boards Bluetooth: Controller: Remove unused nRF21 FEM SPI CSN control 2024-09-26 17:43:34 -04:00
dts/arm/nordic samples: Bluetooth: hci_ipc comment about NRF_DEFAULT_IRQ_PRIORITY 2024-04-12 13:48:57 +02:00
src samples: Bluetooth: hci_ipc: Fix issue using icbmsg in bsim 2024-10-23 16:51:48 +02:00
CMakeLists.txt bluetooth: Remove migration hints 2024-10-25 17:37:53 -07:00
debug_overlay.conf
nrf5340_cpunet_bis-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_bt_mesh-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_cis-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_df-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_df-bt_ll_sw_split.overlay
nrf5340_cpunet_iso_broadcast-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_iso_central-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_iso_peripheral-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_iso_receive-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
nrf5340_cpunet_iso-bt_ll_sw_split.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
overlay-nrf5340_cpunet_iso_nrf21540_ek-bt_ll_sw_split.conf samples: Bluetooth: hci_ipc: Fix Newton's Cradle, reduce RAM usage 2024-11-22 17:43:04 +01:00
prj.conf samples: Bluetooth: Reduce heap for hci_ipc 2024-11-25 21:52:15 +01:00
README.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00
sample.yaml Bluetooth: Controller: Ext Adv Auxiliary PDUs with ticks_slot_window 2024-11-22 17:43:04 +01:00

.. zephyr:code-sample:: bluetooth_hci_ipc
   :name: HCI IPC
   :relevant-api: hci_raw bluetooth

   Expose a Bluetooth controller to another device or CPU using the IPC subsystem.

Overview
********

This sample exposes :ref:`bluetooth_controller` support
to another device or CPU using IPC subsystem.

Requirements
************

* A board with IPC subsystem and Bluetooth LE support

Building and Running
********************

This sample can be found under :zephyr_file:`samples/bluetooth/hci_ipc`
in the Zephyr tree.

To use this application, you need a board with a Bluetooth controller
and IPC support.
You can then build this application and flash it onto your board in
the usual way. See :ref:`boards` for board-specific building and
programming information.

To test this sample, you need a separate device/CPU that acts as Bluetooth
HCI IPC peer.
This sample is compatible with the HCI IPC driver provided by
Zephyr's Bluetooth :ref:`bt_hci_drivers` core. See the
:kconfig:option:`CONFIG_BT_HCI_IPC` configuration option for more information.

You might need to adjust the Kconfig configuration of this sample to make it
compatible with the peer application. For example, :kconfig:option:`CONFIG_BT_MAX_CONN`
must be equal to the maximum number of connections supported by the peer application.

Refer to :zephyr:code-sample-category:`bluetooth` for general information about Bluetooth samples.