summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/cc3k/hci.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/cc3k/hci.c')
-rw-r--r--stmhal/cc3k/hci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/cc3k/hci.c b/stmhal/cc3k/hci.c
index ef77db95f9..533311f175 100644
--- a/stmhal/cc3k/hci.c
+++ b/stmhal/cc3k/hci.c
@@ -50,6 +50,9 @@
#include <stdint.h>
#include <string.h> // for memcpy
+#include "mpconfigport.h"
+
+#if MICROPY_HW_ENABLE_CC3K
#include "cc3000_common.h"
#include "hci.h"
@@ -240,3 +243,5 @@ hci_patch_send(unsigned char ucOpcode, unsigned char *pucBuff, char *patch, unsi
//
//
//*****************************************************************************
+
+#endif // MICROPY_HW_ENABLE_CC3K