summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pybwlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pybwlan.c')
-rw-r--r--stmhal/pybwlan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/pybwlan.c b/stmhal/pybwlan.c
index 06309b61c0..fb214209c2 100644
--- a/stmhal/pybwlan.c
+++ b/stmhal/pybwlan.c
@@ -12,6 +12,8 @@
#include "obj.h"
#include "runtime.h"
+#if MICROPY_HW_ENABLE_CC3K
+
#include "cc3k/ccspi.h"
#include "cc3k/hci.h"
#include "cc3k/socket.h"
@@ -377,3 +379,5 @@ void pyb_wlan_start(void) {
printf("nvmem_read_sp_version=%d; %02x %02x\n", ret, ver[0], ver[1]);
*/
}
+
+#endif // MICROPY_HW_ENABLE_CC3K