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

41 Commits

Author SHA1 Message Date
Gerson Fernando Budke
4a9f0efb6d boards: introduce atmega328p-xplained-mini
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>
2021-03-27 14:10:19 -03:00
Benjamin Valentin
0c36a57e4e tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
05fbeb65b1
tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
Benjamin Valentin
aac593a7c9 tests/periph_uart: fix for !stdio_uart
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.
2020-04-26 20:31:28 +02:00
Hauke Petersen
98478f0514 tests/periph_uart: fix shell buffer size 2020-01-31 13:57:08 +01:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02:00
MrKevinWeiss
2c2e1fcc16 tests/periph_uart: Remove obsolete python tests 2019-10-16 15:54:36 +02:00
Benjamin Valentin
4918dfe590 tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Marian Buschsieweke
855b5bd54d
tests: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-leonardo to BOARD_INSUFFICIENT_MEMORY where needed
2019-05-24 17:57:44 +02:00
Marian Buschsieweke
0e90e6195f
tests: Updated Updated BOARD_INSUFFICIENT_MEMORY
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.
2019-03-14 15:39:54 +01:00
Yegor Yefremov
2673b662af tests/periph_uart: add tests for uart_mode
Add positive and negative tests for data bits, stop bits and parity:

- 7E1, 7O1
- 8E1, 8O1
- 8N2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-01-31 14:15:20 +01:00
Yegor Yefremov
738cbf685b tests/periph_uart: add support for changing serial
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>
2019-01-31 14:15:20 +01:00
MrKevinWeiss
957cc83cc6 doc: Update copywrites it include HAW 2019-01-28 09:08:50 +01:00
MrKevinWeiss
501b257223 tests/periph_uart: fix baudrate truncation
Since some boards an int is 16 bits the atoi truncates values.
This commit using a long instead of an int.
2019-01-03 16:38:33 +01:00
dbe43d7515 tests/periph_uart: add periph_lpuart optional dependency 2018-12-13 12:39:00 +01:00
MrKevinWeiss
5b83137fd1 dist/tests/if_lib: Update to riot_pal
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.
2018-10-09 21:21:17 +02:00
Martine Lenders
442df8227b
Merge pull request #9839 from MrKevinWeiss/pr/doc/repoupdate
doc: Add deprecation warnings for new repos
2018-09-25 23:15:07 +02:00
cladmi
661868cf4e
tests/periph: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:20 +02:00
MrKevinWeiss
223ed1a26b doc: Add deprecation warnings for new repos
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.
2018-08-25 10:34:32 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
Yegor Yefremov
14486f0e9e tests/periph_uart: add automated testing script
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>
2018-08-07 10:27:30 +02:00
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
3e4f7adc95 boards/nucleo-f031k6: rename to st marketing name 2018-05-23 12:46:42 +02:00
Hauke Petersen
a38a9f7a6f tests/periph_uart: included power_on/off() in test 2018-03-02 10:53:55 +01:00
fc2eff9fba tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
3d48eee095 cleanup: apply remove_atoi_casts.cocci (coccinelle) 2017-05-13 12:39:48 +02:00
77df65e95e tests: add nucleo32-f031 to unsufficient memory boards 2017-02-22 18:43:02 +01:00
smlng
f84e8a37e2 tests: add missing include for Makefile.tests_common 2017-01-20 17:24:56 +01: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