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

106 Commits

Author SHA1 Message Date
Benjamin Valentin
83569aa558 suit: move CoAP endpoints to the example
Those endpoints are very specific to the example and not
useful for general use.

Move them to the example's CoAP endpoints.
2024-11-26 19:49:20 +01:00
Marian Buschsieweke
2b6f65a08a
build_system/xfa: change API to fix alignment
This changes the API of xfa from

    XFA(array_name, prio) type element_name = INITIALIZER;

to

    XFA(type, array_name, prio) element_name = INITIALIZER;

this allows forcing natural alignment of the type, fixing failing tests
on `native64`.
2024-11-07 16:30:01 +01:00
Marian Buschsieweke
d5839ca190
examples,tests: Bump Makefile.ci for MSP430 boards 2024-05-07 07:57:41 +02:00
Marian Buschsieweke
4b3308cdef
Merge pull request #20357 from maribu/cpu/msp430/usci
cpu/msp430/f2xx: clean up periph_uart,periph_spi
2024-03-27 19:57:47 +00:00
Marian Buschsieweke
10ee192afc
examples,tests: bump Makefile.cis
Ran `dist/tools/insufficient_memory/update_insufficient_memory_board.sh`
for both `z1` and `olimex-msp430-h2618`.
2024-03-27 18:54:07 +01:00
Benjamin Valentin
3062d43a1d examples/suit_update: make use of nanocoap_server_auto_init 2024-02-12 18:23:54 +01:00
Benjamin Valentin
07152de04c examples/suit_update: make use of nanocoap_resources 2024-02-12 15:35:49 +01:00
Frederik Haxel
5ed0bafc92 examples, tests: Changes for the native64 board
- Adapted build system and test checks for the native boards to include native64
- Added `native64` to the same tests as `native`
2024-02-05 22:02:14 +01:00
benpicco
4ea27d4c13
Merge pull request #20300 from jparker324/stm32c0_and_nucleo_c031c6
cpu/stm32: add support for STM32C0 and NUCLEO-C031C6
2024-01-31 15:09:25 +00:00
Jason Parker
a2f4a13beb boards/nucleo-c031c6 initial add 2024-01-30 10:11:57 -05:00
Marian Buschsieweke
66abbd22d6
examples,tests: add gd32vr103c-start to Makefile.ci 2024-01-20 17:00:04 +01:00
Gunar Schorcht
4591cebeef boards/sipeed-longan-nano-tft: blacklist in tests and examples 2023-08-06 12:56:36 +02:00
a622c88105 examples/suit_update: fix redundant check in test script 2023-05-22 12:56:49 +02:00
6f00380cc3 examples/suit_update: fix "suit_coap" -> "suit_worker" in test 2023-05-22 12:56:48 +02:00
a2ef123889 examples/suit_update: add delay before getting address of device
Without this delay, the logic skips a tentative ("TNT") address, and
then times out later trying to talk to `fe80::2`.
2023-05-22 12:39:10 +02:00
Gunar Schorcht
ea613096f5 examples/suit_update: blacklist GD32V boards 2023-04-18 06:20:14 +02:00
Benjamin Valentin
cc1d48aaf1 examples/suit_update: add missing include 2023-03-10 02:23:55 +01:00
Benjamin Valentin
fc8b20e4e9 examples/suit_update: improve default module selection 2023-03-10 02:23:51 +01:00
Marian Buschsieweke
7e58bea1bd
examples,tests: Update Makefile.cis 2023-02-27 12:31:04 +01:00
Benjamin Valentin
f3aa2ac42e examples/suit_update: enable suit command 2023-02-21 17:34:29 +01:00
Marian Buschsieweke
d2a3ff3d83
boards/{bluepill*,blackpill*}: rename and improve doc
- renamed:
    - `bluepill` --> `bluepill-stm32f103c8`
    - `bluepill-128kib` --> `bluepill-stm32f103cb`
    - `blackpill` --> `blackpill-stm32f103c8`
    - `blackpill-128kib` --> `blackpill-stm32f103cb`
- doc:
    - added link to corresponding hardware page on the STM32-base
      project
    - added picture
2023-01-02 16:23:10 +01:00
Gunar Schorcht
23ccbb5786 examples/suit: blacklist blxxxpill boards due to insufficient memory 2022-11-30 19:28:14 +01:00
benpicco
e18bc193fc
Merge pull request #18551 from benpicco/suit_worker_cleanup
suit: start worker thread on demand, make suit_handle_url() public
2022-11-30 11:42:25 +01:00
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Benjamin Valentin
15a43f28f2 suit: start worker thread on demand 2022-09-05 07:46:56 +02:00
Benjamin Valentin
f95d577245 suit: make use of worker functions 2022-09-03 23:25:01 +02:00
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