diff options
| author | Daniel Campora | 2015-03-25 14:14:25 +0100 |
|---|---|---|
| committer | Daniel Campora | 2015-03-25 15:22:32 +0100 |
| commit | 26d230419c37a9b28a3b76f3e20af6799d0098c4 (patch) | |
| tree | c4fbe0618110fc6376870a0fe6328fd920da9d8e /cc3200/boards/WIPY | |
| parent | 4729a212b18678e278a9135e728acd6067aa46d9 (diff) | |
cc3200: Add GPIO25 to the pins list of the WiPy and the WiPy-SD.
This allows to properly initialize the system led and add it
to the sleep module so that it can be restored when resuming
from suspended mode.
Diffstat (limited to 'cc3200/boards/WIPY')
| -rw-r--r-- | cc3200/boards/WIPY/mpconfigboard.h | 9 | ||||
| -rw-r--r-- | cc3200/boards/WIPY/pins.csv | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/cc3200/boards/WIPY/mpconfigboard.h b/cc3200/boards/WIPY/mpconfigboard.h index 1eb37221f..700e34304 100644 --- a/cc3200/boards/WIPY/mpconfigboard.h +++ b/cc3200/boards/WIPY/mpconfigboard.h @@ -41,9 +41,10 @@ #define MICROPY_SAFE_BOOT_PRCM PRCM_GPIOA3 #define MICROPY_SYS_LED_PORT GPIOA3_BASE #define MICROPY_SAFE_BOOT_PORT GPIOA3_BASE -#define MICROPY_SYS_LED_PIN_NUM PIN_21 -#define MICROPY_SAFE_BOOT_PIN_NUM PIN_18 -#define MICROPY_SYS_LED_PORT_PIN GPIO_PIN_1 // GPIO25 (SOP2) -#define MICROPY_SAFE_BOOT_PORT_PIN GPIO_PIN_4 // GPIO28 +#define MICROPY_SYS_LED_GPIO pin_GPIO25 +#define MICROPY_SYS_LED_PIN_NUM PIN_21 // GPIO25 (SOP2) +#define MICROPY_SAFE_BOOT_PIN_NUM PIN_18 // GPIO28 +#define MICROPY_SYS_LED_PORT_PIN GPIO_PIN_1 +#define MICROPY_SAFE_BOOT_PORT_PIN GPIO_PIN_4 #define MICROPY_PORT_SFLASH_BLOCK_COUNT 96 diff --git a/cc3200/boards/WIPY/pins.csv b/cc3200/boards/WIPY/pins.csv index 5294181f3..760bb15f9 100644 --- a/cc3200/boards/WIPY/pins.csv +++ b/cc3200/boards/WIPY/pins.csv @@ -22,3 +22,4 @@ R11,GPIO3 R12,GPIO0 R13,GPIO4 R14,GPIO5 +HBL,GPIO25 |
