mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-18 04:11:57 +00:00
Add the required specific HW configuration for SW defined BLE LL on RV32M1 SoC, by means of DTS overlays: - enable INTMUX0 channels 2 & 3 - route Generic FSK RF0 interrupt to INTMUX channel 3 - route LPTMR1 interrupt to INTMUX channel 2 This change is done for all Bluetooth samples that are intended to run on RV32M1 using BLE SW LL. Signed-off-by: George Stefan <george.stefan@nxp.com> Signed-off-by: Radu Alexe <radu.alexe@nxp.com> Signed-off-by: Ionut Ursescu <ionut.ursescu@nxp.com> Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
README.rst | ||
rv32m1_vega_ri5cy.overlay | ||
sample.yaml |
.. _bluetooth-ibeacon-sample: Bluetooth: iBeacon ################## Overview ******** This simple application demonstrates the BLE Broadcaster role functionality by advertising an Apple iBeacon. The calibrated RSSI @ 1 meter distance can be set using an IBEACON_RSSI build variable (e.g. IBEACON_RSSI=0xb8 for -72 dBm RSSI @ 1 meter), or by manually editing the default value in the ``main.c`` file. Because of the hard-coded values of iBeacon UUID, major, and minor, the application is not suitable for production use, but is quite convenient for quick demonstrations of iBeacon functionality. Requirements ************ * A board with Bluetooth LE support, or * QEMU with BlueZ running on the host Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/ibeacon` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details on how to run the sample inside QEMU. For other boards, build and flash the application as follows: .. zephyr-app-commands:: :zephyr-app: samples/bluetooth/ibeacon :board: <board> :goals: flash :compact: Refer to your :ref:`board's documentation <boards>` for alternative flash instructions if your board doesn't support the ``flash`` target.