freertos: show error if INCLUDE_xEventGroupSetBitFromISR is not set

This commit is contained in:
Matthias Ringwald 2017-05-09 09:22:06 +02:00
parent 055ec3888b
commit 92f3d82f1e

View File

@ -50,6 +50,11 @@
#include "btstack_run_loop_freertos.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
static const btstack_uart_config_t * uart_config;