7480642776
Merge pull request #13043 from aabadie/pr/tests/pkg_cmsis_tests_cleanup
...
tests: cleanup tests/lua_loader, tests/pkg_cmsis-dsp Python test scripts
2020-01-08 10:56:43 +01:00
MichelRottleuthner
4fb8de579e
Merge pull request #12942 from kaspar030/xtimer_bench_listop
...
tests/bench_xtimer: initial import
2020-01-08 09:53:51 +01:00
330b2b6e58
tests/lua_loader: cleanup Python test script
2020-01-08 09:46:09 +01:00
9988d98929
tests/pkg_cmsis-dsp: cleanup Python test script
2020-01-08 09:43:16 +01:00
Mathias Tausig
44281269e1
crypto: Add testcase for CCM mode with message length > 256
2020-01-07 23:31:35 +01:00
Francisco
4c4cb8a14f
Merge pull request #12362 from mtausig/ccm_aadlen
...
Fix CCM mode when length of AAD is > 24
2020-01-07 22:26:24 +01:00
d89debd183
tests/bench_xtimer: initial import
2020-01-07 21:58:05 +01:00
Mathias Tausig
c817bc9a11
sys/crypto: Add unit test for CCM mode with AAD length > 24
2020-01-07 21:25:48 +01:00
Francisco
d94cd6d71d
Merge pull request #12921 from miri64/sock_async/fix/header-foobar
...
sock_async: fix cyclic include problem
2020-01-07 13:40:15 +01:00
Francisco
56ed36f3e3
Merge pull request #13034 from MyCodeMyMoney/master
...
core/ringbuffer: compensate 'ringbuffer_remove' underflow error
2020-01-07 13:39:47 +01:00
MyCodeMyMoney
4167d4dd9b
tests/unittests/tests-core/tests-core-ringbuffer: test underflow
2020-01-07 12:56:17 +01:00
8a9ded984d
tests/pkg_utensor: set boards without enough memory
2020-01-07 11:22:38 +01:00
390f51091a
tests/pkg_utensor: add example application with test
2020-01-07 11:22:38 +01:00
Martine S. Lenders
82180a8bb6
test/gnrc_sock_async: include net/sock/async.h
2020-01-07 10:13:02 +01:00
Francisco
d4c3476669
Merge pull request #12944 from leandrolanzieri/pr/kconfig_migrate/net/sock_util
...
Kconfig: Expose net/sock/util configurations
2020-01-03 11:41:20 +01:00
e937815d6e
test/libfixmath: remove use of export for LINKFLAGS
2020-01-02 09:52:30 +01:00
68210feb54
Merge pull request #12972 from fjmolinas/pr_boardsdir_riotboard
...
Makefile.include: default to RIOTBOARD when BOARD not in BOARDSDIR
2019-12-31 10:51:27 +01:00
Francisco Molina
33dbf9dfcd
tests/external_board_native: require arch_native
2019-12-30 17:15:08 +01:00
Martine Lenders
f7d6dd2337
Merge pull request #12966 from gschorcht/tests/lwip_ipv4
...
tests/lwip: enable IPv4
2019-12-20 09:29:25 +01:00
Gunar Schorcht
d536235f05
tests/lwip: enable IPv4
2019-12-20 06:51:34 +01:00
Martine S. Lenders
13d5f6e6b4
tests: provide test for vfs
+fmt
corner-case
...
On `native` when using `vfs` the `fmt` print functions do not work.
This is because the `fmt` module uses the `write()` system call which
is bend by the `native_vfs` module to use `vfs_write()`. However,
`native` does not use a `stdio` module to print. Instead, it just
writes to the hosts standard I/O directly. As such, STDIN, STDOUT, and
STDERR are never initialized for `vfs` so `vfs` does not recognize
`STDIN_FILENO`, `STDOUT_FILENO` and `STDERR_FILENO` as valid file
descriptors.
This test case showcases this bug.
2019-12-18 14:15:40 +01:00
Hauke Petersen
5350b79a1e
Merge pull request #12775 from haukepetersen/opt_nimble_vernov19andlldatalenfornetif
...
pkg/nimble: ver bump + config improvement
2019-12-17 09:32:43 +01:00
Dylan Laduranty
c839bb809a
Merge pull request #12183 from cladmi/pr/boardsdir
...
Makefile.include: introduce 'BOARDSDIR' for boards directory
2019-12-16 21:06:00 +01:00
f43cec76dd
Merge pull request #12961 from kaspar030/make_shell_test_wait_for_prompt
...
tests/shell: wait for prompt at beginning
2019-12-16 19:48:07 +01:00
Hauke Petersen
20af6616d6
tests/nimble_l2cap: fix type passing AD to bluetil
2019-12-16 16:00:36 +01:00
Gaëtan Harter
633f050d1f
tests/external_board_native: show an example of external board
...
Add an example that implements an external board based on native.
It relies on 'BOARDSDIR' and uses common files from 'RIOT/boards'
through 'RIOTBOARDS'.
This application also works with the docker integration.
2019-12-16 15:35:05 +01:00
steffen
fa05cf0c5d
Driver/shtc1: add saul integration
...
- add saul integration
- uncrustified
- SAUL/DRIVER tests
2019-12-16 15:29:04 +01:00
8aca5c2f40
tests/shell: wait for prompt at beginning
...
Previously, the test would start sending the first test commands right
at the beginning. This fails on boards whose UART is not ready at that
point.
This PR makes the test script explicitly wait for the prompt to be
ready.
2019-12-16 14:12:45 +01:00
Martine Lenders
61a78cf817
Merge pull request #12926 from benpicco/sys-hashes-crc8
...
sys/checksum: move crc8 implementation from sht3x to common code.
2019-12-13 17:47:07 +01:00
Francisco
c58232aebf
Merge pull request #12844 from aabadie/pr/make/base_ext
...
Makefile.base: add variables for customizing C++ builds
2019-12-13 15:39:36 +01:00
Benjamin Valentin
5d8aa6ad9a
tests/checksum: add tests for crc8
...
Taken from tests-checksum-crc16-ccitt.c
2019-12-13 14:50:33 +01:00
a88306088d
Merge pull request #12677 from JulianHolzwarth/pr/thread_status_t/zombie
...
core: add zombie thread state
2019-12-13 13:37:10 +01:00
Leandro Lanzieri
c74fa5367c
net/sock/util: Move configuration macros to 'CONFIG_' namespace
...
Macros that changed:
SOCK_SCHEME_MAXLEN -> CONFIG_SOCK_SCHEME_MAXLEN
SOCK_HOSTPORT_MAXLEN -> CONFIG_SOCK_HOSTPORT_MAXLEN
SOCK_URLPATH_MAXLEN -> CONFIG_SOCK_URLPATH_MAXLEN
2019-12-13 12:04:54 +01:00
Martine Lenders
26a1348a9a
Merge pull request #12867 from fjmolinas/pr_tests_no_reset_dep
...
tests: adapt tests so they can use `tests_utils_interactive_sync`
2019-12-12 15:47:21 +01:00
Francisco Molina
341a4b5bfd
tests/gnrc_%: use tests_utils_interactive_sync
2019-12-12 10:13:34 +01:00
Francisco Molina
eb9d27db69
tests/gnrc_rpl_srh: run unittests through shell
...
Using the shell to run unittests allows not needing
to wait for a string at the start of the test which
makes the test independent having the application reset
after the terminal is open.
2019-12-12 10:13:34 +01:00
Francisco Molina
5bf1a22472
tests/gnrc_ipv6_ext_frag: refactor to not depend on reset
...
Using the shell to run unittests allows not needing
to wait for a string at the start of the test which
makes the test independent having the application reset
after the terminal is open. The same goes for triggering
sending UDP test pkts.
2019-12-12 10:13:33 +01:00
Francisco Molina
4117b459af
tests/shell: fix reset dependency
2019-12-12 10:13:33 +01:00
JulianHolzwarth
cc0243f585
tests/thread_zombie/: new test for zombie state threads
...
ps is optional
2019-12-11 16:48:31 +01:00
a9bf69146b
Merge pull request #9948 from bergzand/pr/ili9341
...
ili9341: Initial import of ili9341 LCD driver
2019-12-11 16:43:46 +01:00
9c520fd793
ili9341: Add simple test application
2019-12-11 16:18:40 +01:00
Martine Lenders
f38f974d86
Merge pull request #12629 from miri64/gnrc_sixlowpan_iphc/enh/vrb-creation
...
gnrc_sixlowpan_iphc: add fragment forwarding stubs
2019-12-10 14:58:01 +01:00
Martine S. Lenders
3273602f24
tests: provide test application for IPHC+VRB behavior
2019-12-10 13:59:41 +01:00
Francisco
20d89af043
Merge pull request #12755 from aabadie/pr/application_dep
...
make: add possibility to provide board specific application dependencies in a separate Makefile
2019-12-09 16:52:19 +01:00
Martine Lenders
7b13781cd2
Merge pull request #12625 from miri64/gnrc_sock/enh/async-support
...
gnrc_sock: provide asynchronous event implementation
2019-12-09 12:39:58 +01:00
Martine S. Lenders
23428ab775
tests: provide tests for gnrc_sock_async
2019-12-09 12:11:57 +01:00
418d00d0ea
Merge pull request #9283 from gebart/pr/frac
...
sys/frac: Integer fractions
2019-12-09 09:09:10 +01:00
b7a786394f
tests/gnrc_sock_dns: move board specific deps in Makefile.board.dep
2019-12-06 21:19:49 +01:00
b58c5afb2c
tests/gnrc_tcp: move board specific deps in Makefile.board.dep
2019-12-06 21:19:35 +01:00
f184c7daf2
tests/gnrc_rpl_srh: move board specific deps in Makefile.board.dep
2019-12-06 21:19:22 +01:00
805907ee0f
tests/gnrc_ipv6_ext_frag: move board specific deps in Makefile.board.dep
2019-12-06 21:18:48 +01:00
a06ac2afc0
tests/gnrc_ipv6_ext: move board specific deps in Makefile.board.dep
2019-12-06 21:18:21 +01:00
f88d55cf9d
tests/driver_hd44780: disable CI for esp32-wroom-32
2019-12-06 12:42:51 +01:00
Joakim Nohlgård
e4e860a20a
frac: Integer fraction scaling library
2019-12-06 09:36:33 +01:00
Benjamin Valentin
81e9603981
tests/periph_backup_ram: disable test_utils_interactive_sync
...
The `periph_backup_ram` test expects the CPU to enter Deep Sleep, wake up
(causing a CPU reset) increment a counter and go back to sleep.
Introducing a requirement on interaction after reset breaks the test.
2019-12-05 22:44:46 +01:00
c7a534e42a
Merge pull request #12878 from haukepetersen/add_fmt_isnumber
...
sys/fmt: add fmt_is_number()
2019-12-05 20:32:47 +01:00
Hauke Petersen
fd34b5cfd8
test/kw2xrf: use fmt_is_number()
2019-12-05 15:39:24 +01:00
Hauke Petersen
ca1fd87c9b
unittests: add tests for fmt_is_x() functions
2019-12-05 15:39:24 +01:00
benpicco
bcacd8e4c3
Merge pull request #12710 from benpicco/tests/periph_pm-button
...
tests/periph_pm: use button as a wake-up source
2019-12-05 15:08:16 +01:00
8ae7201962
Merge pull request #12550 from aabadie/pr/sys/progress_bar
...
sys/progress_bar: add module for managing a progress bar in stdout
2019-12-05 15:03:26 +01:00
Francisco
2b934dea5f
Merge pull request #12816 from aabadie/pr/tests/stdin_fix_avr
...
tests/stdin: fix automatic test on slow platforms
2019-12-05 14:09:56 +01:00
a4c3d7342a
tests/stdin: refactor test application
...
The test application now prints in a loop the input character. In case
stdin is not ready yet after startup this lets the possibility to try to
send several time a character before failing.
The automatic test is now more robust on platforms where stdin takes
time before it gets in a ready state (some AVR, hifive).
2019-12-05 12:27:00 +01:00
5fab9ea623
tests: add test for custom cpp file extensions
2019-12-04 20:10:55 +01:00
37f2d32914
tests: add test for cpp files exclude
2019-12-04 20:10:55 +01:00
Benjamin Valentin
05db5c64bd
tests/periph_pm: use button as a wake-up source
...
To test if GPIO interrupts can wake the CPU from sleep, configure
BTN0 (if availiable) as a wake-up source.
Pressing the buttong should wake up the CPU.
2019-12-04 16:18:16 +01:00
Leandro Lanzieri
1977b8683c
tests: Add Kconfig test application
2019-12-04 15:23:52 +01:00
bd254dfc63
Merge pull request #10741 from basilfx/feature/stdio_null
...
sys: stdio_null: add null driver
2019-12-03 18:08:26 +01:00
Cenk Gündoğan
3c99481bc1
Merge pull request #12856 from MichelRottleuthner/pr_fix_test_short_relative_set
...
tests/periph_timer_short_relative_set: fix diff for non 32 bit timers
2019-12-02 19:32:41 +01:00
Martine Lenders
09c46e273d
Merge pull request #12845 from miri64/gnrc_sixlowpan_frag_rb/fix/rm-by-datagram-pkt-release
...
gnrc_sixlowpan_frag_rb: fix memory-leak in _rm_by_datagram()
2019-12-02 19:20:55 +01:00
7e165678fe
Merge pull request #12851 from leandrolanzieri/remove-ubjson
...
sys/ubjson: Remove module
2019-12-02 18:45:35 +01:00
96d90201ad
Merge pull request #11843 from fjmolinas/pr_tests_riotboot_py
...
tests/riotboot: migrate to full python test script
2019-12-02 18:28:14 +01:00
Francisco Molina
e41cebbaba
tests/riotboot: add shell_commands
...
Add shell_commands to use shell version on `test_utils_interactive_sync`
2019-12-02 17:27:35 +01:00
Francisco Molina
12761934bc
tests/riotboot: migrate to full python test script
2019-12-02 17:27:35 +01:00
3f1ac65b95
tests/progress_bar: add test application
2019-12-02 16:48:16 +01:00
Michel Rottleuthner
29c11c9963
tests/periph_timer_short_relative_set: fix diff calculation for non 32 bit timers
2019-12-02 11:28:26 +01:00
Juan Carrano
bea30c3f89
sys/ubjson: remove module.
...
The ubjson module has a number of quality defects and is unsafe.
Considering CBOR is popular, standarized and supported in RIOT and that
the ubjson implementation is a home-grown one whose API will likely be
unfamiliar to new users, I propose to delete it.
This removal, of course, dows not have to be NOW. We can deprecate it for
one or two releases before.
What's wrong with this module?
- Unsafe: the parsing is done recursively. This is embedded in the API, so it
is not possible to fix it without changing the API. A document with too much
nesting can cause a stack overflow.
- Does not validate writing: it is possible to produce invalid output. From
the docs:
> The library won't complain if you write multiple values that are not
> inside an array or object. The result will just not be properly serialized.
- Poorly tested. As shown by #11702 , #11703 the tests were not even detecting
that a False was stored as True.
- In line with the previous remark, see
68dc5b0d6e/tests/unittests/tests-ubjson/tests-ubjson.c (L66-L77)
Why is the following code in the unit tests??
```c
irq_disable();
sched_set_status(data->main_thread, STATUS_PENDING);
```
- #2175 is still unfixed after 3.5 years.
- Code quality. The code has multiline macros that assign variables and
return. See c332514875/sys/ubjson/ubjson-write.c (L34-L41)
Can we mark it as deprecated this release and sweep it in the following one?
2019-12-01 23:44:39 +01:00
81f113ba05
tests/periph_timer_short_relative_set: initial commit
2019-12-01 14:14:44 +01:00
benpicco
4df6bb425f
Merge pull request #12830 from benpicco/lpc2387-ldfix
...
cpu/lpc2387: clean up lpc2387.ld, fixes tests/cpp_ctors
2019-11-29 17:44:58 +01:00
Martine S. Lenders
e1d171b50e
tests/gnrc_sixlowpan_frag: check packet buffer in test_rbuf_rm_by_dg
...
gnrc_sixlowpan_frag_rm_by_datagram() currently doesn't release the
packet in the reassembly buffer entry removed, meaning it puts a leak
into the packet buffer. This changes the tests to check for that error.
2019-11-29 15:35:55 +01:00
Benjamin Valentin
533e83ad2d
tests/cpp_ctors: remove avsextrem & msba2 from blacklist
...
The test should be passing now.
2019-11-29 12:13:21 +01:00
Leandro Lanzieri
cb28400bce
tests/gnrc_netif: Adapt test to new interface names
2019-11-29 10:22:00 +01:00
f5252bf482
Merge pull request #12832 from aabadie/pr/tests/ps_schedstatistics_enh
...
tests/ps_schedstatistics: fix test on AVR + improve Python test script
2019-11-28 13:58:39 +01:00
benpicco
e81d040a26
Merge pull request #12799 from chudov/derfmega-PR
...
boards/derfmega*: initial support
2019-11-28 13:57:56 +01:00
9eac4b8b75
Merge pull request #12825 from JannesVolkens/ncv7356_doc
...
drivers/ncv7356: Add documentation
2019-11-28 12:32:10 +01:00
benpicco
b9b7e652e2
Merge pull request #12833 from dylad/pr/tests/adc_fix_printf
...
tests/periph_adc: fix printf content on failure
2019-11-28 11:57:38 +01:00
Francisco
a0783afe6d
Merge pull request #12632 from aabadie/pr/tests/memarray_autotest
...
tests/memarray: add python script for automatic testing
2019-11-28 11:52:56 +01:00
Dylan Laduranty
6a4259e48a
Merge pull request #12064 from benpicco/sam0-buffered_uart
...
cpu/sam0_common/periph/uart: implement non-blocking write
2019-11-28 10:07:11 +01:00
Benjamin Valentin
0c08abd19a
tests/periph_uart_nonblocking: add simple test application
...
The application is mainly to compile-test non-blocking UART
functionality, but some functional testing is also possible.
With non-blocking UART the total runtime of the program is 2100735 µs
on same54-xpro.
With blocking UART the total runtime is 2152407 µs.
2019-11-28 09:26:58 +01:00
Francisco
372ae95d28
Merge pull request #12628 from aabadie/pr/make/develhelp_cleanup
...
make/develhelp: make usage consistent + add ci check
2019-11-28 09:26:52 +01:00
Dylan Laduranty
3f1027d0c2
tests/periph_adc: fix content printf on failure
2019-11-28 09:07:52 +01:00
ae223308bf
tests/memarray: add automatic test script
2019-11-28 08:47:57 +01:00
60c922df1a
tests/memarray: allow overridable macros and print them
...
MAX_NUMBER_BLOCKS and NUMBER_OF_TESTS can be overriden via CFLAGS
2019-11-28 08:47:57 +01:00
f885b90bd9
tests/ps_schedstatistics: improve automatic test script
...
- Ensure the whole ps output is displayed in the terminal before exiting the script
- Escape parenthesis in line regexp
2019-11-28 08:31:11 +01:00
c9fccbc34d
tests/ps_schedstatistics: use lower load in background threads
...
On slow platforms, such as AVR, the main thread could never run and the shell would remain stuck.
2019-11-28 08:05:00 +01:00
15d58760a9
Merge pull request #12822 from fjmolinas/pr_fix_eol
...
tests: fix tests matching varied sized group regex
2019-11-28 08:01:30 +01:00
benpicco
7c9f2e1794
Merge pull request #12791 from maribu/test_isr_yield_higher
...
tests/isr_yield_higher: Make use of US_PER_MS
2019-11-27 23:21:12 +01:00
chudov
0a151a78da
boards/derfmega*: initial support
2019-11-27 20:53:14 +01:00
1271274964
Merge pull request #12824 from fjmolinas/pr_pexpect_doc
...
tests/README: add automated tests guidelines
2019-11-27 18:52:09 +01:00
Francisco Molina
264b323c66
tests/README: add automated tests guidelines
2019-11-27 15:26:08 +01:00
Francisco Molina
175c48f8d4
tests/gnrc_ndp: add z1 to insufficient memory
2019-11-27 15:07:43 +01:00
Francisco Molina
0996fb87fd
tests: insufficient mem. atmega328p based boards
...
- When using test_interactive_sync_utils, stdin and many more
prints/puts are included. These all go into .bss/.data which
quickly fills up RAM.
2019-11-27 15:07:43 +01:00
Francisco Molina
34c6063520
tests/README.md: add automated test guideline
2019-11-27 15:07:43 +01:00
Francisco Molina
416c048737
tests: add test_utils_interactive_sync when possible
...
- Define test_utils_interactive_sync as DEFAULT_MODULE in Makefile.tests_common
- For tests disabling autoinit, add test_utils_interactive_sync to main
- Add DISABLE_MODULE += test_utils_interactive_sync for tests requiring
sudo, `tests/shell`, `tests/minimal` and `tests/stdin`
- Add shell_commands to tests/periph_wdt and tests/struct_tm_utility to
pull `r` and `s` commands
- Remove includes and usage in `tests/main.c` for tests that where
already using test_utils_interactive_sync
2019-11-27 15:07:42 +01:00
Francisco Molina
3db9eab6d9
tests: expect match \r\n or \s
...
- Since `printf()` is buffered it might not arrive in a single
read to pexpect. Regex which terminate in a group match might
match only some elements, this might break tests that depend
on exact group matching.
2019-11-27 14:12:12 +01:00
Jannes
675bb0fe57
tests/conn_can: Edit README
2019-11-27 13:35:57 +01:00
fb8428cb6d
tests/malloc: fix test regexp to consider whole line
2019-11-27 10:41:33 +01:00
Bas Stottelaar
05bdab80e0
tests: minimal: use stdio_null
2019-11-26 21:12:41 +01:00
561daaab81
tests/malloc: reduce defaut chunk size
...
This allows to automatically run the test on very constrained platforms such as arduino-uno (2KB RAM)
2019-11-26 15:21:47 +01:00
bcf39adb36
tests/periph_cpuid: fix test script regex
2019-11-26 12:54:06 +01:00
Marian Buschsieweke
b12292603b
Merge pull request #12797 from maribu/tests_micro-ecc
...
tests/pkg_micro-ecc: Cleanup and AVR fixes
2019-11-25 17:57:27 +01:00
Marian Buschsieweke
0bb31590e6
tests/pkg_micro-ecc: Cleanup and AVR fixes
...
- Moved huge allocations from stack to data / bss
- Increased verbosity of messages (one line per round)
- Adapted test script to new output format
2019-11-25 16:36:23 +01:00
benpicco
a21fe4ae87
Merge pull request #12259 from daexel/dcf77
...
drivers/dcf77:Inital Support DCF77
2019-11-25 16:20:51 +01:00
d0d6e53ff4
Merge pull request #11960 from fjmolinas/pr_msp430_flashpage_raw
...
cpu/msp430_common: add flashpage_raw
2019-11-25 12:48:48 +01:00
Benjamin Valentin
0da8c8f094
tests/puf_sram: add newline in printf
...
puts() will already print the newline itself, but for printf()
we'll have to include it manually.
2019-11-25 02:08:59 +01:00
Benjamin Valentin
fc94abfadb
tests/driver_ws281x: use color_rgb_set_brightness()
...
Use function from color.h to manipulate the brightness of the LEDs.
2019-11-24 23:28:18 +01:00
Francisco Molina
1abeb21bce
tests/mtd_flashpage: adapt test for msp430
...
- msp430 holds the ISR vector in the last page, avoid
erasing that page during test.
2019-11-24 13:19:20 +01:00
Francisco Molina
0a68323570
tests/periph_flashpage: use before last page for msp430
...
- msp430 holds the isr vector on the last page so avoid erasing
that page when testing.
2019-11-24 13:19:20 +01:00
fjmolinas
f0bbcef987
drivers/mtd_flashpage: add 16bit compatibility
2019-11-24 13:19:19 +01:00
fjmolinas
b9b01ac57e
tests/periph_flashpage: adapt to 16 bits msp430
2019-11-24 13:19:19 +01:00
90d2e6ac8b
tests/unittests: fix typos
2019-11-23 22:39:37 +01:00
1d15fc5ddd
tests/thread_priority_inversion: fix typos
2019-11-23 22:39:37 +01:00
ab7c0c941c
tests/sys_irq_handler: fix typos
2019-11-23 22:39:37 +01:00
243ee05bee
tests/pthread_tls: fix typos
2019-11-23 22:39:37 +01:00
5df7c9ea59
tests/ps_schedstatistics: fix typos
2019-11-23 22:39:37 +01:00
6158da2ade
tests/pkg_ucglib: fix typos
2019-11-23 22:39:37 +01:00
21b978259f
tests/pkg_u8g2: fix typos
2019-11-23 22:39:36 +01:00
762eafcd75
tests/pkg_tinycrypt: fix typos
2019-11-23 22:39:36 +01:00
5120719789
tests/pkg_tiny-asn1: fix typos
2019-11-23 22:39:36 +01:00
e1a8188f00
tests/lua_loader: fix typos
2019-11-23 22:39:36 +01:00
9f2884acb3
tests/libc_newlib: fix typos
2019-11-23 22:39:36 +01:00
2e48e1cab1
tests/float: fix typos
2019-11-23 22:39:36 +01:00
e78cf493bc
tests/driver_lc709203f: fix typos
2019-11-23 22:39:36 +01:00
d3810708a8
tests/driver_io1_xplained: fix typos
2019-11-23 22:39:36 +01:00
09999a29eb
tests/driver_dsp0401: fix typos
2019-11-23 22:39:36 +01:00
1254fe5a23
tests/cortexm_common_ldscript: fix typos
2019-11-23 22:39:36 +01:00
fec66ab5ae
tests/bench_timers: fix typos
2019-11-23 22:39:36 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Marian Buschsieweke
ab94b7c8ad
Merge pull request #12795 from aabadie/pr/tests/pkg_jsmn_cleanup
...
tests/pkg_jsmn: replace use of "%.*s" string formatter
2019-11-23 22:00:20 +01:00
d75650737b
tests/pkg_jsmn: don't use '%.*s' string formatter
...
This is not compatible with avr-libc
2019-11-23 20:57:19 +01:00
9af59196da
tests/pkg_jsmn: use kernel define ARRAY_SIZE macro
2019-11-23 15:08:59 +01:00
a081fb693d
tests/pipe: cleanup application
...
The string formatter initially used doesn't seem to be supported by the AVR toolchain. Correctly closing the buffer with a null byte and using plain %s formatter works in all cases
2019-11-23 15:06:54 +01:00
benpicco
d244b0fe59
Merge pull request #12787 from gschorcht/cpu/esp32/netdev_default
...
cpu/esp*: define esp_now as default netdev
2019-11-23 14:59:54 +01:00
Gunar Schorcht
500c5f45f3
tests/netstat_l2: add esp8266 boards to BOARD_PROVIDES_NETIF
2019-11-23 14:26:37 +01:00
1f55cffcee
Merge pull request #12645 from aabadie/pr/tests/sys_crypto_remove_board_blacklist
...
tests/sys_crypto: remove use of BOARD_BLACKLIST variable
2019-11-23 06:48:29 +01:00
8a76acf060
Merge pull request #12706 from fjmolinas/pr_fix_flake8
...
RIOT: fix PEP8 errors
2019-11-23 06:47:34 +01:00
Marian Buschsieweke
16ee7aed32
Merge pull request #11350 from maribu/ina2xx
...
drivers/ina220: Changed to comply with RIOT's driver design goals & SAUL adaption
2019-11-22 23:36:50 +01:00
Marian Buschsieweke
235fc60938
tests/isr_yield_higher: Make use of US_PER_MS
2019-11-22 23:29:13 +01:00
benpicco
d86ca37ed9
Merge pull request #12759 from miri64/bitfield/fix/bitorder
...
bitfield: unify order
2019-11-22 22:37:39 +01:00
benpicco
09f647eee2
Merge pull request #12693 from maribu/neopixel-atmega
...
drivers: Added WS281x RGB LED driver for ATmega platform
2019-11-22 22:36:36 +01:00
Marian Buschsieweke
a6476bd813
drivers/ina2xx: Match RIOT's driver design goals
...
- Use standard RIOT style `ina2xx_params_t` on initialization as explained in
[1] instead of a custom API
- Provided a default configuration via `ina2xx_params_t` as required by [1] that
works fine for the INA219 breakout board and with an optimal resolution that
still covers the whole range of USB high-power devices (500 mA @ 5V) with a
comfortable safe margin.
- Changed initialization procedure to include a device reset and connectivity
test, as required by [1]
- The calibration value is now calculated by the driver
- This simplifies using the driver a lot
- The user can still choose a trade-off between range and resolution that
matches the application requirements, but now among predefined values
- This allows the driver to easily convert the raw data into meaningful
physical data, as the resolution of the raw data is known
- All measurements are provided as meaningful physical data as required by [1]
[1]: https://github.com/RIOT-OS/RIOT/wiki/Guide:-Writing-a-device-driver-in-RIOT
2019-11-22 20:28:57 +01:00