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

3487 Commits

Author SHA1 Message Date
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
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
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
Marian Buschsieweke
f424421f79
drivers: Renamed ina220 --> ina2xx
The INA219 has the exact same interface as the INA220 (including values and
semantics of the configuration register). Thus, this driver can be used for
both. The ina220 has been renamed to ina2xx to reflect this and pseudo modules
for the ina220 and ina219 have been added.
2019-11-22 19:53:51 +01:00
d9ca9f3ef2
tests/crypto: remove useless BOARD_BLACKLIST 2019-11-22 19:21:06 +01:00
608fee8852
tests/crypto: add new 8/16 bit boards to insufficient memory 2019-11-22 19:21:05 +01:00
2d9612b116
tests/sys_crypto: exclude some test for 8 and 16 bit arch
The tests doesn't work when length_encoding is above the maximum uint16
value.

Also add a set that checks the right error code is returned with too
small length_encoding.
2019-11-22 19:21:05 +01:00
Marian Buschsieweke
16ef0a7f30
Merge pull request #8383 from haukepetersen/opt_driver_bmx280spi
drivers/bmx280: reworked driver and added SPI mode
2019-11-22 17:06:12 +01:00
c7cd3d869e
Merge pull request #12180 from gschorcht/sys/arduino/lib
sys/arduino: Using Arduino libraries
2019-11-22 15:29:52 +01:00
49e8c736d9
Merge pull request #12765 from fjmolinas/pr_improvee_pthread_barier
tests/pthread_barrier: improve test script
2019-11-22 14:32:12 +01:00
Hauke Petersen
5e51030eab tests/driver_bmx280: add Makefile.ci 2019-11-22 14:04:38 +01:00
Hauke Petersen
c83e197676 tests/driver_bmx280: adapted to driver rework
functional changes:
- enable test to test the driver in SPI mode

style changes and code simplification:
- enable SPI mode
- fixed typos in doxygen
- fixed line length issues
- simplified code
- use fmt for formatting numbers
- use US_PER_SEC instead of magic value
- use named return values provided by driver
- use puts where ever applicable
2019-11-22 14:04:37 +01:00