ba20272fb3
Merge pull request #14108 from benpicco/tests/periph_spi-enhance
...
tests/periph_spi: add benchmark for acquire / release
2020-05-20 20:18:40 +02:00
Benjamin Valentin
a57bd08a11
tests/periph_spi: add benchmark for acquire / release
2020-05-20 19:34:07 +02:00
Benjamin Valentin
1178c82a98
tests/periph_spi: introduce _xtimer_diff_usec()
...
Don't repeat yourself.
2020-05-20 17:48:15 +02:00
ae88f1e079
Merge pull request #14102 from MrKevinWeiss/pr/test/spi/defaultcs
...
tests/periph_spi: Expose default SPI CS pins
2020-05-20 12:09:06 +02:00
MrKevinWeiss
867df82ced
tests/periph_spi: Expose default SPI CS pins
...
Expose the option to use default cs pins defined as DEFAULT_SPI_CS_PORT and DEFAULT_SPI_CS_PIN.
This is used if a wiring environment is already defined.
CFLAGS can be used to define the CS pin from the environment provided allowing easier automation of tests.
2020-05-20 10:44:57 +02:00
b3cb03ae90
tests/periph_spi: Fix column alignment
2020-05-19 14:21:20 +02:00
7c44208e64
tests/periph_spi: Convert printf specifier to PRIu32
2020-05-19 14:20:42 +02:00
788d186725
tests/periph_spi: Add thread runtime stats
...
This commit extends the periph_spi benchmark with timing statistics for
the thread runtime, counting only the time the thread initiating the SPI
request is busy with the SPI transfer. This is useful to measure timings
on SPI transfers when DMA and other async mechanisms are used to
transfer the bytes
2020-05-19 14:17:46 +02: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
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
cladmi
661868cf4e
tests/periph: blacklist arduino boards based on ROM/RAM overflow
2018-09-05 12:08:20 +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
smlng
ce0aa113b3
tests, periph_spi: fix unused variable
2017-06-03 22:55:43 +02:00
smlng
0e57a0542b
tests: set default board=samr21-xpro for tests/periph_spi
2017-02-23 14:56:26 +01:00
Hauke Petersen
a25b25d830
tests/periph_spi: rewrite of SPI test
2017-01-25 16:46:04 +01:00
smlng
f84e8a37e2
tests: add missing include for Makefile.tests_common
2017-01-20 17:24:56 +01:00
kYc0o
f6303d5f53
tests/periph_spi: print int variables instead of spi_*_t variables
2016-07-13 16:43:46 +02:00
kYc0o
8c6ebc0785
tests/periph_spi: match with overriden spi enumerations
2016-07-12 16:58:16 +02:00
PeterKietzmann
3b18263ce8
tests/periph_spi: fix printf format fot GPIO
2016-07-11 09:05:20 +02:00
Hauke Petersen
0e4446e261
tests: adapted other tests to GPIO changes
2016-03-17 14:55:30 +01:00
Hauke Petersen
4dd57aafb7
tests/periph_spi: removed LED_xx calls
2016-03-15 18:37:53 +01:00
Hauke Petersen
3ece1fc4c4
tests: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:54 +02:00
25f900e489
tests, examples: adapt to simplified shell
2015-09-03 13:33:49 +02:00
Joakim Gebart
ebce349180
tests/periph_spi: printf format fixes
2015-07-14 08:11:15 +02:00
Hauke Petersen
55752ff4f2
Merge pull request #3202 from haukepetersen/opt_shell_init
...
sys/shell: changed signature of put_char pointer
2015-06-15 17:28:40 +02:00
Hauke Petersen
1bd7111a7b
tests: pass [get|put]char directly in shell_init
2015-06-14 17:09:49 +02:00
Hauke Petersen
6994a1d4ec
test/periph_spi: adjusted to GPIO driver changes
2015-06-14 13:01:18 +02:00
Hauke Petersen
2deedcff6a
tests/periph_spi: adapted to change GPIO driver IF
2015-06-12 19:06:48 +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
Joakim Gebart
dfb0d58cfb
tests/periph_spi: Lock bus for exclusive access when communicating.
2015-01-19 19:05:40 +01:00
PeterKietzmann
c917e6d374
tests/periph_spi: correct test application
2015-01-16 11:15:42 +01:00
PeterKietzmann
7aec98c57d
Added a function for the slave to print received data.
2014-10-24 15:43:01 +02:00
Ludwig Ortmann
92079312e2
make: introduce and use periph_spi feature
2014-10-13 18:18:19 +02:00
Ludwig Ortmann
1e73bbb961
tests/periph_spi: let build fail without SPI
2014-10-13 18:16:57 +02:00
Thomas Eichinger
89608b613e
tests/periph_spi: fix usage of board specific LED define
2014-09-25 13:59:12 +02:00
Hauke Petersen
1f1360eff9
[SQUASH ME] test: fixed according to updated GPIO interface
2014-09-24 15:41:48 +02:00
Hauke Petersen
1020d90b2b
[SQUASH ME] test: guard if no SPI device defined
2014-09-24 15:41:48 +02:00
Hauke Petersen
faf930e36b
[SQUASH ME] tests/periph_spi: rewrote test
2014-09-24 15:41:48 +02:00
Hauke Petersen
969b8401d8
tests: added periph_spi test
2014-09-24 15:41:48 +02:00