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

47 Commits

Author SHA1 Message Date
Benjamin Valentin
312a550f1a treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
Leandro Lanzieri
6d9a9a35a7
examples/dtls-sock: cleanup credentials 2024-03-19 07:49:56 +01:00
Leandro Lanzieri
f2b6d28551
examples/dtls-sock: add public key verification 2024-03-19 07:49:56 +01:00
Marian Buschsieweke
3f57b8cef7
examples/dtls-sock: fix credman capacity
It should be possible to test DTLS via `::1`, but this requires 4
slots in the credman instead of just two.
2024-02-15 12:28:48 +01:00
Benjamin Valentin
85cfcafdf6 boards/weact-g030f6: add new board 2024-02-05 00:45:42 +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
Benjamin Valentin
f723f13641 examples/dtls-sock: re-use handshake buffer 2024-01-11 17:43:36 +01:00
Benjamin Valentin
4085b7f8a1 examples/dtls-sock: make use of helper functions 2024-01-11 17:42:45 +01:00
Marian Buschsieweke
75512d5d9a
Merge pull request #20196 from fzi-haxel/pr/enable_dtls_sock_example_for_non_32
examples/dtls-sock: Enable non 32-bit architectures
2023-12-30 00:18:00 +00:00
Marian Buschsieweke
181f96532a examples/dtls-sock: Bump stack size even more on AVR 2023-12-29 12:23:37 +01:00
Marian Buschsieweke
ed4b777b29
examples/dtls-sock: fix error handling in client
Not closing a stack allocated socket before going out of scope of the
allocation is something to avoid. This fixes crashes at runtime
when adding the credentials fails.
2023-12-27 21:55:17 +01:00
Frederik Haxel
314dbf15b9 examples: Use size_t print format specifier
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:34 +01:00
Frederik Haxel
18c9f3c14e examples/dtls-sock: Enable non 32-bit architectures 2023-12-19 13:33:18 +01:00
Benjamin Valentin
81dfcc253d examples: update Makefile.ci where tinyDTLS is used 2023-04-26 10:31:09 +02: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
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
d5e184b326
examples: tests: update Makefile.ci with stm32f7508-dk
This commit also makes some cleanup in the files since add_insufficient_memory_board.sh was used for the update
2022-04-15 12:51:58 +02:00
Karl Fessel
9a2ccd51f4 examples: add missing includes
thread.h
    gnrc/netif.h
2022-02-28 14:53:08 +01:00
Dave VanKampen
55ea8cfb97 boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
Benjamin Valentin
9a6fc85b16 treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
Leandro Lanzieri
cff9a547af
examples/dtls-sock: add multiple credentials 2021-04-01 09:47:39 +02:00
Jean Pierre Dudey
2bca4d3ac3 boards: add cc1350-launchpad
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Benjamin Valentin
4f587bedb5 examples: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
Bas Stottelaar
6fc50c9d0d examples: add to BOARD_INSUFFICIENT_MEMORY 2021-01-06 23:44:54 +01:00
Benjamin Valentin
f35b5dbed9 examples: add samd10-xmini to Makefile.ci 2020-12-11 18:25:36 +01:00
Benjamin Valentin
5f4afe12f1 examples, tests: add e104-bt5010a-tb to Makefile.ci 2020-12-01 18:29:08 +01:00
Benjamin Valentin
c27ea1afa1 examples, tests: add e104-bt5011a-tb to Makefile.ci 2020-12-01 18:28:41 +01:00
Gilles DOFFE
631e882844 tests: examples: remove stm32mp157c-dk2 for mem leak
stm32mp157c-dk2 has not enough memory to build this apps.
However as the stm32mp157xx cpu line has no flash, a part of RAM
is considered as ROM. Thus ROM size could be extend to suit this
apps needs.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Bas Stottelaar
1afeff7497 examples/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
13e56b3e3e
examples: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
Benjamin Valentin
f34f970503 examples: add stk3200 to Makefile.ci 2020-10-06 16:43:47 +02:00
Martine S. Lenders
4696a773de
examples / tests: pull in sock API not implementation 2020-09-07 08:45:25 +02:00
Leandro Lanzieri
531367a9a2
pkg/tinydtls: enforce the selection of a crypto secure PRNG
Also add a sanity checks on the prng_ modules.
2020-08-21 08:39:34 +02:00
M Aiman Ismail
2e16b90b38 tinydtls_sock_dtls: save session information after data decrypted 2020-06-18 14:04:51 +02:00
Aiman Ismail
fe5272b885 examples/dtls-sock: use new session init workflow 2020-05-22 14:06:12 +02:00
Aiman Ismail
7f883f4098 sock_dtls: add timeout to sock_dtls_send() 2020-05-18 09:45:14 +02:00
francisco
55b11b7925
boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
benpicco
008faef16a
Merge pull request #13581 from Scallog/olimexino-stm32-support
boards/olimexino-stm32: add support for olimexino-stm32 board
2020-03-11 11:40:53 +01:00
Corentin 'Kmikaz' Vigourt
54cafc5125 boards/olimexino-stm32: add support for olimexino-stm32 board 2020-03-11 10:59:57 +01:00
Aiman Ismail
e0a02705b2 examples/dtls-sock: change unsupported %zd to %d 2020-03-09 15:08:52 +01:00
Aiman Ismail
d5b2aa8a2f pkg/tinydtls: Move configurations to 'CONFIG_' namespace
Macros that changed:
DTLS_PSK -> CONFIG_DTLS_PSK
DTLS_ECC -> CONFIG_DTLS_ECC (except in release-notes.txt)
DTLS_CONTEXT_MAX -> CONFIG_DTLS_CONTEXT_MAX
DTLS_PEER_MAX -> CONFIG_DTLS_PEER_MAX
DTLS_HANDSHAKE_MAX -> CONFIG_DTLS_HANDSHAKE_MAX
DTLS_SECURITY_MAX -> CONFIG_DTLS_SECURITY_MAX
DTLS_HASH_MAX -> CONFIG_DTLS_HASH_MAX
2020-03-05 19:11:38 +01:00
Jean Pierre Dudey
de50518146
cc26x2_cc13x2: use correct RAM value
Previous value was 20 K, now it's 80 K. The older family of these MCUs
(cc13x0, cc26x0) had that size, currently for cc13x2 and cc26x2 it's
80 K.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-10 18:38:15 -05:00
Aiman Ismail
24b42d192c examples/dtls-sock: remove TINYDTLS_LOG 2020-02-05 06:59:34 +01:00
Jean Pierre Dudey
633aa8cd41
boards: add cc1312-launchpad board.
This is mostly based on the cc1352-launchpad boards, is essentially the same
buttons and leds pins, what changes is the CCXML files used to flash with
`make flash` and the UART pins.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-19 11:36:31 -05:00
Sören Tempel
ab4e5df473 dtls-sock: check msg_try_receive return value 2019-12-09 14:17:09 +01:00
pokgak
57533a76fd examples: add DTLS sock example application 2019-12-05 14:08:54 +01:00