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

33676 Commits

Author SHA1 Message Date
János Brodbeck
0e12a5d1c3
sock/dtls: introduce function to get the udp endpoint from a session 2020-12-21 18:24:22 +01:00
73d3232f67
Merge pull request #15673 from maribu/fe310-malloc
cpu/fe310: use malloc_thread_safe
2020-12-21 13:29:02 +01:00
Marian Buschsieweke
aca895f165
Merge pull request #15688 from bergzand/pr/memarray/inline_short_functions
memarray: Inline short alloc and free functions
2020-12-21 11:25:23 +01:00
Marian Buschsieweke
9a61e27f8d
Merge pull request #15679 from maribu/arm7-malloc
cpu/arm7_common: use malloc_thread_safe
2020-12-21 10:00:34 +01:00
bdf2bf537a
memarray: Inline short alloc and free functions
These functions are short enough that inlining them actually reduces the
flash footprint of the test on the samr21-xpro
2020-12-20 17:24:56 +01:00
benpicco
7d8f801b20
Merge pull request #15650 from aabadie/pr/cpu/stm32_clk_merge_f0f1f3
cpu/stm32: merge f0/f1/f3 clock configuration headers
2020-12-20 02:31:12 +01:00
benpicco
674ed7104f
Merge pull request #15624 from iosabi/qn908x_i2c
cpu/qn908x: Implement blocking I2C support
2020-12-20 00:49:39 +01:00
iosabi
0b70a7897a boards/qn9080dk: Add mma8x5x driver for MMA8652FC
The qn9080dk includes a MMA8652FC chip connected to the I2C0 bus, this
patch adds the driver for the in the default.

Note that the MMA8652FC device is powered from the LPC_VCC line, which
is different from the QN_VCC line that powers the QN9080 MCU. A voltage
level translator is included in the QN9080DK which is only enabled when
JP11 (labeled "G-Sensor I2C") is closed and the LPC debugger hardware
is powered, for example from the USB port.
2020-12-19 22:41:57 +00:00
iosabi
5f78519b29 boards/qn9080dk: Enable driver for I2C0
The QN9080DK board can expose the I2C bus SDA and SCL in the pins
labeled D14 and D15 respectively in the J5 headers, and in the Pmod (J8)
connector in the pins 10 and 9 of the header respectively.

The bus has a 2K2 pull up resistor on each line when SB7 and SB8 (next
to the Pmod connector) are closed, which is the factory default.
2020-12-19 22:41:57 +00:00
iosabi
70113b5fd3 cpu/qn908x: Implement blocking I2C support
This initial I2C support allows to use the I2C bus in controller mode to
interact with multiple peripherals in blocking mode. The CPU will
perform a busy wait when transferring data over I2C.
2020-12-19 22:41:57 +00:00
Marian Buschsieweke
720ea90372
Merge pull request #15668 from leandrolanzieri/pr/makefiles/arch/riscv_redirect_which_error
makefiles/arch/riscv: redirect 'which' error message to /dev/null
2020-12-19 21:43:16 +01:00
5406297176
Merge pull request #15682 from miri64/treewide/fix/whitespace
treewide: fix trailing whitespaces
2020-12-19 11:56:04 +01:00
Martine Lenders
eb6056d469
pkg/tweetnacl: remove trailing whitespaces from doc.txt 2020-12-19 10:00:20 +01:00
Martine Lenders
0770293552
pkg/relic: remove trailing whitespaces from doc.txt 2020-12-19 10:00:08 +01:00
Martine Lenders
15a3365b16
pkg/minmea: remove trailing whitespaces from doc.txt 2020-12-19 09:59:46 +01:00
Martine Lenders
ce9050f2a6
pkg/micro-ecc: remove trailing whitespaces from doc.txt 2020-12-19 09:59:32 +01:00
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
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
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