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:
Matthias Ringwald 2016-01-28 20:39:21 +01:00
parent a9751d73b6
commit 81fde08b92
3 changed files with 9 additions and 1 deletions

View File

@ -10,7 +10,7 @@
#define HAVE_BZERO
#define HAVE_TICK
#define HAVE_EHCILL
// #define HAVE_EHCILL
#define HAVE_HCI_DUMP
// #define ENABLE_LOG_ERROR

View File

@ -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

View File

@ -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;