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

80 Commits

Author SHA1 Message Date
Benjamin Valentin
acfab72296 nanocoap: make use of coap_request_ctx_t 2022-07-17 14:29:39 +02:00
benpicco
eada4f0b75
Merge pull request #18157 from benpicco/suit-key-dir
makefiles/suit: place keys in $XDG_DATA_HOME
2022-06-28 16:01:11 +02:00
benpicco
6019925c75
Merge pull request #17943 from fjmolinas/pr_suit_vfs_storage
sys/suit/storage/vfs: initial import
2022-06-07 09:33:37 +02:00
Francisco Molina
d33d0a4065 examples/suit_update: adapt python test to native 2022-06-03 08:49:44 +02:00
Francisco Molina
96b81596f0 examples/suit_update: apply blake 2022-06-03 08:49:44 +02:00
Francisco Molina
97708cf96a examples/suit_update: add vfs storage for native 2022-06-03 08:49:44 +02:00
Benjamin Valentin
5e52d15409 makefiles/suit: place keys in $XDG_DATA_HOME
Placing the SUIT key in the RIOT repository folder is dangerous as
a repo checkout is by most people considered a volatile location.
Since all important files are stored in git, deleting the entire folder
or it's contents is not an uncommon cleanup operation.

If the user is at that point unaware that SUIT key material is stored
in that folder, that key will then be lost.

Another workflow may involve multiple checkouts of the RIOT repository
to multiple folders to work on several features at the same time, or for
easy cross-referencing or splitting of off features from an integration
into a feature branch.
In that case each checkout would use it's own incompatible SUIT key.

To avoid all these pitfalls, place the SUIT keys outside the RIOT
repository in the $XDG_DATA_HOME directory.
2022-06-02 13:07:17 +02:00
Benjamin Valentin
e16074f8ae examples/suit_update: enable VFS transport 2022-06-01 13:00:51 +02:00
Benjamin Valentin
ad7d974183 nanocoap: define default block size 2022-05-24 09:32:09 +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
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
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
c4cadbc43f examples/suit_udpate: update check suit command 2022-04-19 13:11:24 +02:00
Benjamin Valentin
e69da7a295 examples/suit_update: clarify README.hardware.md
I had the mistake of creating `coaproot` inside the application
directory, add a few words to prevent that mistake in the future.
2022-03-08 22:54:16 +01:00
Karl Fessel
fc79d85bcc example/suit_update: include kernel_defines.h 2022-02-12 18:30:58 +01:00
fbf2179fa5
examples/suit_update: fix test instructions in README 2022-01-04 10:08:36 +01:00
Karl Fessel
427df6d59d suit: example doesn't need xtimer suit_coap needs xtimer 2021-12-14 22:53:01 +01:00
Benjamin Valentin
a23fa5253f doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
Daniel Lockau
201e42a497 examples/suit: remove automatic deps 2021-11-11 14:00:31 +01:00
Benjamin Valentin
9a6fc85b16 treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
2b45e3f072
examples/suit_update: Add compatibility with native 2021-07-08 10:32:58 +02:00
Benjamin Valentin
737578a7bf examples/suit_update: allow the use of large MTUs
Transfer time is reduced significantly if we can use fewer frames
with large MTUs.
2021-04-11 01:08:11 +02:00
Benjamin Valentin
44fa20dcc0 examples/suit_update: add LinkHeader dependency
Aiocoap requires the LinkHeader package to be installed.
2021-04-11 01:08:11 +02:00
Francisco Molina
cf9b95fc1d
examples/suit_update: use aiocoap >= 0.4.1 2021-04-09 08:56:55 +02:00
87a382aa5e
examples/suit_update: move to test-with-config 2021-01-25 21:10:07 +01:00
Bas Stottelaar
74e1ac29ac tests: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
Bas Stottelaar
6fc50c9d0d examples: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
8aae7f165f
Merge pull request #15700 from aabadie/pr/tools/suit_fix_deps
tools/suit/manifest-generator: fix dependencies in setup.py
2021-01-05 14:27:52 +01:00
f5816b0c07
examples/suit_update: extend test with suit shell command 2020-12-31 15:30:31 +01:00
bb9e66af94
examples/suit_update: fix typo in README 2020-12-30 15:47:09 +01:00
fb80ad5317
examples/suit_update: fix python dependencies in README 2020-12-30 15:18:10 +01:00
Benjamin Valentin
c27ea1afa1 examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
4d8ca6a2e1
Merge pull request #15395 from fjmolinas/pr_suit_interactive_test
examples/suit_update: use interactive sync in test
2020-11-17 13:57:53 +01:00
Francisco Molina
2e4268f198
examples/suit_update: use interactive sync in test 2020-11-16 12:06:29 +01:00
Leandro Lanzieri
c068f13ba2
Merge pull request #15234 from akshaim/PR_PKTBUF_Bug
Kconfig/pktbuf :  Fix check for "CONFIG_GNRC_PKTBUF_SIZE"
2020-11-11 09:34:19 +01:00
emmanuelsearch
7d0d5eae61 examples/suit_update: update IETF draft reference 2020-11-10 10:04:01 +01:00
9d7a2508c2
examples/suit: Adapt test script to storage changes 2020-10-27 09:49:08 +01:00
Akshai M
977390f7f9 Kconfig/pktbuf : Fix check for "CONFIG_GNRC_PKTBUF_SIZE" 2020-10-16 16:02:03 +05:30
Benjamin Valentin
f34f970503 examples: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
3cf082d59b
Merge pull request #15110 from bergzand/pr/suit/storage_backend
SUIT: Introduction of a payload storage API for SUIT manifest payloads
2020-09-30 22:47:33 +02:00
edeffdcd54
suit: Adapt manifest handling to use common storage backend 2020-09-30 14:32:27 +02:00
a3cf779866
examples: exclude nucleo-g431rb where it doesn't fit 2020-09-29 14:09:47 +02:00
46fc0d2694
examples: exclude nucleo-g071rb where necessary 2020-09-25 15:20:15 +02:00
Martine S. Lenders
4696a773de
examples / tests: pull in sock API not implementation 2020-09-07 08:45:25 +02:00
Benjamin Valentin
d5690ee4cd boards/e104-bt5010a-tb: add support for the E104-BT5010A Test Board
This adds support for the nRF52810 based E104-BT5010A break-out board.
2020-08-25 22:51:10 +02:00
f08f582f1a tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
5ccbaada02
examples: exclude nucleo-g070rb where the firmware doesn't fit in memory 2020-07-21 12:45:25 +02:00