mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-24 15:02:43 +00:00
Merge branch 'master' into ble-api-cleanup
This commit is contained in:
commit
2a989d8add
@ -59,6 +59,10 @@
|
|||||||
#error HCI_OUTGOING_PRE_BUFFER_SIZE not defined. Please update hci.h
|
#error HCI_OUTGOING_PRE_BUFFER_SIZE not defined. Please update hci.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_EHCILL
|
||||||
|
#error "HCI Transport H4 DMA does not support eHCILL. Please use hci_transport_h4_ehcill_dma.c instead."
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
H4_W4_PACKET_TYPE = 1,
|
H4_W4_PACKET_TYPE = 1,
|
||||||
H4_W4_EVENT_HEADER,
|
H4_W4_EVENT_HEADER,
|
||||||
|
@ -56,6 +56,10 @@
|
|||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
#include "hci_transport.h"
|
#include "hci_transport.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_EHCILL
|
||||||
|
#error "HCI Transport H4 POSIX does not support eHCILL yet. Please remove HAVE_EHCILL from your btstack-config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// assert pre-buffer for packet type is available
|
// assert pre-buffer for packet type is available
|
||||||
#if !defined(HCI_OUTGOING_PRE_BUFFER_SIZE) || (HCI_OUTGOING_PRE_BUFFER_SIZE == 0)
|
#if !defined(HCI_OUTGOING_PRE_BUFFER_SIZE) || (HCI_OUTGOING_PRE_BUFFER_SIZE == 0)
|
||||||
#error HCI_OUTGOING_PRE_BUFFER_SIZE not defined. Please update hci.h
|
#error HCI_OUTGOING_PRE_BUFFER_SIZE not defined. Please update hci.h
|
||||||
|
@ -52,6 +52,10 @@
|
|||||||
#include "hci.h"
|
#include "hci.h"
|
||||||
#include "hci_transport.h"
|
#include "hci_transport.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_EHCILL
|
||||||
|
#error "HCI Transport H5 POSIX does not support eHCILL yet. Please remove HAVE_EHCILL from your btstack-config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct hci_transport_h5 {
|
typedef struct hci_transport_h5 {
|
||||||
hci_transport_t transport;
|
hci_transport_t transport;
|
||||||
btstack_data_source_t *ds;
|
btstack_data_source_t *ds;
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
#define HAVE_INIT_SCRIPT
|
#define HAVE_INIT_SCRIPT
|
||||||
#define HAVE_BZERO
|
#define HAVE_BZERO
|
||||||
#define HAVE_TICK
|
#define HAVE_TICK
|
||||||
#define HAVE_EHCILL
|
|
||||||
|
// #define HAVE_EHCILL
|
||||||
|
|
||||||
// BTstack features that can be enabled
|
// BTstack features that can be enabled
|
||||||
#define ENABLE_BLE
|
#define ENABLE_BLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user