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

20 Commits

Author SHA1 Message Date
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
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
5ea305f352
tests/periph_i2c: Adapted to new i2c_release() 2019-08-27 13:59:20 +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
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
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