summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/uart.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-05-27 16:51:04 +0100
committerDamien George <damien.p.george@gmail.com>2015-05-27 16:51:04 +0100
commit1775b65e07fae808dc50f9cee2005608cd3a26de (patch)
tree128a45e0be3e09165980c94bfe3614309123077b /stmhal/uart.h
parent9ae3fc65235303322ef5282d3cdd4ca99a2c37cc (diff)
downloadmicropython-1775b65e07fae808dc50f9cee2005608cd3a26de.tar.gz
micropython-1775b65e07fae808dc50f9cee2005608cd3a26de.zip
stmhal: Remove PYBVxx defines and use config vars for UART/CAN names.
Now all stmhal-based boards can name their peripherals (if they want) to any string.
Diffstat (limited to 'stmhal/uart.h')
-rw-r--r--stmhal/uart.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/stmhal/uart.h b/stmhal/uart.h
index eb77214151..5b223c5c61 100644
--- a/stmhal/uart.h
+++ b/stmhal/uart.h
@@ -32,14 +32,6 @@ typedef enum {
PYB_UART_4 = 4,
PYB_UART_5 = 5,
PYB_UART_6 = 6,
-
-#if defined(PYBV10)
- PYB_UART_XA = 4, // UART4 on X1, X2 = PA0, PA1
- PYB_UART_XB = 1, // USART1 on X9, X10 = PB6, PB7
- PYB_UART_YA = 6, // USART6 on Y1, Y2 = PC6, PC7
- PYB_UART_YB = 3, // USART3 on Y9, Y10 = PB10, PB11
-#endif
-
} pyb_uart_t;
typedef struct _pyb_uart_obj_t pyb_uart_obj_t;