Add ATmega328P Xplained Mini board. The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Only include `stdio_uart.h` if stdio over UART is used.
This makes it possible to use the default stdio UART0
for the test.
This is needed if e.g. the default stdio of a board is USB CDC ACM.
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
Add command mode that will be used like this:
mode <dev> <data bits> <parity> <stop bits>
This command must be called after init otherwise
the UART won't be fully initialized.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This removes all non-application based driver/devices and replaces with riot_pal.
riot_pal (riot protocol abstraction layer) can be installed with pip install riot_pal.
The purpose is ti simplify and modularize the interfaces and tests.
All tests using the if_lib interface are updated too.
This PR add deprication warning to notify anyone using the if_lib files that it is being removed from RIOT repo and making it's own repo (RIOT-OS/lib_if).
This is intended to help wil modularization since it is not only being used within RIOT but in other areas as well.
README files are updated to indicate the change and if the if_lib is used it will throw a warning indicating the deprecation.
Add automated script to test devices against known testers.
Tests performed:
* echo test
* extended echo test i.e. received byte value will be incremented
* tester's register access
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
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>
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.