Martine Lenders
b6a5c533d9
pkg/heatshrink: remove trailing whitespaces from doc.txt
2020-12-19 09:59:06 +01:00
Martine Lenders
01c061a922
dist/tools/vagrant: remove trailing whitespaces from README
2020-12-19 09:58:42 +01:00
Martine Lenders
003dd8f356
dist/tools/packer: remove trailing whitespaces from README
2020-12-19 09:58:31 +01:00
Marian Buschsieweke
7f7bf8454b
cpu/mips32r2_common: use malloc_thread_safe
...
This should fix concurrent dynamic memory allocation.
2020-12-18 18:17:32 +01:00
Martine Lenders
5cb33c79da
Merge pull request #15674 from janosbrodbeck/dtls/session_udp_ep_removal
...
pkg/tinydtls: remove sock_udp_ep_t from sock_dtls_session_t
2020-12-18 17:39:26 +01:00
Marian Buschsieweke
dfb67cef91
cpu/msp430_common: use malloc_thread_safe
...
This should fix concurrent dynamic memory allocation.
2020-12-18 17:30:40 +01:00
Marian Buschsieweke
915d14eb98
cpu/arm7_common: use malloc_thread_safe
...
This should fix concurrent dynamic memory allocation.
2020-12-18 17:23:12 +01:00
János Brodbeck
387acdfdb5
pkg/tinydtls: remove sock_udp_ep_t from sock_dtls_session_t
2020-12-18 16:41:58 +01:00
Hauke Petersen
44c4f1e307
Merge pull request #15652 from haukepetersen/opt_asymcute_asyncsock
...
net/asymcute: use sock async
2020-12-18 15:09:20 +01:00
Martine Lenders
6646682873
Merge pull request #15611 from benpicco/boards/eui_provider.h
...
net/eui_provider: API cleanup
2020-12-18 15:02:57 +01:00
be8660fad9
Merge pull request #15672 from aabadie/pr/dist/tools_changed_files_fix
...
dist/tools: don't redefine EXCLUDE when not necessary
2020-12-18 14:45:10 +01:00
Leandro Lanzieri
83d2ac9a4a
Merge pull request #15677 from maribu/cortexm_common_malloc_thread_safe_fix_kconfig
...
cpu/cortexm_common: fix select in Kconfig
2020-12-18 14:38:34 +01:00
Hauke Petersen
912979a3ac
examples/asymcute: improve error messages
2020-12-18 14:03:46 +01:00
Hauke Petersen
8e19d539a8
examples/asymcute_mqttsn: adapt to API change
2020-12-18 13:58:20 +01:00
Hauke Petersen
ee01950ed7
net/asymcute: switch to sock_asnyc_event
2020-12-18 13:58:20 +01:00
Martine Lenders
b5a36e9af7
Merge pull request #15653 from haukepetersen/fix_asymcute_subflags
...
net/asymcute: fix handling of short and pre-defined topics
2020-12-18 13:52:52 +01:00
Hauke Petersen
bf0aa101a7
Merge pull request #15670 from miri64/tests/enh/emcute-qos-0-publish
...
tests/emcute: add check for message ID with PUBLISH QoS 0
2020-12-18 13:46:22 +01:00
Hauke Petersen
1e7b95cd70
Merge pull request #15661 from haukepetersen/fix_emcute_msgidqos0
...
net/emcute: fix MsgId for PUBLISH with QOS0
2020-12-18 13:45:10 +01:00
558f3920a9
dist/tools: don't overwrite EXCLUDE when not necessary
2020-12-18 12:58:25 +01:00
Marian Buschsieweke
277ddcb108
cpu/cortexm_common: fix select in Kconfig
...
Only select MODULE_MALLOC_THREAD_SAFE if TEST_KCONFIG is true.
2020-12-18 12:50:33 +01:00
Hauke Petersen
ab72e2f9dd
examples/asymcute: fix short and predefined topics
2020-12-18 12:27:46 +01:00
Hauke Petersen
289688169e
net/asymcute: fix short and pre-defined topics
2020-12-18 12:27:46 +01:00
Hauke Petersen
d5aa6c1311
Merge pull request #15675 from haukepetersen/opt_asymcute_rmstaticcasts
...
net/asymcute: rm explicit casts where applicable
2020-12-18 12:12:05 +01:00
Martine Lenders
6fb0153877
Merge pull request #15656 from haukepetersen/fix_asymcute_pubmsgidqos0
...
net/asymcute: fix MsgId when publishing with QOS0
2020-12-18 11:06:05 +01:00
Hauke Petersen
610ae4925e
net/emcute: fix MsgId for PUBLISH with QOS0
2020-12-18 10:41:52 +01:00
Hauke Petersen
0e4c31ae64
net/emcute: add doc that QoS -1 is not supported
2020-12-18 10:41:52 +01:00
Hauke Petersen
285681a4e0
net/asymcute: rm explicit casts where applicable
2020-12-18 10:36:55 +01:00
Marian Buschsieweke
b422ef9970
cpu/fe310: use malloc_thread_safe
2020-12-18 10:29:37 +01:00
Hauke Petersen
5ff526f928
net/asymcute: fix msgId when publishing QOS0
2020-12-18 10:26:02 +01:00
Hauke Petersen
f8ceccbca4
net/asymcute: add doc that QoS -1 is not supported
2020-12-18 10:22:25 +01:00
Hauke Petersen
d07d941867
net/mqttsn: add flag definition for QoS -1
2020-12-18 10:22:25 +01:00
Leandro Lanzieri
a76deec9a8
Merge pull request #15646 from aabadie/pr/cpu/fe310_common_clock_kconfig
...
cpu/fe310: boards/hifive1*: move all clock configuration at CPU level
2020-12-18 09:46:34 +01:00
Marian Buschsieweke
8af3b7ecb3
Merge pull request #15621 from benpicco/tests/driver_dac_dds-ahoy
...
tests/driver_dac_dds: use clearer hello recording
2020-12-18 09:21:38 +01:00
Marian Buschsieweke
c8d16d21f7
Merge pull request #15606 from maribu/malloc-newlib-picolibc
...
sys/malloc_thread_safe: new module
2020-12-17 19:55:32 +01:00
Martine Lenders
b45363b784
Merge pull request #15663 from MrKevinWeiss/pr/tools/flake8/ghanno
...
dist/tools/flake8: Allow gh annotation
2020-12-17 17:30:06 +01:00
Martine S. Lenders
eaa1b76227
tests/emcute: add check for message ID with PUBLISH QoS 0
2020-12-17 17:25:53 +01:00
MrKevinWeiss
30fe436ea0
dist/tools/flake8: Allow gh annotation
2020-12-17 17:04:49 +01:00
0a45ac5fa1
boards/hifive1*: use common clock configuration
2020-12-17 15:53:31 +01:00
dc77914ce8
cpu/fe310: add clock configuration header
2020-12-17 15:53:31 +01:00
f2fe6373be
boards/hifive1*: remove board level clock Kconfig
2020-12-17 15:53:31 +01:00
aaca1331ca
cpu/fe310: move clock Kconfig to cpu
2020-12-17 15:53:31 +01:00
Marian Buschsieweke
09b41d2e1e
cpu/cortexm_common: use malloc_thread_safe module
2020-12-17 15:39:05 +01:00
Marian Buschsieweke
c790e2eb6d
sys/malloc_thread_safety: use mutex
...
Disabling IRQs during malloc() provides mutually exclusive access and even is
safe from IRQ context, but is suboptimal for real time scenarios. Instead, the
implementation is changed to use a mutex to provide mutually exclusive access.
As a result, calls to malloc() and free() from IRQ context no longer is
possible. But this this is a really horrible idea to begin with, the impact
should be minimal and the improved real time properties of the system should
make it a good trade-off. An assert() is added to allow easy detection of
regressions and, hence, aid users to fix their code.
2020-12-17 15:39:05 +01:00
Marian Buschsieweke
902aa29b62
sys/malloc_thread_safe: split out of cpu/atmega_common
...
Split out Gunar Schorcht's clever approach to provide thread safe malloc for
AVR into a system module and make AVR depend on this. This allows other
platforms to also use this.
2020-12-17 15:39:05 +01:00
Marian Buschsieweke
c9d63c9f4f
tests/malloc_thread_safety: new test
...
This test checks whether calling malloc in more than one thread is safe.
2020-12-17 15:39:05 +01:00
Leandro Lanzieri
aaf4a738f9
makefiles/arch/riscv: redirect error message to /dev/null
2020-12-17 15:23:21 +01:00
Martine Lenders
9066ab28e1
make: run static_tests.sh directly with static-tests
target
2020-12-17 15:16:36 +01:00
Martine Lenders
9817811b8f
dist/tools/ci/static_tests.sh: add dependency check for tools
2020-12-17 15:10:17 +01:00
6eb8e17861
Merge pull request #15637 from miri64/gh-actions/enh/release-test-matrix
...
gh-actions: make the release tests a matrix build
2020-12-17 13:09:15 +01:00
9cd753228c
usbus: Add USB peripheral serial string support
2020-12-17 11:37:05 +01:00