1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Yegor Yefremov
38aecf2bdf tests/periph_uart: adapt main.c for automated testing
This is an effort to automate UART testing using the same framework as
was already introduced for i2c. The framework relies on shell commands
to return invocation status and data in a special way:

1. Invocation status: Success or Error
2. Data inside the []

Hence this patch adds invocation status to the UART init command and
invocation status and data to the printer.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-07-11 10:06:18 +02:00
Hauke Petersen
a38a9f7a6f tests/periph_uart: included power_on/off() in test 2018-03-02 10:53:55 +01:00
3d48eee095 cleanup: apply remove_atoi_casts.cocci (coccinelle) 2017-05-13 12:39:48 +02:00
Hauke Petersen
474cf80558 tests/periph_uart: terminate strings with \n 2017-01-09 13:17:44 +01:00
Hauke Petersen
13cebf2739 tests/periph_uart: use named UART return values 2016-10-28 10:32:00 +02:00
Martine Lenders
4161ae1f11 Merge pull request #5686 from OTAkeys/pr/fix_uart_test
tests/periph_uart: include uart_stdio.h
2016-09-28 07:08:54 +02:00
Matthias Kolja Miehl
6ea7a8f6ae tests/periph_uart: fix invalidPrintfArgType_sint
Since the argument type is 'unsigned int', the printf
format string has to be '%u' instead of '%i'.
2016-09-05 02:27:24 +02:00
Toon Stegen
2039cd1e26 tests/periph_uart: include uart_stdio.h
This makes sure UART_STDIO_DEV is defined, so the init command fails
when trying to use the shell UART as a parameter.
2016-07-25 09:43:36 +02:00
Hauke Petersen
1367df0805 tests/periph_uart: fixed signedness issues 2016-04-08 10:49:34 +02:00
Yonezawa-T2
79d33897cb native: add UART driver based on /dev/tty
uart0 functionality is removed by #3164. This patch implements periph/uart,
rather than deprecated uart0, using /dev/tty.
To use with netdev2_tap simultaneously, this patch adds asynchronus read system
and modifies netdev2_tap to use it.

A TTY device is specified on command line with -c (COM) option, since -t was
used by the old implementation.

This patch also implements empty GPIO driver needed by the xbee driver.
2016-03-31 16:59:12 +09:00
Hauke Petersen
18ae50ad4e tests/periph_uart: adapted to cb type changtests/periph_uart: adapted to cb type changee 2016-03-15 11:02:06 +01:00
Joakim Nohlgård
dc303a4f0b sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header 2016-03-11 12:04:00 +01:00
Hauke Petersen
a38e51c0d0 tests: added new UART test application 2015-10-27 14:59:37 +01:00