summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/cc3k/ccspi.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/cc3k/ccspi.c')
-rw-r--r--stmhal/cc3k/ccspi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/cc3k/ccspi.c b/stmhal/cc3k/ccspi.c
index 4785897e13..133b17d030 100644
--- a/stmhal/cc3k/ccspi.c
+++ b/stmhal/cc3k/ccspi.c
@@ -42,6 +42,9 @@
*****************************************************************************/
#include <stdint.h>
#include <string.h> // for memset
+#include "mpconfigport.h"
+
+#if MICROPY_HW_ENABLE_CC3K
#include "ccspi.h"
#include "hci.h"
@@ -735,3 +738,5 @@ void cc3k_int_poll()
SpiIntGPIOHandler();
}
}
+
+#endif // MICROPY_HW_ENABLE_CC3K