summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/cc3k/cc3000_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/cc3k/cc3000_common.c')
-rw-r--r--stmhal/cc3k/cc3000_common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/cc3k/cc3000_common.c b/stmhal/cc3k/cc3000_common.c
index 48eda26760..8d9bd7d03a 100644
--- a/stmhal/cc3k/cc3000_common.c
+++ b/stmhal/cc3k/cc3000_common.c
@@ -52,6 +52,9 @@
*
*****************************************************************************/
#include <stdint.h>
+#include "mpconfigport.h"
+
+#if MICROPY_HW_ENABLE_CC3K
#include "cc3000_common.h"
#include "socket.h"
@@ -194,3 +197,5 @@ uint32_t STREAM_TO_UINT32_f(char * cp, uint16_t offset)
//! @}
//
//*****************************************************************************
+
+#endif // MICROPY_HW_ENABLE_CC3K