samples: Bluetooth: hci_uart: Use lower IRQ priority SoC peripherals

Use lower IRQ proirities for SoC peripherals, example UART,
to reduce ISR latencies on the IRQs processed by the
Controller.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2024-05-30 13:12:00 +02:00 committed by Fabio Baltieri
parent 510e1ba6af
commit cdab35a118

View File

@ -0,0 +1,7 @@
/* Keep default IRQ priority low for peripherals to reduce Radio ISR latency.
* ARM Cortex-M4 lowest priority value of 5, i.e. considering Zephyr reserved 2
* levels for Exceptions and ZLI (if enabled).
* ARM Cortex-M0 lowest priority value of 3, i.e. we use it as Zephyr has no
* support for ZLI on Cortex-M0.
*/
#define NRF_DEFAULT_IRQ_PRIORITY 3