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
Daniel Lockau
473a959ec5
pkg/socketcan: add to resolve i386 support on Ubuntu
...
Ubuntu dropped i386 support for socketcan already a while ago.
2022-04-20 11:49:33 +02:00
df95c6ca83
Merge pull request #17945 from fjmolinas/pr_mcp2515_cleanups
...
drivers/mcp2515: fixes and cleanups
2022-04-20 10:42:08 +02:00
Francisco Molina
4edf33c16d
sys/auto_init_mcp2515: fix auto_init
2022-04-20 09:23:50 +02:00
Francisco Molina
6959f5eb78
drivers/mcp2515: use ztimer
2022-04-20 09:23:50 +02:00
benpicco
5dc53c4b0c
Merge pull request #17963 from fjmolinas/pr_update_check_sui
...
examples/suit_udpate: update check suit command
2022-04-19 16:35:38 +02:00
d992a18c76
boards: adapt configuration with new rotation mode defines
2022-04-19 16:22:11 +02:00
85ba0597f7
drivers/lcd: rework rotation modes and enable it with st7735
2022-04-19 16:22:10 +02:00
646fb1135a
Merge pull request #17925 from aabadie/pr/drivers/lcd_params_rework
...
drivers/lcd: slightly rework params to expose offset values to ili9341 driver
2022-04-19 16:21:42 +02:00
Francisco Molina
babaa6ec4a
drivers/mcp2515/candev_mcp2515: remove Illegal ID error
...
0x1fffffff marks and extended can id.
2022-04-19 15:57:57 +02:00
Francisco Molina
cd21bc00da
drivers/candev_mcp2515: set default bitrate to 500kbps
2022-04-19 15:56:45 +02:00
Francisco Molina
c07514ad3f
drivers/mcp2515: allow for can_mask == 0, promiscuos
...
can_mask = 0 is a valid value to reaceive all frames
2022-04-19 15:56:45 +02:00
Francisco Molina
3084928151
drivers/mcp2515: support no rst_pin
2022-04-19 15:56:44 +02:00
Francisco Molina
0c526f12c6
driver/mcp2515: clear irq masks after read
...
This fixes a bug where it triggers twice on e.g. tx isr
2022-04-19 15:55:29 +02:00
Marian Buschsieweke
8eb3692b9d
makefiles/arch/riscv.inc.mk: improve error message
...
When no toolchain could be detected, provide a friendly message
instead.
2022-04-19 15:51:31 +02:00
Francisco Molina
c4cadbc43f
examples/suit_udpate: update check suit command
2022-04-19 13:11:24 +02:00
63b25483c9
Merge pull request #17921 from aabadie/pr/drivers/disp_dev_coordinates
...
drivers/disp_dev: use struct to store display area coordinates
2022-04-19 12:48:12 +02:00
718b1e350d
Merge pull request #17459 from aabadie/pr/drivers/cst816s_enh
...
drivers/cst816s: add touch_dev interface + add Kconfig + migrate to ztimer
2022-04-19 11:43:34 +02:00
56fdc90ef4
Merge pull request #17952 from leandrolanzieri/pr/sys/event/add_doc_and_assert
...
sys/event: Add documentation and enforce waiter on wait
2022-04-19 09:24:53 +02:00
fabian18
5643b52879
Merge pull request #17814 from fabian18/bugfix_nib_sllao_in_NS_6LR
...
ipv6/nib: bugfix handle SLLAO on 6LR if ARO is not present
2022-04-18 17:54:04 +02:00
chrysn
9ff9197cdd
Merge pull request #17961 from chrismooredev/master
...
doc: fix broken link/footnote in using-rust.md/maintenance
2022-04-18 09:26:05 +02:00
Chris Moore
6e90780190
doc: fix broken link/footnote in using-rust/maintenance
2022-04-17 19:32:47 -05:00
Benjamin Valentin
2ea6c81217
nanocoap_sock: add nanocoap_sock_url_connect()
2022-04-18 01:53:23 +02:00
Benjamin Valentin
c747d99556
unitttests/sock_util: add sock_urlpath() to tests
2022-04-18 01:42:57 +02:00
Benjamin Valentin
f6be7d6ffe
sys/net/sock_util: add sock_urlpath()
2022-04-18 01:36:50 +02:00
Fabian Hüßler
560e43ae56
ipv6/nib: bugfix handle SLLAO on 6LR if ARO is not present
2022-04-18 00:09:53 +02:00
benpicco
0e5900d597
Merge pull request #17941 from fjmolinas/pr_suit_seq_no_cmd
...
sys/sc_suit: add seq_no command
2022-04-17 23:44:20 +02:00
chrysn
0989cbb864
Merge pull request #16806 from chrysn-pull-requests/which-hunt-the-good-parts
...
makefiles: Reject `2>&1 >/dev/null`, and weed out remaining offenders
2022-04-16 13:03:22 +02:00
chrysn
25e11d99b1
make: Sort >/dev/null and 2>&1 when used with command
...
This is a follow-up for [16775], and was not caught there as that search
was limited to `which`.
Note that while this line can be simplified, the redirects ensure that
GNU Make < 4.3 will not optimize it into its own built-in shell that
does not know `command`.
[16775]: https://github.com/RIOT-OS/RIOT/pull/16775
2022-04-16 10:04:20 +02:00
chrysn
d94b4e0ec1
makefiles: Reject 2>&1 > /dev/null
...
While this could theoretically be desired, it's usually just a mishap.
It is unlikely that legitimate cases will be needed in the build system;
if so, they can exclude themselves.
See-Also: https://github.com/RIOT-OS/RIOT/pull/16775
2022-04-16 10:04:17 +02:00