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

61 Commits

Author SHA1 Message Date
Marian Buschsieweke
12140ffb0e
examples,tests: Drop redundant dependency
When depending on one or more shell commands, the shell is pulled in
as dependency anyway.
2023-04-19 16:58:10 +02:00
J. David Ibáñez
e176f1d338 tests/periph_spi clearly say when init succeeds
The way it's now it's easy to interpret that there was an error, when
really there was not. As seen in issue #19025 quite some time can be
spent following a wrong clue.
2023-01-19 10:42:50 +01:00
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Francisco
97b4dd3a57
Merge pull request #17216 from bergzand/pr/ps_schedstatistics/ztimer
schedstatistics: Convert to ztimer
2021-12-07 20:22:58 +01:00
a6910f1660
tests/periph_spi: Convert to ztimer 2021-12-07 16:31:15 +01:00
MrKevinWeiss
51f92fa816
drivers/periph_spi: Kconfig SPI_ON_QSPI model 2021-11-29 09:12:27 +01:00
Francisco
a1cbcc9ede
Merge pull request #15902 from maribu/spi-api-change-1
drivers/periph_spi: let spi_acquire return void
2021-09-02 08:50:56 +02:00
Marian Buschsieweke
198046e167
tests/perpih_spi: update to new API 2021-09-01 21:38:40 +02: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
0f8c0c3f1a tests/periph_spi: compact help messages a bit to shave off some bytes 2021-02-25 12:41:04 +01:00
Benjamin Valentin
734742ecc2 tests/periph_spi: enable test for SPI on QSPI 2020-12-12 18:36:16 +01: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
Marian Buschsieweke
eb1279005c
tests: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 09:08:01 +02:00
Benjamin Valentin
bd7acf4adf tests/periph_spi: add test for periph_spi_reconfigure feature 2020-06-21 21:21:39 +02:00
ed827cb453
tests/periph_spi_dma: Add test for SPI with DMA
This new test inherits everything from the regular periph_spi test, but
with DMA enabled
2020-06-15 19:28:12 +02:00
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