mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 06:40:23 +00:00
remove HAVE_EHCILL from pic32-harmony project as it is using a CSR chipset. Throw warning if HAVE_EHCILL defined but transport does not support it (yet)
This commit is contained in:
parent
a9751d73b6
commit
81fde08b92
@ -10,7 +10,7 @@
|
||||
#define HAVE_BZERO
|
||||
#define HAVE_TICK
|
||||
|
||||
#define HAVE_EHCILL
|
||||
// #define HAVE_EHCILL
|
||||
|
||||
#define HAVE_HCI_DUMP
|
||||
// #define ENABLE_LOG_ERROR
|
||||
|
@ -56,6 +56,10 @@
|
||||
#include "hci.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
|
||||
#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
|
||||
|
@ -52,6 +52,10 @@
|
||||
#include "hci.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 {
|
||||
hci_transport_t transport;
|
||||
data_source_t *ds;
|
||||
|
Loading…
x
Reference in New Issue
Block a user