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

33418 Commits

Author SHA1 Message Date
chrysn
2fe999fd8b examples/gcoap: Allow PUT/POST with empty payload
All access to the respective position in argv is already checked against
the argc count, and the online usage documentation already declares the
argument as optional (where not accepting it at GET seems obvious
enough, but requiring it with POST or PUT does not). Thus, allowing it
in the argument count check is the only thing to remain.
2020-10-23 11:16:22 +02:00
Francisco Molina
f5b587c130
pkg/openwsn: allow overiding led pins 2020-10-23 09:13:32 +02:00
Bas Stottelaar
38a5ff7d4b pkg/*: realign ENABLE_DEBUG 2020-10-23 02:43:10 +02:00
Bas Stottelaar
bb36bbc6ff examples/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Bas Stottelaar
22243aec7a cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
Bas Stottelaar
e675b6379e core/*: realign ENABLE_DEBUG 2020-10-23 00:45:56 +02:00
Bas Stottelaar
94ab185b0a boards/*: realign ENABLE_DEBUG 2020-10-23 00:45:56 +02:00
Bas Stottelaar
b23d0dafb2 sys/*: reorder ENABLE_DEBUG after last include 2020-10-23 00:45:56 +02:00
Bas Stottelaar
8d602435a5 drivers/*: reorder ENABLE_DEBUG after last include 2020-10-23 00:45:56 +02:00
Bas Stottelaar
bd34cf8fc0 cpu/*: reorder ENABLE_DEBUG after last include 2020-10-23 00:45:55 +02:00
Bas Stottelaar
ff53307599 core/*: reorder ENABLE_DEBUG after last include 2020-10-23 00:41:18 +02:00
46fc1f2ae6
Merge pull request #15144 from fjmolinas/pr_cc2538_rf_init_changes
cpu/cc2538: cleanup init, add cc2538_rf_obs_sig module
2020-10-22 20:12:54 +02:00
chrysn
462f8861f4 gcoap: Suppress retransmissions when ACK was received
This introduces an additional state to the COAP_MEMO_* series to avoid
enlarging the memo struct needlessly. While they are documented
publicly, practically only the COAP_MEMO_TIMEOUT and COAP_MEMO_RESPONSE
are used in communication with the application, as a
gcoap_request_memo_t is only handed out in that state.
2020-10-22 19:08:39 +02:00
chrysn
f32d758819 gcoap: Prepare to cease retransmission
The actual implementation will follow in a separate commit, this does
the groundwork and sets the intention.
2020-10-22 19:08:39 +02:00
chrysn
0a2f97680f gcoap: Cleanup around empty responses
Simplify the code path and give consistent debug messages.
2020-10-22 19:08:39 +02:00
chrysn
ff00d66d69 gcoap: Process CON responses
This generalizes the existing code for answering CoAP pings into general
message-layer responses. Such responses are now also sent as a reaction
to CON responses, which can otherwise follow the same code path as
existing other responses.

As a side effect, issues that would crop up when responding to odd empty
requests that have token length set are resolved.

Contributes-To: https://github.com/RIOT-OS/RIOT/issues/14169
2020-10-22 19:08:39 +02:00
Francisco Molina
e2c57cde95
cpu/cc2538: cleanup init, add cc2538_rf_obs_sig module 2020-10-22 18:17:08 +02:00
benpicco
d078488be3
Merge pull request #14979 from jia200x/pr/openthread/cc2538_rf
openthread: add support for radios compatible with SubMAC
2020-10-22 18:11:11 +02:00
Francisco Molina
145d24499d
cpu/cc2538_rf: remove RADIO_IRQ_PRIO 2020-10-22 17:26:08 +02:00
José Alamos
9fd49581e7
Merge pull request #15140 from fjmolinas/pr_tx_start_radio_hal
sys/net/ieee802154/radio: add IEEE802154_RADIO_INDICATION_TX_START
2020-10-22 16:57:27 +02:00
Jose Alamos
383e1b1aaf openthread/nrf802154: add support for NRF802154 radios 2020-10-22 16:56:11 +02:00
Jose Alamos
48a65d2617 openthread/cc2538_rf: add support for CC2538 radios 2020-10-22 16:56:07 +02:00
benpicco
f933bbd4cd
Merge pull request #15267 from basilfx/feature/missing_assert_header
treewide: cleanup assert.h includes
2020-10-22 16:41:49 +02:00
Francisco Molina
60fdd7b15c
tests/ieee802154_hal: set default cca params 2020-10-22 14:59:06 +02:00
Francisco Molina
8236c8aef1
cpu/nrf52/radio: add FRAMESTART event 2020-10-22 14:59:06 +02:00
Francisco Molina
0175abc8e5
cc2538/cc2538_rf_radio_ops: add TX/RX_START 2020-10-22 14:59:06 +02:00
Francisco Molina
c756fa5e78
sys/Makefile.dep: make ieee802154_radio_hal depend on ieee802154 2020-10-22 14:54:53 +02:00
Francisco Molina
7623a9820a
sys/net/ieee802154/radio.h: add TX_START 2020-10-22 14:54:53 +02:00
ae7a41a60c
Merge pull request #15270 from benpicco/sys/fac-gcd
sys/frac: make gcd32() public
2020-10-22 13:00:29 +02:00
Marian Buschsieweke
5f9b55a182
cpu/stm32: Add stm32_eth_auto for auto-negotiation
Expose the auto-negotiation feature of the Ethernet device via the
pseudo-module stm32_eth_auto. With this enabled, the static speed configuration
set in the boards periph_conf.h will only be used if the PHY lacks
auto-negotiation capabilities - which is unlikely to ever happen.
2020-10-22 12:37:23 +02:00
benpicco
6931667cfb
Merge pull request #15253 from benpicco/pkg/micro-ecc-bump
pkg/micro-ecc: bump version
2020-10-22 12:04:21 +02:00
Bas Stottelaar
a6b148ebe0 tests/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
b32baa0f72 sys/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
7088db3636 pkg/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
ffb929d811 sys/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
26835a949f drivers/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
fb61443bbd cpu/*: remove unused assert.h include 2020-10-22 11:13:09 +02:00
Bas Stottelaar
6deaf39e5d tests/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Bas Stottelaar
80d9da90df sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Bas Stottelaar
970c72a0cb pkg/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Bas Stottelaar
2a818172a4 examples/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Bas Stottelaar
4bdfe9a254 drivers/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Bas Stottelaar
ab6188cea3 cpu/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Benjamin Valentin
b770304e25 sys/frac: make gcd32() public
A function to calculate the greatest common divisor is generally useful.
In turn declare the internal `frac_long_divide()` as `static`, it's
not used anywhere outside this module and has no public header.
2020-10-22 11:10:14 +02:00
Jose Alamos
edc4d1df34 openthread/Makefile: add netdev_default 2020-10-22 10:33:06 +02:00
Benjamin Valentin
d7e68d1d01 pkg/micro-ecc: bump version
micro-ecc now has upstream RIOT support, we can drop the patch.
2020-10-22 09:44:04 +02:00
Francisco
5e7ee01755
Merge pull request #14345 from HendrikVE/pr/shell-exit-on-ctrl-d
sys/shell: terminate shell on Ctrl-D
2020-10-22 09:25:13 +02:00
Francisco
b0a9876743
Merge pull request #15266 from benpicco/at86rf215-fix_deps
drivers/at86rf215: fix dependency resolution for single radio
2020-10-22 09:05:55 +02:00
benpicco
6cf5f79ba1
Merge pull request #15269 from basilfx/feature/timex_includes
treewide: add includes to timex.h
2020-10-22 00:54:24 +02:00