From ae8feac598980d965c3eca9ab4f2903e51f955a5 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 3 May 2014 17:32:55 +0100 Subject: stmhal: Wrap CC3000 driver in MICROPY_HW_ENABLE_CC3K. This renames MICROPY_HW_HAS_WLAN to MICROPY_HW_ENABLE_CC3K (since it's a driver, not a board feature) and wraps all CC3000 code in this #if. It's disabled for all boards. --- stmhal/cc3k/security.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stmhal/cc3k/security.c') diff --git a/stmhal/cc3k/security.c b/stmhal/cc3k/security.c index c12aee370..c52d7f67e 100644 --- a/stmhal/cc3k/security.c +++ b/stmhal/cc3k/security.c @@ -41,6 +41,9 @@ //***************************************************************************** #include +#include "mpconfigport.h" + +#if MICROPY_HW_ENABLE_CC3K #include "security.h" @@ -533,3 +536,5 @@ signed long aes_write_key(unsigned char *key) //! @} // //***************************************************************************** + +#endif // MICROPY_HW_ENABLE_CC3K -- cgit v1.2.3