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

32955 Commits

Author SHA1 Message Date
Marian Buschsieweke
78aec672dd
tests/pkg_tinydtls_sock_async: fix use of internals
event_queue_medium was never part of the public API, instead of using
`&event_queue_medium` one should use `EVENT_PRIO_MEDIUM`.
2020-12-03 15:28:35 +01:00
Marian Buschsieweke
ae5845c372
tests/event_threads: drop use of deprecated module 2020-12-03 15:28:35 +01:00
Marian Buschsieweke
06c87dfe97
makefiles: add mechanism to deprecate modules
Add event_thread_lowest as first deprecated module
2020-12-03 15:28:35 +01:00
Marian Buschsieweke
10471a33b3
tests: Add event_thread tests for shared thread 2020-12-03 15:28:35 +01:00
Marian Buschsieweke
c6211cc6c2
sys/event: Allow shared thread for multiple queues
Allow using `event_loop_multi()` to handle event queues of multiple priorities
in an single thread. In the extreme case, all three event queues are handled
by a single thread (thus saving two stacks). This comes for the price of
increased worst case latency, as already running event handlers will no longer
be preempted by higher priority events.

With this, all three event queue priorities are always provided. Using modules,
the old behavior of one thread per event queue can be restored for better worst
case latency at the expense of additional thread size.
2020-12-03 15:28:35 +01:00
Marian Buschsieweke
955b1f5be8
tests/event_threads: spice up test a bit
By posting a higher priority event from the event handlers prior to printing,
we can verify that an event handler is indeed preempted by a higher priority
event.
2020-11-18 20:43:36 +01:00
Francisco
a11514a198
Merge pull request #15419 from leandrolanzieri/pr/ci/compile_kconfig_first
.murdock: run Kconfig compilation first when needed
2020-11-18 11:32:04 +01:00
benpicco
6cf6b47c27
Merge pull request #15445 from btcven/2020_11_05-gp2y10xx
drivers: add gp2y10xx dust sensor
2020-11-18 09:56:03 +01:00
Leandro Lanzieri
3d3d22c2fb
.murdock: remove unneeded board name conversion 2020-11-18 09:30:53 +01:00
Leandro Lanzieri
1ff2a8c2a7
.murdock: run Kconfig compilation first when needed
This allows to run the tests with the normal binary and avoids having to
test the TEST_KCONFIG flag during the test stage.
2020-11-18 09:30:50 +01:00
Jean Pierre Dudey
e920a2e645 drivers: add gp2y10xx dust sensor
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-18 09:13:56 +01:00
benpicco
1f7fdbc97a
Merge pull request #15099 from maribu/cortexm-common-cast-align
cpu/cortexm_common: Silence -Wcast-align false positives
2020-11-18 00:38:03 +01:00
Bas Stottelaar
f00605efc3
Merge pull request #15456 from rdagher/master
dist/tools/jlink: debugserver test_config prior test_version
2020-11-17 19:59:26 +01:00
073d2c6e35
Merge pull request #15454 from aabadie/pr/ci/gh_action_circleci_name
gh_actions: give a name to the circleci doc artifact action
2020-11-17 17:42:44 +01:00
Roudy Dagher
1dc6c848f6 dist/tools/jlink: debugserver test_config prior test_version 2020-11-17 16:42:54 +01:00
2aaa792dad
gh_actions: give a name to the circleci doc artifact action 2020-11-17 16:27:17 +01:00
48aef18d9e
Merge pull request #15455 from aabadie/pr/ci/static-test-fix-on-master
gh_actions: fix rebase issue with static-test
2020-11-17 16:19:13 +01:00
Marian Buschsieweke
45b8902659
Merge pull request #15314 from aabadie/pr/sys/arduino_print_float
sys/arduino: fix print float
2020-11-17 16:15:39 +01:00
9b339df085
gh_actions: fix rebase issue in static-test
Also remove the push triggers because they are useless
2020-11-17 15:19:56 +01:00
benpicco
afbf507a74
Merge pull request #15440 from maribu/pointer-tagging
sys: Add helpers for pointer tagging
2020-11-17 14:21:46 +01:00
benpicco
d1ccd53c43
Merge pull request #15450 from janosbrodbeck/pr/tinydtls_fix_handshake_session
pkg/tinydtls: set endpoint of session after complete handshake
2020-11-17 14:21:37 +01:00
4d8ca6a2e1
Merge pull request #15395 from fjmolinas/pr_suit_interactive_test
examples/suit_update: use interactive sync in test
2020-11-17 13:57:53 +01:00
Leandro Lanzieri
5a04f94b63
Merge pull request #14967 from aabadie/pr/boards/stm32f0_clock_kconfig_only
boards/stm32f0: add Kconfig for clock configuration
2020-11-17 12:14:10 +01:00
2f8460a457
Merge pull request #15437 from aabadie/pr/ci/gh_actions_static_test
CI: use Github actions for static tests instead of Travis
2020-11-17 12:09:26 +01:00
Francisco
fe510cd823
Merge pull request #15439 from leandrolanzieri/pr/drivers/network_devices_remove_netif_dep
drivers/network devices: remove unused netif dependency
2020-11-17 12:06:18 +01:00
dad5ca3276
Merge pull request #14953 from benpicco/drivers/mtd_mapper-pagewise
mtd_mapper: implement pagewise functions
2020-11-17 11:46:52 +01:00
Marian Buschsieweke
65cb8e5074
tests: Add test for sys/ptrtag 2020-11-17 11:24:59 +01:00
5d99793bf8
Merge pull request #15431 from haukepetersen/fix_periphrtt_tickconversion
periph/rtt: fix overflow in tick conversion macros
2020-11-17 11:07:00 +01:00
benpicco
309d79c763
Merge pull request #15453 from benpicco/cpu/sam0_common-flashpage_aux_write
cpu/sam0_common: flashpage: rename to sam0_flashpage_aux_write()
2020-11-17 10:41:45 +01:00
benpicco
dbba4f9393
Merge pull request #15378 from benpicco/native/mtd_pagewise
native/mtd: implement .write_page()
2020-11-17 10:34:55 +01:00
df65fbcff7
.travis.yml: remove Travis CI again 2020-11-17 10:26:21 +01:00
21e541dfd1
.github/workflows: add static-test github action 2020-11-17 10:26:21 +01:00
Marian Buschsieweke
ffbb1c1035
sys: Add helpers for pointer tagging 2020-11-17 10:10:28 +01:00
3f21b5617f
Merge pull request #15452 from benpicco/pkg/hacl-fork
pkg/hacl: switch upstream to backup copy
2020-11-17 10:08:56 +01:00
Benjamin Valentin
2845554b4e cpu/sam0_common: flashpage: rename to sam0_flashpage_aux_write()
`flashpage_write_raw()` got renamed to `flashpage_write()`.
Now `sam0_flashpage_aux_write_raw()` is the only remaining 'raw'
function, even though it behaves just like `flashpage_write()`.

So let's also rename that for consistency.
2020-11-17 00:34:31 +01:00
benpicco
dbfbe2a9e8
Merge pull request #15444 from benpicco/drivers/at86rf215-24ghz_dep_fix
drivers/at86rf215: fix dependency resolution for 2.4 GHz
2020-11-16 19:46:35 +01:00
Benjamin Valentin
4c9a3c0434 pkg/hacl: switch upstream to backup copy
The https://github.com/mitls/hacl-c repo was deleted.
Getting the new upstream (https://github.com/project-everest/hacl-star)
to work nicely as a package requires some non-trivial work and in the
meantime all CI jobs will fail.

As a short-term solution, switch the upstream to a backup version of
the original repository.
2020-11-16 16:34:41 +01:00
János Brodbeck
2538e72625
pkg/tinydtls: set endpoint of session after complete handshake 2020-11-16 13:50:15 +01:00
Francisco Molina
2e4268f198
examples/suit_update: use interactive sync in test 2020-11-16 12:06:29 +01:00
a3e4c1eca5
Merge pull request #15396 from fjmolinas/pr_cc2538_bsl_diff_erase
makefiles/tools/cc2538-bsl: use --write-erase to avoid mass erase
2020-11-16 10:37:43 +01:00
Hauke Petersen
261d63fee3 tests/periph_rtt: add test for tick conversions 2020-11-16 10:00:24 +01:00
Hauke Petersen
c4a8c45a3e periph/rtt: fix tick conversion macros 2020-11-16 10:00:24 +01:00
Francisco Molina
6a606e3f21
makefiles/tools/cc2538-bsl: use --write-erase to avoid mass erase 2020-11-16 09:13:57 +01:00
Francisco Molina
8f1e2cbe00
dist/tools/cc2538-bsl: add Makefile to build dependencies 2020-11-16 09:13:57 +01:00
Benjamin Valentin
72d0d4c6d7 drivers/at86rf215: fix dependency resolution for 2.4 GHz
With the last cleanup an error sneaked in:
Now the 2.4 GHz interface is disabled, when the `at86rf215m` module
(chip with sub-GHz radio only) is *not* used.

This is the reverse of what should happen.
2020-11-15 16:34:57 +01:00
Martine Lenders
a07d3e0fc9
Merge pull request #14755 from benpicco/examples/gnrc_border_router-native
examples/gnrc_border_route: simplify ZEP setup on native
2020-11-13 18:41:03 +01:00
c4ef8b71e1
Merge pull request #15327 from maribu/mutex_cleanup_splitout
core/mutex: Cleanup
2020-11-13 18:37:27 +01:00
benpicco
be9eb22bb8
Merge pull request #15106 from chrysn-pull-requests/saul-rgbleds
saul_pwm: auto-init'able RGB LEDs and dimmers
2020-11-13 18:22:30 +01:00
Benjamin Valentin
0ffe5a09f4 examples/gnrc_border_router: automatically start ZEP dispatcher 2020-11-13 18:11:33 +01:00
Benjamin Valentin
ecd40ff824 examples/gnrc_networking: add port configuration for socket_zep
Set the socket_zep port so that native will connect to the default border router
configuration.
2020-11-13 18:11:14 +01:00