diff options
| author | Damien George | 2014-05-03 17:32:55 +0100 |
|---|---|---|
| committer | Damien George | 2014-05-03 17:32:55 +0100 |
| commit | ae8feac598980d965c3eca9ab4f2903e51f955a5 (patch) | |
| tree | 3d5cddc45a57dc33947a886961880d0a0e3a96db /stmhal/boards/STM32F4DISC | |
| parent | 9c5fc83e6ab39abaf8e3c803c7f13cda33a50280 (diff) | |
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.
Diffstat (limited to 'stmhal/boards/STM32F4DISC')
| -rw-r--r-- | stmhal/boards/STM32F4DISC/mpconfigboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/boards/STM32F4DISC/mpconfigboard.h b/stmhal/boards/STM32F4DISC/mpconfigboard.h index c83bb162b..e6780eacb 100644 --- a/stmhal/boards/STM32F4DISC/mpconfigboard.h +++ b/stmhal/boards/STM32F4DISC/mpconfigboard.h @@ -7,7 +7,6 @@ #define MICROPY_HW_HAS_MMA7660 (0) #define MICROPY_HW_HAS_LIS3DSH (1) #define MICROPY_HW_HAS_LCD (0) -#define MICROPY_HW_HAS_WLAN (0) #define MICROPY_HW_ENABLE_RNG (1) #define MICROPY_HW_ENABLE_RTC (1) #define MICROPY_HW_ENABLE_TIMER (1) @@ -16,6 +15,7 @@ #define MICROPY_HW_ENABLE_I2C1 (1) #define MICROPY_HW_ENABLE_SPI1 (1) #define MICROPY_HW_ENABLE_SPI3 (0) +#define MICROPY_HW_ENABLE_CC3K (0) // USRSW is pulled low. Pressing the button makes the input go high. #define MICROPY_HW_USRSW_PIN (pin_A0) |
