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

39724 Commits

Author SHA1 Message Date
Benjamin Valentin
6113b79bdb ztimer64_xtimer_compat: fix ztimer_msleep() 2022-04-22 18:12:45 +02:00
Francisco Molina
1340a5e867 pkg/pkg: add GIT_QUIET 2022-04-22 15:22:34 +02:00
benpicco
a427d630f1
Merge pull request #16787 from maribu/periph/gpio_ng
periph/gpio_ll: New Peripheral GPIO API
2022-04-22 12:27:54 +02:00
Benjamin Valentin
5deea31502 tests/nanocoap_cli: add optional DNS support 2022-04-22 11:35:52 +02:00
Benjamin Valentin
bb4c597681 nanocoap_sock: document (ab)use of sock_udp_recv_buf(), add asssert() 2022-04-22 11:34:19 +02:00
Benjamin Valentin
b20f89976d nanocoap_sock: pass on error code from user callback 2022-04-22 10:35:52 +02:00
Benjamin Valentin
85833ab58c nanocoap_sock: clean up the request function 2022-04-22 10:35:52 +02:00
Benjamin Valentin
bd7fe3bc5c nanocoap_sock: calculate deadline from interval
So we don't have to wait a full interval again if we got a wrong
message without resend.
2022-04-22 10:35:52 +02:00
Benjamin Valentin
e2fe9d0268 nanocoap_sock: compare response token 2022-04-22 10:35:52 +02:00
Benjamin Valentin
c22b1242ae nanocoap_sock: ensure ctx is reset before receiving new frame 2022-04-22 10:35:52 +02:00
Benjamin Valentin
3ac258ccdf nanocoap_sock: set more false if response was not blockwise 2022-04-22 10:12:27 +02:00
Benjamin Valentin
a5bc3cc069 nanocoap_sock: pass on error code 2022-04-22 10:12:27 +02:00
benpicco
c032e40fba
Merge pull request #17976 from benpicco/coap_get_token
nanocoap: add coap_get_token()
2022-04-22 10:08:30 +02:00
Francisco
21be49a16a
Merge pull request #17973 from fjmolinas/pr_examples_suit_seq_no
examples/suit_update/test: use 'suit seq_no' to get version
2022-04-22 08:47:32 +02:00
Marian Buschsieweke
28791c42a4
tests/bench_periph_gpio_ll: add benchmark for periph/gpio_ll 2022-04-22 08:39:05 +02:00
Marian Buschsieweke
22a17731ea
tests: Add tests for periph/gpio_ll
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2022-04-22 08:39:04 +02:00
Marian Buschsieweke
23855e140e
drivers: Add periph/gpio_ll API
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: chrysn <chrysn@fsfe.org>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2022-04-22 08:39:04 +02:00
Francisco
7307923703
Merge pull request #17960 from benpicco/sock_urlpath
nanocoap_sock: add nanocoap_sock_url_connect()
2022-04-22 08:26:12 +02:00
Marian Buschsieweke
d909d41df1
Merge pull request #17977 from benpicco/nanocoap-fixes-min
nanocoap: follow-up fixes (uncontroversial parts)
2022-04-22 06:58:30 +02:00
0c87335a45 core/msg: yield after thread_flags_wake() in queue_msg() 2022-04-21 17:28:41 +02:00
Francisco Molina
01196b99b7 examples/suit_update/tests: use current version as invalid one
If the current version was 0 then previously an invalid <0 seq_no
would be used.
2022-04-21 16:59:32 +02:00
Francisco Molina
c31d0e102d examples/suit_update/tests: use 'suit seq_no' cmd 2022-04-21 16:59:32 +02:00
Francisco Molina
ee9bf559fe sys/sc_suit: aligh seq_no format with riotboot_hdr 2022-04-21 16:59:32 +02:00
Francisco
c5b3b967a2
Merge pull request #16771 from fjmolinas/pr_suit_override_manifest_payloads
makefiles: allow to override suit manifest payloads
2022-04-21 16:54:28 +02:00
Benjamin Valentin
e627d25752 nanocoap: constify get functions 2022-04-21 15:39:25 +02:00
Benjamin Valentin
5c1ff580d6 nanocoap_sock: don't decrement retries twice 2022-04-21 15:39:25 +02:00
Benjamin Valentin
845a757eed nanocoap: don't set lastonum if no option was added 2022-04-21 15:39:25 +02:00
Benjamin Valentin
76e2500b7d nanocoap_sock: use random message IDs 2022-04-21 15:39:25 +02:00
Benjamin Valentin
c4f6249992 nanocoap: make use of coap_get_token() 2022-04-21 15:34:31 +02:00
Benjamin Valentin
3d0c1d09c4 gcoap: make use of coap_get_token() 2022-04-21 15:34:31 +02:00
Benjamin Valentin
328d46277d nanocoap: add coap_get_token() 2022-04-21 15:34:31 +02:00
Benjamin Valentin
8d391a4f5f nanocoap_sock: use random timeout 2022-04-21 15:03:31 +02:00
Oleg Hahm
843c16ad64
Merge pull request #17974 from benpicco/PM_NUM_MODES-count
pm: don't (un)block IDLE mode
2022-04-21 14:39:07 +02:00
56359d6fb1
Merge pull request #17930 from aabadie/pr/drivers/lcd_rotation_rework
drivers/lcd: rework rotation management and enable it for st7735
2022-04-21 14:31:49 +02:00
Benjamin Valentin
520aa2d27d examples/lorawan: don't unblock IDLE mode
This is already unblocked and will trigger an assertion.
The code is still broken as other modes might be unblocked too,
but at least it is just as broken as it was before #17895
2022-04-21 12:03:47 +02:00
Benjamin Valentin
237a44760a pkg/openwsn: don't block IDLE mode 2022-04-21 12:03:34 +02:00
Francisco Molina
76ee54e69c makefiles: use memoized for EPOCH, also define for suit
APP_VER must also be defined for suit.inc.mk in case non-fw payloads
are used (e.g. no riotboot)

Use memoized so the shell call happens only if needed
2022-04-21 11:39:25 +02:00
Francisco Molina
993af3d96a examples/suit_update/README.hardware.md: update logs 2022-04-21 11:39:25 +02:00
Francisco Molina
ac5c316361 makefiles/suit.inc.mk: refactor file storage and naming
- move all generated manifests under $(BINDIR)/suit_files (this can be
overwritten.
- rename signed manifests so that they are of the form:
<somename>.<version>.bin, where <somename> is by default riot.suit.

This avoids cluterring BINDIR while as well having a naming scheme that
allows custom names for manifests addresssing different types of
payloads.
2022-04-21 11:39:25 +02:00
Francisco Molina
17c6717093 makefiles/boot/riotboot: refactor file storage and naming
- rename riotboot files so that they are of the form: slot<n>.<version>.bin
- move all generated files under $(BINDIR)/riotboot_files (this can be
  overwritten.
2022-04-21 11:39:25 +02:00
Francisco Molina
ce35647f6a makefiles: allow to override suit manifest payloads
This adds:

* SUIT_MANIFEST_BASENAME: allow for non slotfiles payloads to have
different names that slotfiles payloads.
* SUIT_MANIFEST_PAYLOADS: firmware payloads to be published with the
manifest.
* SUIT_MANIFEST_SLOTFILES: firmware payloads referenced by the manifest
in the form 'filename:[offset]:[comp_name]' as expected by
gen_manifest.py.

With this the same recipes suit/publish suit/notify can be used with
non slotfiles payloads.
2022-04-21 11:39:25 +02:00
Francisco Molina
af6acdd934 examples/lorawan: use auto_init_loramac 2022-04-21 11:26:56 +02:00
Oleg Hahm
e64b1bd764
Merge pull request #17969 from aabadie/pr/examples/lorawan_comment_out_eeprom_support
examples/lorawan: disable loramac state persistence on EEPROM
2022-04-20 20:09:01 +02:00
8b7a8055c4
examples/lorawan: disable loramac state persistence on EEPROM
The code is kept but disabled by default. A comment explains how to avoid issues when enabling it
2022-04-20 18:21:47 +02:00
Francisco
7bad517360
Merge pull request #17968 from fjmolinas/pr_scard_spi_cleanup
drivers/scard_spi: _dyn_spi_rxtx_byte return void
2022-04-20 18:01:22 +02:00
Francisco Molina
02ce15b2e9 drivers/scard_spi: _dyn_spi_rxtx_byte return void
Both _sw_spi_rxtx_byte and _hw_spi_rxtx_byte return always 1, so
having a return value and checking for it does not make sense,
instead return void and remove the checks
2022-04-20 14:54:36 +02:00
Francisco Molina
0d7eb36247 boards/native: only one CAN_DLL by default 2022-04-20 14:40:06 +02:00
Francisco
85c76fbaa7
Merge pull request #17533 from ML-PA-Consulting-GmbH/fix/20220113__test_candev
periph_can,candev: socketcan pkg for native, candev test cleanup
2022-04-20 14:39:28 +02:00
Daniel Lockau
94412b16b4 tests/candev: cleanup 2022-04-20 11:55:29 +02:00
Daniel Lockau
879e082703 cpu/native: use socketcan pkg 2022-04-20 11:55:29 +02:00