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

5432 Commits

Author SHA1 Message Date
f1feaa2063
tests/periph_gpio: Convert to ztimer 2021-11-15 15:24:38 +01:00
8c2f0dd2af
sys/benchmark: Convert to ztimer 2021-11-15 14:14:23 +01:00
Francisco
6dbf1c3013
Merge pull request #17102 from aabadie/pr/drivers/ads101x_ztimer
drivers/ads101x: migrate to ztimer
2021-11-15 09:56:14 +01:00
Marian Buschsieweke
c18dc7157d
Merge pull request #17177 from maribu/sys/architecture
sys/architecture: add HAS_ALIGNMENT_OF() helper
2021-11-12 14:12:08 +01:00
1772628483
Merge pull request #16186 from kaspar030/fix_native_notext
cpu/native: add `-no-pie` to LINKFLAGS
2021-11-11 11:50:54 +01:00
Marian Buschsieweke
7b06e665ee
sys/architecture: add HAS_ALIGNMENT_OF() helper 2021-11-11 10:57:26 +01:00
Marian Buschsieweke
673299b1cf
Merge pull request #17176 from maribu/core/declare_constant
core: add WITHOUT_PEDANTIC() and DECLARE_CONSTANT()
2021-11-11 10:56:47 +01:00
Kevin "Tristate Tom" Weiss
da60ba5fff
Merge pull request #17165 from leandrolanzieri/pr/sys/ztimer_kconfig_entry
sys/ztimer: rework Kconfig

To eliminate circular dependencies based in periph_rtc and xtimer_ztimer_compatibility the following changes are applied:
- Change entrypoint of ztimer as a specific backend is always required
- Add a non-module symbol for ztimer_usec that bring in the ztimer and ztimer_usec module which allows the xtimer ztimer compatibility layer to only select the ztimer_usec module preventing circular dependency issues
2021-11-11 09:21:33 +01:00
937a0014c8 tests/backtrace: make test regexp a bit more loose 2021-11-10 20:38:25 +01:00
Marian Buschsieweke
f2a53c8fb3
tets/unittests: add test for DECLARE_CONSTANT() 2021-11-10 15:22:48 +01:00
e89eebc6bf
Merge pull request #17163 from maribu/pkg/libcoap
pkg/libcoap: remove
2021-11-10 13:42:59 +01:00
Kevin "Tristate Tom" Weiss
ff8983c155
Merge pull request #17161 from kaspar030/update_pkg_relic
pkg/relic: bump to current master
2021-11-10 09:15:23 +01:00
Francisco
24794676ca
Merge pull request #16901 from maribu/tests/thread_float
tests/thread_float: improve and add script
2021-11-10 08:34:55 +01:00
Marian Buschsieweke
f62b662b08
tests/thread_float: improve and add test script
- Perform the same computation over and over again. If the results
  differ, context switches have an impact on the calculation (e.g.
  when the FPU internally uses more bits than a float, but that bits
  are not saved / restored on context switch)
- Give the three threads the names "t1", "t2", and "t3" and print them
  on console, instead of the process ID. This makes interpretation of
  the output easier, as the process IDs depend e.g. on whether a given
  platforms requires an idle thread or not.
- Do not use the thread ID in the calculation, but the number at the
  end of the thread name. This will result in the number printed only
  depending on the precision of the (software) FPU and the printf()
  implementation, and not on which threads are created in which order
  (including the idle thread)
- Add a script to support running `make test`

Update tests/thread_float/tests/01-run.py

Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2021-11-09 19:57:59 +01:00
Leandro Lanzieri
703e66b4c1
sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
55d5cdea04 tests/pkg_relic: update for bumped upstream 2021-11-09 13:48:49 +01:00
Marian Buschsieweke
d83d08f099
pkg/libcoap: remove
The pkg has not been updated in ages and upstream libcoap provides means
to build with RIOT. Users are better served using the upstream libcoap
approach to use RIOT + libcoap rather than this outdated pkg.
2021-11-09 13:47:11 +01:00
Martine Lenders
3677a93d96
Merge pull request #17145 from yarrick/core_lock
tests/lwip_sock: Take lock before calling etharp
2021-11-06 13:53:39 +01:00
benpicco
1f11780c02
Merge pull request #17119 from spectraphilic/sdi12-remote
pkg/arduino_sdi_12: support the remote-revb board
2021-11-06 11:32:54 +01:00
Erik Ekman
91be3adac8 tests/lwip_sock: Take lock before calling etharp
Fixes #17144
2021-11-05 18:45:04 +01:00
Benjamin Valentin
a803cab439 tests/unittests: add test for index_of() 2021-11-05 16:42:38 +01:00
Francisco
c739516ac4
Merge pull request #17132 from miri64/core/enh/activate-SCHED_TEST_STACK
core: make SCHED_TEST_STACK boolean and default to 1 with DEVELHELP
2021-11-05 11:11:36 +01:00
Martine Lenders
2955288b8b
tests: update Makefile.ci for SCHED_STACK_TEST extension of DEVELHELP 2021-11-05 09:27:01 +01:00
Martine Lenders
f08989a3c8
core: make SCHED_TEST_STACK boolean and default to 1 with DEVELHELP 2021-11-05 09:27:00 +01:00
eaa007d412
Merge pull request #17135 from bergzand/pr/usbdev/fix_cppcheck_vera
usb(dev|bus): Fix static-check issues
2021-11-05 08:36:53 +01:00
J. David Ibáñez
98a61d06e1 pkg/arduino_sdi_12: move BOARD_INSUFFICIENT_MEMORY to Makefile.ci 2021-11-05 07:55:16 +01:00
9e853a6a79
Merge pull request #17124 from aabadie/pr/boards/microbit_mineplex
boards/{calliope-mini,microbit*}: factorize common microbit module, use ztimer
2021-11-05 00:39:35 +01:00
233cc0928a
Merge pull request #16887 from aabadie/pr/pkg/elk
pkg: add support for Elk Tiny Javascript engine
2021-11-04 17:52:44 +01:00
03acd1fafc
tests/driver_ads101x: exclude nucleo-l011k4 because of low memory 2021-11-04 16:21:08 +01:00
J. David Ibáñez
d2c9caae2b pkg/arduino_sdi_12: skip nucleo-l011k4 in CI
Because it does not have enough memory.
2021-11-04 16:05:06 +01:00
J. David Ibáñez
c9062c2e23 pkg/arduino_sdi_12: use blacklist instead of whitelist 2021-11-04 16:05:06 +01:00
J. David Ibáñez
1d2ac15396 pkg/arduino_sdi_12: cpp11-compat for all but atmega
Doesn't work.
2021-11-04 16:05:06 +01:00
J. David Ibáñez
3e73c5f6e3 pkg/arduino_sdi_12: support the remote-revb board
Patch the library to use micros() for timing, when sending a command,
for boards not supported by the library.

Use cpp11-compat with the remote-revb board. This fixes the link error
"undefined reference to __dso_handle"
2021-11-04 16:05:06 +01:00
Francisco
f08c5da7aa
Merge pull request #17101 from aabadie/pr/drivers/bmp180_ztimer
drivers/bmp180: migrate to ztimer
2021-11-04 15:25:48 +01:00
673fa4bd5b
tests/usbus: resolve vera++ issue 2021-11-04 13:49:35 +01:00
ce28a54ed9
tests: add test application for Elk package 2021-11-04 12:38:21 +01:00
d71388c58e
tests/board_calliope-mini: use microbit common module 2021-11-03 12:10:14 +01:00
Martine Lenders
67f67bfe62
Merge pull request #17076 from jenswet/feature/add-fff-package
pkg/fff: Add fake functions framework package
2021-11-03 11:00:56 +01:00
Francisco
f6012e1bcb
Merge pull request #17114 from fjmolinas/pr_xbee_ztimer_msec
drivers/xbee: migrate to ztimer_msec
2021-11-03 09:05:27 +01:00
Francisco
c3226ba865
Merge pull request #17107 from miri64/treewide/fix/pycryptodome
pycrypto: use pycryptodome instead
2021-11-02 22:09:08 +01:00
Francisco Molina
3dd0829c82 tests/driver_xbee: uncrustify, format Makefile 2021-11-02 21:46:19 +01:00
Jens Wetterich
14f90f3c5e pkg/fff: Add fake functions framework package 2021-11-02 18:01:21 +01:00
546283fd05
tests/driver_bmp180: migrate to ztimer 2021-11-02 14:57:50 +01:00
bcdbec40e3
tests/driver_ads101x: migrate to ztimer 2021-11-02 14:49:45 +01:00
Martine Lenders
e38aec72b2
pycrypto: use pycryptodome instead
`pycrypto` is unmaintained [[1]] since v2.6.1 (released October 2013).
This version, however, has some severe vulnerabilities [[2]] [[3]].

The recommendation is to use the API-compatible `pycryptodome` library.

[1]: https://github.com/pycrypto/pycrypto/issues/173
[2]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-7459
[3]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6594
2021-11-02 13:28:42 +01:00
Leandro Lanzieri
f64b166319
Merge pull request #16845 from MrKevinWeiss/pr/kconfig/supportstms
.murdock: Add nucleo boards to kconfig test
2021-11-01 09:55:22 +01:00
J. David Ibáñez
5ce514a105 pkg/arduino_sdi_12: add new package
From https://github.com/EnviroDIY/Arduino-SDI-12
2021-10-28 16:19:28 +02:00
dbbdc8590e
Merge pull request #17031 from fjmolinas/pr_lvgl_ztimer
pkg/lvgl: use ztimer instead of xtimer
2021-10-28 11:36:04 +02:00
Francisco
7f3344870d
Merge pull request #16972 from Ollrogge/flashpage_pr
periph/flashpage: extend API
2021-10-26 12:51:05 +02:00
Francisco Molina
d2c09698e0 tests/driver_ili9341: use ztimer_msec instead of xtimer 2021-10-25 10:49:08 +02:00