summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/usart.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-06-15 22:33:14 -0700
committerDave Hylands <dhylands@gmail.com>2014-06-15 22:48:05 -0700
commit4f1b7fec9f103c92de40875e9a06b7decc4923f4 (patch)
treed9e0f1b0e7dd290a728c065960500ecf30967997 /teensy/usart.c
parent2547928148aefcf163953057979e14f46bef1170 (diff)
downloadmicropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.tar.gz
micropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.zip
Updated teensy to build.
Refactored some stmhal files which are shared with teensy.
Diffstat (limited to 'teensy/usart.c')
-rw-r--r--teensy/usart.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/teensy/usart.c b/teensy/usart.c
deleted file mode 100644
index a700e8e379..0000000000
--- a/teensy/usart.c
+++ /dev/null
@@ -1,38 +0,0 @@
-#include "misc.h"
-#include "mpconfig.h"
-#include "qstr.h"
-#include "obj.h"
-#include "../stm/usart.h"
-
-pyb_usart_t pyb_usart_global_debug = PYB_USART_NONE;
-
-void usart_init(pyb_usart_t usart_id, uint32_t baudrate)
-{
- (void)usart_id;
- (void)baudrate;
-}
-
-bool usart_rx_any(pyb_usart_t usart_id)
-{
- (void)usart_id;
- return false;
-}
-
-int usart_rx_char(pyb_usart_t usart_id)
-{
- (void)usart_id;
- return 0;
-}
-
-void usart_tx_str(pyb_usart_t usart_id, const char *str)
-{
- (void)usart_id;
- (void)str;
-}
-
-void usart_tx_strn_cooked(pyb_usart_t usart_id, const char *str, int len)
-{
- (void)usart_id;
- (void)str;
- (void)len;
-}