mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-16 22:21:21 +00:00
freertos: show error if INCLUDE_xEventGroupSetBitFromISR is not set
This commit is contained in:
parent
055ec3888b
commit
92f3d82f1e
@ -50,6 +50,11 @@
|
|||||||
#include "btstack_run_loop_freertos.h"
|
#include "btstack_run_loop_freertos.h"
|
||||||
#include "hal_uart_dma.h"
|
#include "hal_uart_dma.h"
|
||||||
|
|
||||||
|
#if (INCLUDE_xEventGroupSetBitFromISR != 1)
|
||||||
|
#error "The BTstack HAL UART Run Loop integration (btstack_uart_block_freertos) needs to trigger Run Loop iterations from ISR context,
|
||||||
|
but 'INCLUDE_xEventGroupSetBitFromISR' is not enabled in your FreeRTOS configuration. Please enable INCLUDE_xEventGroupSetBitFromISR."
|
||||||
|
#endif
|
||||||
|
|
||||||
// uart config
|
// uart config
|
||||||
static const btstack_uart_config_t * uart_config;
|
static const btstack_uart_config_t * uart_config;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user