benpicco
bd6114ae9d
Merge pull request #16187 from benpicco/cpu/sam0_common/get_tamper
...
cpu/sam0_common: add rtc_get_tamper_event()
2021-04-13 14:11:46 +02:00
Benjamin Valentin
55c95cd8fd
tests/periph_gpio: display tamper wake event
2021-04-13 10:45:16 +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
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync
2021-01-20 17:36:14 +01:00
Leandro Lanzieri
9021a0b13a
tests/periph_gpio: add native-specific configuration file
2020-11-18 10:08:01 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files
2020-11-06 15:58:00 +01:00
Benjamin Valentin
2e35eb9229
tests/periph_gpio: enable tamper wake
2020-09-17 18:47:10 +02:00
benpicco
5715f5776b
Merge pull request #14804 from bergzand/pr/sam0/gpio_iobus
...
sam0_common: Use Single-cycle I/O Port for GPIO when available
2020-09-10 23:45:43 +02:00
7ef69ae79b
tests/periph_gpio: Add fast_read feature as optional dependency
2020-09-10 22:13:25 +02:00
Benjamin Valentin
39b41d62cd
cpu/native: allow to disable native periph implementations
2020-08-25 13:53:14 +02:00
Benjamin Valentin
53e292569d
tests/periph_gpio: add automatic GPIO test cmd
...
This adds the `auto_test <port> <pin> <port> <pin>` command.
Specify two GPIOs that are electrically connected e.g. via jumper or wire.
The command will automatically conduct several tests to ensure that the
GPIO implemenation behaves according to the specification.
2020-08-13 10:12:21 +02:00
8afaf11bb5
tests/periph_gpio: bench port 1 on z1
...
/* Port 1:
* P1.0 is not assigned by default
* P1.1 is the bootstrap-loader (BSL) TX pin -> input, special function, default to GND
* THIS PIN MUST *NEVER* BE USED IN NORMAL EXECUTION, SINCE IT INTERFERES WITH UART0 !!!
* P1.2 receives the FIFOP interrupt from CC2420 -> input, GPIO, default to GND
* P1.3 receives the FIFO/GIO0 interrupt from CC2420 -> input, GPIO, default to GND
* P1.4 receives the CCA/GIO1 signal from CC2420 -> input, GPIO, default to GND
* P1.5 is wired to Vcc -> input, GPIO, default to Vcc
* P1.6 receives interrupt INT1 from accelerometer -> input, GPIO, default to GND
* P1.7 receives interrupt INT2 from accelerometer -> input, GPIO, default to GND
*/
(test starts indexing at 0)
2020-08-05 14:32:58 +02:00
07c70a9cfb
tests/periph_gpio: reduce benchmark iterations
...
Our MCU's are predictable enough that 100k iterations should suffice.
2020-07-29 12:05:21 +02:00
Francisco Molina
92d2a727f5
tests/periph_gpio: allow specifying port under test
2020-07-21 13:19:14 +02:00
5c3c22f31c
Merge pull request #14489 from benpicco/libc_conflict
...
drivers/tests: rename private read() and sleep() functions to avoid conflicts with libc
2020-07-17 20:44:02 +02:00
Benjamin Valentin
cde098f60e
tests/periph_gpio: fix conflict with libc function name
2020-07-10 14:46:29 +02:00
Benjamin Valentin
47deeab842
tests/periph_gpio: enable shell commands
...
It is useful to have the `pm` command available in this test to see how
GPIOs react to different sleep modes.
Enable it be enabling the `shell_commands` module.
2020-07-07 13:28:04 +02:00
Francisco Molina
e8be1f9856
tests: adapt to test_utils_interactive_sync_shell
2020-03-17 17:23:28 +01:00
bd39ce3179
tests/periph_gpio: increase timeout for automatic test
...
periph_gpio requires more time to complete on slow platforms, like AVR
2019-11-06 12:46:28 +01: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
Semjon Kerner
64dc5e7dd4
tests/periph_gpio: add interrupt enable disable command
2018-09-21 11:24:46 +02:00
Hauke Petersen
0b616acbc6
tests/periph_gpio: make IRQ commands optional
...
only include irq related shell commands in case the
PERIPH_GPIO_IRQ feature is selected
2018-09-21 08:23:44 +02:00
Hauke Petersen
e9f9905079
tests: add core API runtime benchmark
2018-09-11 11:34:30 +02:00
cladmi
661868cf4e
tests/periph: blacklist arduino boards based on ROM/RAM overflow
2018-09-05 12:08:20 +02:00
Joakim Nohlgård
ace717ee27
drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ
2018-08-29 08:53:20 +02:00
smlng
3893f04d00
tests: move testrunner import up
...
Testrunner is now impported as a package found in PYTHONPATH, so
import can be placed at the top of the script as usual.
2018-08-13 14:11:24 +02:00
smlng
f9824abedb
tests: remove unused os package import
...
os package is imported by every test script but only used by
a few, thus flake8 check reported errors.
2018-08-13 14:11:23 +02:00
smlng
13d61b5c20
tests: use testrunner from pythonlibs
...
Remove now obsolete sys.append from all tests, as testrunner was moved
to dist/pythonlibs as proper package.
2018-08-13 14:11:23 +02:00
Gaëtan Harter
154fbcff35
tests: use RIOTTOOLS variable
...
Follow up to #9067 and part of #8821
2018-05-04 10:52:26 +02:00
5efd9599e0
sys/benchmark: remove BENCHMARK_SETUP()
2018-02-20 10:10:13 +01:00
Hauke Petersen
9b557d2e47
tests/periph_gpio: added 'bench' make target
...
This commit enables the GPIO benchmark to be run automatically
(through 'make bench') using pexpect.
2018-01-31 13:55:37 +01:00
Hauke Petersen
94796ef413
tests/periph_gpio: added benchmark command
2018-01-31 13:55:37 +01:00
fc2eff9fba
tests: remove redundant APPLICATION defines
2017-12-01 11:03:39 +01:00
smlng
6a037ad004
tests: add prefix to Makefile.tests_common
...
- fixes name clash on macOS
- correct naming of test coap to pkg_libcoap
2017-01-19 15:20:37 +01:00
Matthias Kolja Miehl
da0fb324a5
tests/periph_gpio: fix variableScope
2016-09-05 02:30:10 +02:00
Hauke Petersen
88483febc0
test/periph_gpio: adatped to GPIO interface changes
2016-03-17 14:39:11 +01:00
Joakim Nohlgård
11b2b488ef
tests/periph_gpio: Fix mixed up command descriptions
2016-02-22 21:50:27 +01:00
Hauke Petersen
3ece1fc4c4
tests: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:54 +02:00
b512b98dc2
tests: periph_gpio: remove obsolete hwtimer include
2015-09-16 10:58:54 +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
bc260fff88
tests: periph_gpio: fix usage of shell_commands
2015-08-28 09:16:51 +02:00
Oleg Hahm
9c6ab1007b
applications: only use uart0 for none-newlib boards
2015-08-25 20:11:23 +02:00
Hauke Petersen
8ccd289f82
tests: remoldeled the periph_gpio test
2015-06-12 19:06:48 +02:00
Ludwig Ortmann
7cea2f536e
tests/periph_gpio: let build fail without GPIO
2014-10-16 19:02:18 +02:00
Ludwig Ortmann
6262c4427e
make: add gpio feature
2014-10-06 18:55:54 +02:00