summaryrefslogtreecommitdiff
path: root/stmhal/cc3k/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/cc3k/security.c')
-rw-r--r--stmhal/cc3k/security.c5
1 files changed, 5 insertions, 0 deletions
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 <stdint.h>
+#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