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

39493 Commits

Author SHA1 Message Date
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
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
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
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
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
Francisco Molina
c4cadbc43f examples/suit_udpate: update check suit command 2022-04-19 13:11:24 +02:00