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

41 Commits

Author SHA1 Message Date
Karl Fessel
42b191318a doc: cleanup some minor spelling error found by codespell 2021-09-03 13:02:08 +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
Benjamin Valentin
0c36a57e4e tests: add samd10-xmini to Makefile.ci 2020-12-11 18:33:31 +01:00
05fbeb65b1
tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
Keith Packard
e215261ced picolibc: Use most NEWLIB code with picolibc
In most places, picolibc and newlib are the same, so use
the existing newlib code when compiling with picolibc.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-08-24 08:26:16 -07:00
Martine Lenders
05b13f5029
Merge pull request #14488 from PeterKietzmann/pr_add_sha256prng
sys/random: add SHA256 mode to SHA1PRNG & tests
2020-07-29 11:20:55 +02:00
PeterKietzmann
5a13d00b65 sys/random: make sha1prng sha256 compatible 2020-07-22 12:25:09 +02:00
Benjamin Valentin
04f3a9798c tests/rng: print when HWRNG is uses as system RNG 2020-07-08 18:27:00 +02:00
c1f93647a9 tests/rng: remove explicit zeroing of xtimer members 2020-04-21 11:26:56 +02:00
Hyungsin
ca1ddeb919 tests/rng: reflecting xtimer's member change 2020-01-10 10:07:56 -08: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
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
d9e4361246
tests/rng: Fixed abuse of BOARD_BLACKLIST
- BOARD_BLACKLIST has been used to blacklist boards with too little RAM/ROM
  according to the comment
  ==> Moved those entries to BOARD_INSUFFICIENT_MEMORY instead
- pic32-clicker does build fine, so RAM/ROM efficiency has improved since
  ==> Dropped pic32-clicker from the list
2019-10-17 15:10:42 +02:00
Gaëtan Harter
381382b61a
tests/rng: take into account stack buffers and printf
Take into account stack buffers and printf for allocating the default
stack size.

This solves stack size issues with `wsn430-v1_3b` and `z1`.
It now have a main stack usage of 514 bytes out of 768 on `wsn430-v1_3b`.
2019-05-28 15:43:15 +02:00
Gaëtan Harter
d1c454790f
tests/rng: alloc shell buffer in .data
Do not allocate the shell buffer on stack to reduce stack usage.
2019-05-28 15:43:15 +02:00
Gaëtan Harter
0e66b18f0c
tests/rng: expect shell prompt in test
Be more pedantic in expected output for shell commands.

For slow boards, `ws430-v1_3b/arduino-mega2560/msba2`, some commands
were sent before the output of the previous command.
2019-05-28 15:43:15 +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
Gaëtan Harter
27b42d34d3
tests/rng: replace printf_float with fmt/print_float
When running the test on `arduino-mega2560` printing the float failed
and was printed as ` ?`.

    Calculated  ? bits of entropy from 10000 samples.

Replace using `printf` floating point printing by using `fmt/print_float`.
Now the test succeeds on `arduino-mega2560`.

As `print_float` does not buffer and is used with `printf` the output
should be flushed before calling it if `fflush` is available.
2019-02-21 10:42:04 +01:00
Gaëtan Harter
44d2b62a70
tests/rng: fix cppcheck error shiftTooManyBitsSigned
cpp check is reporting the following error

    error (shiftTooManyBitsSigned):
    Shifting signed 32-bit value by 31 bits is undefined behaviour

Fix by ensuring the `1` is an `uint32_t` before shifting.
2019-02-21 10:41:33 +01:00
472bd0ae01 tests: remove obsolete local test targets 2018-09-07 15:13:08 +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
Joakim Nohlgård
21310e4260 tests/rng: Use xtimer for speed test timeout 2018-06-27 13:04:34 +02:00
PeterKietzmann
85643ad01f tests/rng: add tests for random_uint32_range() 2018-06-26 14:08:46 +02:00
PeterKietzmann
3c4360eddb sys/random: add SHA1PRNG 2018-06-22 16:11:53 +02:00
Bas Stottelaar
8fe56a1d73 tests: rng: add fortuna PRNG. 2018-05-29 18:40:59 +02:00
633a92929d boards/nucleo-l031k6: rename to st marketing name 2018-05-23 12:50:33 +02:00
81700d4301 boards/nucleo-f042k6: rename to st marketing name 2018-05-23 12:49:40 +02:00
3e4f7adc95 boards/nucleo-f031k6: rename to st marketing name 2018-05-23 12:46:42 +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
Francisco Acosta
1886256f90 tests: add HIL for selected test 2018-04-09 17:50:22 +02:00
Joakim Nohlgård
2bf1068c72 tests/rng: Clean up includes 2018-02-07 10:24:33 +01:00
Martine Lenders
f485040df5
Merge pull request #8307 from aabadie/pr/flake8/fix_tests_rng
tests/rng/tests: fix flake8 F401 issue
2017-12-27 11:52:21 +01:00
e8e581ea54 tests/rng: make Makefile adhere to conventions 2017-12-21 13:23:23 +01:00
3b55a73ced tests/rng/tests: fix flake8 F401 issue
F401 'pexpect' imported but unused
2017-12-20 16:42:59 +01:00
Bas Stottelaar
28eaf5db3a tests: rng: add test suite for RNG sources (PRNG, HWRNG) 2017-12-17 17:02:59 +01:00