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

43 Commits

Author SHA1 Message Date
Marian Buschsieweke
7e58bea1bd
examples,tests: Update Makefile.cis 2023-02-27 12:31:04 +01:00
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Marian Buschsieweke
c06335b71b
sys/shell: make cmds submodules
Previously `shell_commands` was a "catch-all" module that included
shell commands for each and every used module that has a shell
companion. Instead, the new `shell_cmds` module is now used to provide
shell commands as individually selectable submodules, e.g.
`cmd_gnrc_icmpv6_echo` now provides the ICMPv6 echo command (a.k.a.
ping).

To still have a "catch all" module to pull in shell commands of modules
already used, `shell_cmds_default` was introduced. `shell_commands`
depends now on `shell_cmds_default` for backward compatibility, but
has been deprecated. New apps should use `shell_cmds_default`
instead.

For a handful of shell commands individual selection was already
possible. Those modules now depend on the corresponding `cmd_%` module
and they have been deprecated.
2022-09-16 13:15:45 +02:00
Francisco Molina
a5aa9486dd tests/periph_i2c: include esp ci compile test boards 2022-02-09 16:50:04 +01:00
Gunar Schorcht
b7dda22d6e tests: update to new I2C API 2021-11-29 06:35:25 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
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
Hauke Petersen
fe15192200 tests/periph_i2c: include I2C scanner per default 2021-02-18 13:22:54 +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
f23fb7db4e
tests/periph_i2c: fix typo 'consumtion' -> 'consumption' 2020-10-02 08:18:16 +02:00
Benjamin Valentin
896f9db71f tests/periph_i2c: add tests for periph_i2c_reconfigure features
Add a test to re-configure the I2C pins to GPIO functionality and
use them as output.

A small delay is added to allow for observing the change in power
draw.
2020-05-05 16:12:19 +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
26539eb3ec tests/periph_i2c: Remove obsolete python tests 2019-10-16 15:54:10 +02:00
Marian Buschsieweke
5ea305f352
tests/periph_i2c: Adapted to new i2c_release() 2019-08-27 13:59:20 +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
MrKevinWeiss
957cc83cc6 doc: Update copywrites it include HAW 2019-01-28 09:08:50 +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
Yegor Yefremov
ff525eb354 dist/tests/if_lib: move testing infrastructure files to a stand-alone package
Create if_lib package containing all the modules and adapt the *.py files
to import each other using the intra-package references.

The idea behind a package is to invoke test.py either by permanently
modifying PYTHONPATH in user profile via adding path to $RIOTBASE/dist/tests
or make temporary PYTHONPATH changes during the invocation:

PYTHONPATH=$PYTHONPATH:$RIOTBASE/dist/tests python3 test.py

Leave periph_i2c_if.py in the same folder as test.py as this file is
just a Python wrapper around periph specific main.c.

Update BPT memory map. Use definitions generated with the latest code
generator. Both routine names and mapping have changed.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-02 13:34:47 +02:00
smlng
f55eebe2fb tests/periph_i2c: fix unused variable in pythonlib
flake8 reported an error with an unused variable in a python
    library used by the automated I2C testing script, which is
    fix here.
2018-07-25 12:01:40 +02:00
MrKevinWeiss
f67d6f785d tests/periph_i2c: Add automated testing script
Add automated script to test devices against a known testers.
	This will make it easier to run tests instead of manual testing.
	This is something that works for now but will be better integrated later.
2018-07-25 12:01:40 +02:00
MrKevinWeiss
16914171de tests/periph_i2c: Adapt to new i2c api
Changed shell to reflect the api very closely.
	This allows full access to each function for unit testing.
2018-07-25 12:01:40 +02:00
MrKevinWeiss
5a5caa9851 tests/periph_i2c: refactor and standardize output 2018-07-25 12:01:38 +02:00
MrKevinWeiss
de1c492f60 tests/periph_i2c: Update to new I2C API 2018-07-25 12:01:37 +02:00
Bas Stottelaar
9e5a2e9a63 tests: periph_i2c: map speed to i2c_speed_t. 2018-03-29 13:13:10 +02:00
fc2eff9fba tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
smlng
e381317fbf make: fix sign-compare errors
cpu, nrf5x_common: fix sign-compare in periph/flashpage
    drivers, periph_common: fix sign-compare in flashpage
    cpu, sam0_common: fix sign-compare error in periph/gpio
    cpu, cc2538: fix sign-compare in periph/timer
    cpu, sam3: fix sign-compare in periph/gpio
    cpu, stm32_common: fix sign-compare in periph/pwm
    cpu, stm32_common: fix sign-compare in periph/timer
    cpu, stm32_common: fix sign-compare in periph/flashpage
    cpu, nrf5x_common: fix sign-compare in radio/nrfmin
    cpu, samd21: fix sign-compare in periph/pwm
    cpu, ezr32wg: fix sign-compare in periph/gpio
    cpu, ezr32wg: fix sign-compare in periph/timer
    drivers, ethos: fix sign-compare
    sys, net: fix sign-compare
    cpu, atmega_common: fix sign-compare error
    cpu, msp430fxyz: fix sign-compare in periph/gpio
    boards, msb-430-common: fix sign-compare in board_init
    driver, cc2420: fix sign-compared
    sys/net: fix sign-compare in gnrc_tftp
    driver, pcd8544: fix sign-compare
    driver, pn532: fix sign-compare
    driver, sdcard_spi: fix sign-compare
    tests: fix sign_compare
    sys/net, lwmac: fix sign_compare
    pkg, lwip: fix sign-compare
    boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
    tests, sock_ip: fix sign compare
    tests, msg_avail: fix sign compare
    tests, sock_udp: fix sign compare
    boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
dylad
5153d4bec1 tests/periph_i2c: fix some printfs formatting
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-09-06 21:21:25 +02:00
smlng
7313e01e55 tests: set default board=samr21-xpro for tests/periph_i2c 2017-02-23 14:53:28 +01:00
Kees Bakker
bac5cda1e3 periph/i2c: convert char to uint8_t where applicapable
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.

Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Hauke Petersen
3bd01d7516 tests/periph_i2c: removed slave mode from test 2015-10-20 16:57:39 +02:00
25f900e489 tests, examples: adapt to simplified shell 2015-09-03 13:33:49 +02:00
448e90ba3a Revert "applications: only use uart0 for none-newlib boards"
This reverts commit 9c6ab1007b.
2015-09-03 13:33:18 +02:00
fe61811095 tests/periph_i2c: fix custom shell commands 2015-08-28 09:39:33 +02:00
Oleg Hahm
9c6ab1007b applications: only use uart0 for none-newlib boards 2015-08-25 20:11:23 +02:00
Hauke Petersen
8cbfaa8da2 tests: make use of uart0_[readc|putc] 2015-06-14 17:08:51 +02:00
kushalsingh007
9aae656be9 shell: Return-based error-handling for shell handlers
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Hauke Petersen
4ef34af9b8 tests: added i2c driver test 2014-10-15 14:50:19 +02:00