diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-09-02 00:05:13 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-09-02 00:05:13 +0100 |
| commit | a2ee194612fee8b6c0924f999acf8c41f4207e8d (patch) | |
| tree | 160750dafb972d62775c2cc17e77b6e3e4fe2c56 /stmhal/cc3k/src/security.c | |
| parent | 6f70542d82c529173161275b0a21f090fecfddb2 (diff) | |
cc3k: Change configurability of the CC3000 module.iabdalkader-cc3k-update
Optional compiling of the CC3K module is moved from mpconfigboard.h.
To enable compiling of the module, set the MICROPY_PY_CC3K variable,
either on the command line (make MICROPY_PY_CC3K=1) on in the
mpconfigport.mk file. It is enabled by default.
Setting of the SPI and pins for the CC3K module is now done dynamically
by the arguments to wlan.init().
Diffstat (limited to 'stmhal/cc3k/src/security.c')
| -rw-r--r-- | stmhal/cc3k/src/security.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/stmhal/cc3k/src/security.c b/stmhal/cc3k/src/security.c index e2ddb32da..62b4f8813 100644 --- a/stmhal/cc3k/src/security.c +++ b/stmhal/cc3k/src/security.c @@ -39,8 +39,6 @@ //! @{ // //***************************************************************************** -#include "mpconfigport.h" -#if MICROPY_HW_ENABLE_CC3K #include "security.h" @@ -530,4 +528,3 @@ INT32 aes_write_key(UINT8 *key) //! @} // //***************************************************************************** -#endif // MICROPY_HW_ENABLE_CC3K |
