aboutsummaryrefslogtreecommitdiff
path: root/cc3200/boards/WIPY
diff options
context:
space:
mode:
authorDaniel Campora2015-05-25 21:06:45 +0200
committerDaniel Campora2015-05-25 21:47:19 +0200
commit2dd47239de4464900ca853d8e862d6768156e948 (patch)
treeb355140a8160e40491ae8df8df7efe25feb6dc0f /cc3200/boards/WIPY
parent654533620670fcf8fa685f83b79fa500b6cd9856 (diff)
cc3200: Make API more similar to stmhal.
In general the changes are: 1. Peripheral (UART, SPI, ADC, I2C, Timer) IDs start from 1, not zero. 2. Make I2C and SPI require the ID even when there's only one bus. 3. Make I2C and SPI accept 'mode' parameter even though only MASTER is supported.
Diffstat (limited to 'cc3200/boards/WIPY')
-rw-r--r--cc3200/boards/WIPY/mpconfigboard.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc3200/boards/WIPY/mpconfigboard.h b/cc3200/boards/WIPY/mpconfigboard.h
index 3bcfa0ecb..6ff6fe35b 100644
--- a/cc3200/boards/WIPY/mpconfigboard.h
+++ b/cc3200/boards/WIPY/mpconfigboard.h
@@ -34,10 +34,6 @@
#define MICROPY_HW_ENABLE_RNG (1)
#define MICROPY_HW_ENABLE_RTC (1)
-#define MICROPY_STDIO_UART PYB_UART_0
-#define MICROPY_STDIO_UART_BAUD 115200
-#define MICROPY_STDIO_UART_RX_BUF_SIZE 128
-
#define MICROPY_SYS_LED_PRCM PRCM_GPIOA3
#define MICROPY_SAFE_BOOT_PRCM PRCM_GPIOA3
#define MICROPY_SYS_LED_PORT GPIOA3_BASE