cladmi
661868cf4e
tests/periph: blacklist arduino boards based on ROM/RAM overflow
2018-09-05 12:08:20 +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