1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

1037 Commits

Author SHA1 Message Date
Javier FILEIV
1c867a961d examples: add example for paho-mqtt package 2020-07-05 19:10:41 +02:00
Cenk Gündoğan
7aa499d5f1 make: use $(MAKE) instead of direct make call 2020-07-03 12:03:06 +02:00
Leandro Lanzieri
192737948d
Merge pull request #12975 from miri64/posix/feat/select
posix: initial import of select() function (only support sockets for now)
2020-07-02 09:37:55 +02:00
Martine Lenders
71f1310639
Merge pull request #14408 from fjmolinas/pr_lora_tests
tests-examples: ci blacklist lora tests
2020-07-01 22:32:22 +02:00
Martine S. Lenders
fa9371d177
examples: add posix_select example 2020-07-01 18:10:26 +02:00
799ee40ea7
Merge pull request #13866 from benpicco/pkg/fs_params
pkg/fs: set VFS params by fs, not by the application
2020-07-01 14:19:00 +02:00
Francisco Molina
6263ee1b6f
tests-examples: ci blacklist lora tests 2020-07-01 12:20:26 +02:00
Leandro Lanzieri
4cfa25f921
Merge pull request #11915 from fjmolinas/pr_loramac_tests
release/11-lorawan: add tests to target applications
2020-07-01 10:12:41 +02:00
Francisco Molina
9e130be8a8
examples/lorawan: add automatic test 2020-07-01 09:08:07 +02:00
chrysn
346093c290 usb: Move Kconfig/Makefile merging into main Makefile.include
This allows the check for test IDs to run independently of the
configuration source, and provides a canonical point for the
configurable (and tested) Makefile variable to enter CFLAGS.
2020-06-30 10:51:37 +02:00
chrysn
250f6fdfa3 usb: Warn on test-ID usage in a unified location
This

* renames DEFAULT_xID to USB_xID_TESTING as it is not really a default
  (if anyting, the 7D00 is, and it's not that)
* moves the check into Makefile
* generalizes the check to all test PID/VID pairs
  * in doing so, fixes the "or" (which would have ruled out warning-free
    use of an allocated pid.codes number), and compares to the actual
    testing PID rather than the RIOT-peripheral PID
* removes all occurrences of duplicated checks in examples or tests,
  leaving definitions only where they are needed
* moves the Kconfig defaults of the usbus_minimal example into the main
  Kconfig, as these are good defaults for all cases when USB is enabled
  manually

Closes: https://github.com/RIOT-OS/RIOT/issues/12273
2020-06-30 10:51:36 +02:00
ead8b80cb9
examples/lua*: adapt to the blob mechanism 2020-06-23 08:45:20 +02:00
benpicco
cbda988e50
Merge pull request #14314 from aabadie/pr/boards/dwm1001
boards/dwm1001: add support to Decawave DWM1001 dev board
2020-06-21 23:42:29 +02:00
9d898bc605
examples/default: add dwm1001 to boards providing netif 2020-06-19 13:48:51 +02:00
Martine Lenders
782d76d2a2
Merge pull request #14267 from fengelhardt/feature_posix_sockets_netif
posix_sockets: use sin6_scope_id of struct sockaddr_in6
2020-06-19 12:32:19 +02:00
M Aiman Ismail
2e16b90b38 tinydtls_sock_dtls: save session information after data decrypted 2020-06-18 14:04:51 +02:00
Benjamin Valentin
0263243ee1 examples/filesystem: don't set VFS params by the application 2020-06-17 15:58:33 +02:00
Kees Bakker
0965cc75be examples/lua_REPL: add sodaq-sara-sff to BOARD_INSUFFICIENT_MEMORY 2020-06-15 21:57:53 +02:00
Frank Engelhardt
76cdc1b4d8 examples/posix_sockets: parse ipv6 interface id 2020-06-15 11:23:46 +02:00
Akshai M
6450d9989e gnrc/pktbuf : Set Kconfig defaults and conditions
Set Kconfig defaults for CPU and conditions to avoid
conflict with CFLAGS

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-11 14:47:27 +05:30
Akshai M
5523d119b6 gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_' 2020-06-11 14:46:36 +05:30
Marian Buschsieweke
19bfb086ad
examples/lua_REPL: Add wemos-zero to Makefile.ci 2020-06-05 17:20:18 +02:00
eee5bf178d
Merge pull request #13993 from benpicco/examples/filesystem-fatfs
examples/filesystem: add support for fatfs on SD card
2020-05-26 19:20:47 +02:00
Benjamin Valentin
ccdbbfa53c examples/filesystem: add support for fatfs 2020-05-26 16:22:31 +02:00
Martine Lenders
e011e3ed38
Merge pull request #14043 from pokgak/pr/sock_dtls/send_api_change
sock_dtls: add timeout to sock_dtls_send and add sock_dtls_session_init
2020-05-22 14:33:54 +02:00
Aiman Ismail
fe5272b885 examples/dtls-sock: use new session init workflow 2020-05-22 14:06:12 +02:00
Benjamin Valentin
9ada10609f examples/filesystem: add support for SD card as MTD backend 2020-05-20 11:58:11 +02:00
Benjamin Valentin
cddb929d0c boards/serpente: add serpente board
See https://serpente.solder.party
2020-05-20 10:39:38 +02:00
73fe9b9ed8
Merge pull request #13160 from bergzand/pr/filesystems/newline_after_cat
examples/filesystem: include fflush in `cat` command
2020-05-19 16:37:21 +02:00
898c6a758e
examples/filesystem: include newline in cat command 2020-05-19 11:45:15 +02:00
Aiman Ismail
7f883f4098 sock_dtls: add timeout to sock_dtls_send() 2020-05-18 09:45:14 +02:00
Leandro Lanzieri
02b10105c1
gnrc/rpl: Move GNRC_RPL_DODAG_CONF_OPTIONAL_ON_JOIN to 'CONFIG_' 2020-05-14 15:56:59 +02:00
Martine S. Lenders
3cb746a587
examples/emcute: set GNRC_NETIF_SINGLE
The shell command offers no capability to parse the outgoing network
interface in the gateway host, so link-local addresses are not usable
with this example without this patch.
2020-05-12 16:15:02 +02:00
Juergen Fitschen
4741b30eff examples/gnrc_lorawan: fixed README 2020-05-09 20:21:55 +02:00
Francisco
919249f361
Merge pull request #13862 from maribu/extra_boards
Makefile*: Allow multiple external board dirs
2020-04-29 20:12:06 +02:00
Marian Buschsieweke
b0964675f1
tests,examples: Use EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Benjamin Valentin
4ed97c75e7 examples/gnrc_border_router: don't ignore ETHOS_BAUDRATE
`ETHOS_BAUDRATE` must be a parameter to `start_network.sh`.
This must have been lost during refactoring.
2020-04-24 23:15:20 +02:00
Ken Bannister
c267633d74 examples/gcoap: add ability to generate CoAP ping request 2020-04-17 08:15:20 -04:00
Leandro Lanzieri
a5ba4aef7f
Merge pull request #13888 from kb2ma/gcoap_cli/fix_variable_scope
examples/gcoap: fix variable scope
2020-04-17 13:57:21 +02:00
Ken Bannister
19ecbb0eba examples/gcoap: fix statement formatting 2020-04-17 07:07:20 -04:00
Ken Bannister
937ffaf1e9 examples/gcoap: fix reference to variable out of scope 2020-04-17 07:05:13 -04:00
Benjamin Valentin
5ec8a582f9 examples/gnrc_border_router: make SLIP use host-tools 2020-04-16 23:59:31 +02:00
Leandro Lanzieri
89bea02702
examples/usbus_minimal: Do not run Kconfig by default 2020-04-08 17:37:06 +02:00
14706d7423
Merge pull request #13243 from leandrolanzieri/pr/kconfig_migrate/net/nanocoap
net/nanocoap: Expose configurations to Kconfig
2020-04-08 10:51:54 +02:00
239e0806b8
examples/default: add arduino-nano-33-ble to netif list 2020-04-08 09:59:22 +02:00
96cf9ac754
examples/default: add adafruit-clue to netif boards 2020-04-08 09:35:08 +02:00
Leandro Lanzieri
4052c01e85
net/nanocoap: Move NANOCOAP_URI_MAX to 'CONFIG_' namespace 2020-04-07 17:00:53 +02:00
Leandro Lanzieri
ca17f0a6dd
examples/wakaama: Improve README 2020-04-07 16:29:01 +02:00
Leandro Lanzieri
a3f9b2b5b4
pkg/wakaama: Move LWM2M_TLSF_BUFFER to 'CONFIG_' namespace 2020-04-07 16:29:00 +02:00
Leandro Lanzieri
d6b4cde03e
pkg/wakaama: Move client mode flag to package
As the only implementation available in RIOT of LwM2M is the client, it
makes no sense to set this flag in every application.
2020-04-07 16:28:59 +02:00
Leandro Lanzieri
e2325ddba4
examples/wakaama: Configure server only if not set by Kconfig 2020-04-07 16:28:59 +02:00
Leandro Lanzieri
c392a4ad34
pkg/wakaama: Move configurations to 'CONFIG_' namespace
Macros that changed:
LWM2M_STANDARD_PORT -> CONFIG_LWM2M_STANDARD_PORT
LWM2M_DTLS_PORT -> CONFIG_LWM2M_DTLS_PORT
LWM2M_BSSERVER_PORT -> CONFIG_LWM2M_BSSERVER_PORT
LWM2M_LOCAL_PORT -> CONFIG_LWM2M_LOCAL_PORT
LWM2M_DEVICE_NAME -> CONFIG_LWM2M_DEVICE_NAME
LWM2M_DEVICE_TTL -> CONFIG_LWM2M_DEVICE_TTL
LWM2M_SERVER_URI -> CONFIG_LWM2M_SERVER_URI
LWM2M_SERVER_ID -> CONFIG_LWM2M_SERVER_ID
LWM2M_ALT_PATH -> CONFIG_LWM2M_ALT_PATH
LWM2M_BOOTSTRAP -> CONFIG_LWM2M_BOOTSTRAP
LWM2M_DEVICE_MANUFACTURER -> CONFIG_LWM2M_DEVICE_MANUFACTURER
LWM2M_DEVICE_MODEL -> CONFIG_LWM2M_DEVICE_MODEL
LWM2M_DEVICE_SERIAL -> CONFIG_LWM2M_DEVICE_SERIAL
LWM2M_DEVICE_FW_VERSION -> CONFIG_LWM2M_DEVICE_FW_VERSION
LWM2M_DEVICE_BINDINGS -> CONFIG_LWM2M_DEVICE_BINDINGS
LWM2M_DEVICE_TYPE -> CONFIG_LWM2M_DEVICE_TYPE
LWM2M_DEVICE_HW_VERSION -> CONFIG_LWM2M_DEVICE_HW_VERSION
LWM2M_DEVICE_SW_VERSION -> CONFIG_LWM2M_DEVICE_SW_VERSION
LWM2M_WITH_LOGS -> CONFIG_LWM2M_WITH_LOGS
2020-04-07 16:28:55 +02:00
Martine Lenders
fc5704d814
examples/gnrc_border_router: use 64-bit prefix with UHCP 2020-04-07 14:28:16 +02:00
Benjamin Valentin
e83409b8c0 examples/gnrc_border_router: allow to configure more than one ZEP device
Native supports multiple ZEP devices, so add a config option for it to
gnrc_border_router.

This allows for easier testing of border routers with multiple interfaces.
2020-04-05 01:14:03 +02:00
benpicco
f6eacda9f8
Merge pull request #13609 from miri64/dhcpv6-pd_ia/feat/initial
dhcpv6-pd_ia: initial import of a DHCPv6 server bootstrapper
2020-04-03 20:40:38 +02:00
Martine S. Lenders
74b34c2a03
examples: bootstrap host-side DHCPv6 server with gnrc_border_router 2020-04-03 17:47:39 +02:00
Leandro Lanzieri
a77d0dd9c5
gnrc/nib: Move GNRC_IPV6_NIB_OFFL_NUMOF to 'CONFIG_' namespace 2020-03-31 18:07:13 +02:00
Leandro Lanzieri
07771de08f
gnrc/nib: Move GNRC_IPV6_NIB_NUMOF to 'CONFIG_' namespace 2020-03-31 18:07:11 +02:00
Leandro Lanzieri
ce931f179c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_SLAAC to 'CONFIG_' namespace
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +02:00
Cenk Gündoğan
7cda842a00 examples/gcoap: add handling of proxied requests 2020-03-28 14:50:51 +01:00
Martine Lenders
bc20360d34
examples/gnrc_border_router: add sock_dns as a comment
Alternative to https://github.com/RIOT-OS/RIOT/pull/13732
2020-03-27 10:59:33 +01:00
Jose Alamos
781a0a3931 gnrc_minimal: set GNRC_NETIF_SINGLE 2020-03-26 14:19:03 +01:00
Jose Alamos
e451570219 gnrc_netif: remove GNRC_NETIF_NUMOF macro 2020-03-26 11:12:23 +01:00
Leandro Lanzieri
877db8c00e
Merge pull request #13557 from gschorcht/doc/fix_url
doc: fix broken links
2020-03-24 13:08:18 +01:00
Gunar Schorcht
561a88b54c examples/emcute_mqttsn: fix broken links 2020-03-24 10:38:40 +01:00
János Brodbeck
201f599064 examples/gnrc_border_router: remove never defined USE_SLIP variable 2020-03-23 17:47:43 +01:00
ebca569e71
examples/lua*: exclude nucleo-l412kb 2020-03-20 18:50:30 +01:00
ffb377523a
examples/javascript: exclude nucleo-l412kb 2020-03-20 18:50:19 +01:00
87409b4c20
examples/suit_update: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
7d0c475113
Merge pull request #13486 from bergzand/pr/suit/ietf_v3
SUIT: Update to draft-ietf-v3
2020-03-20 14:44:29 +01:00
benpicco
5435792034
Merge pull request #12277 from benemorius/pr/kw41zrf
drivers: add kw41zrf
2020-03-20 00:49:56 +01:00
benpicco
16f55475bf
Merge pull request #13545 from benpicco/esp-now-br
examples/gnrc_border_router: add example for WiFi ⇆ esp_now border router
2020-03-19 23:56:24 +01:00
Joakim Nohlgård
9f81ab195c examples/default: Add kw41z boards to netif boards list 2020-03-19 17:02:54 -05:00
Benjamin Valentin
e73f6454ed examples/gnrc_border_router: update README.md 2020-03-19 23:01:44 +01:00
1d1d5b6f0d
examples/suit: Refactor to draft ietf-v3
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
Benjamin Valentin
31245849fb examples/gnrc_border_router: add example for WiFi <-> esp_now BR
This adds an example configuration to use the gnrc_border_router to route
between a regular WiFi network and an esp_now network.

All you need is an esp based board (esp8266, esp32).

Configure the access data for your WiFi network in `Makefile.esp.conf`,
then run

    make BOARD=esp32-wroom-32 USE_ETHOS=0 USE_ESP=1 flash term

to turn a e.g. `esp32-wroom-32` into a boarder router.

You can use other esp based boards as nodes in the network by flashing
e.g. the `gnrc_networking` example.
Be sure to add `CFLAGS += -DGNRC_IPV6_NIB_CONF_SLAAC=1` as otherwise
your esp_now node will not receive a link-local IP address.
2020-03-19 22:55:39 +01:00
francisco
55b11b7925
boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
Gunar Schorcht
e4978e65c4 examples/ndn_ping: fix problem with NDEBUG 2020-03-12 13:32:22 +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
benpicco
6f7293d7c3
Merge pull request #13559 from aabadie/pr/sys/crypto_modules_rework
sys/crypto: define cipher using a module instead of CFLAGS
2020-03-09 19:41:27 +01:00
Aiman Ismail
e0a02705b2 examples/dtls-sock: change unsupported %zd to %d 2020-03-09 15:08:52 +01:00
benpicco
2cc3d386fd
Merge pull request #13572 from miri64/sliptty/enh/global-addr
sliptty/start_network.sh: configure global address for SLIP interface
2020-03-08 15:04:45 +01:00
Martine Lenders
0bd58bd624
examples: use slip-only option with DHCPv6 for border router 2020-03-08 14:44:50 +01:00
Martine Lenders
c30f83ac3b
Merge pull request #13579 from jia200x/pr/gnrc_netif_send
gnrc_netif_send: add send function
2020-03-06 20:07:45 +01:00
bba96a1cd5
examples/gnrc_lorawan: use crypto_aes module instead of CFLAGS 2020-03-06 19:49:58 +01:00
Leandro Lanzieri
1ee1a4f817
Merge pull request #12992 from pokgak/pr/kconfig_migrate/tinydtls
Kconfig: Expose pkg/tinydtls configurations
2020-03-06 15:29:56 +01:00
Jose Alamos
6143cd800b gnrc_netif: use gnrc_netif_send where possible 2020-03-06 15:22:58 +01:00
Martine S. Lenders
3db895a932
examples: remove unnecessary slipdev_params.h 2020-03-06 08:58:45 +01:00
Martine S. Lenders
f847cde5f7
examples: adapt border router example for slipdev_stdio 2020-03-06 08:58:45 +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
benpicco
935e42cb2a
Merge pull request #13484 from miri64/examples/cleanup/border-router-conf
examples/gnrc_border_router: move module specific config to extra Makefile
2020-03-03 22:47:44 +01:00
Martine S. Lenders
9cadd5569f
gnrc_border_router: move module specific config to extra Makefile
This aims to make the main Makefile more accessible for new users.
2020-03-03 18:24:46 +01:00
7da87a7db5
examples/dtls-wolfssl: cleanup output messages 2020-02-28 08:23:43 +01:00
Martine Lenders
ec6c07d35d
Merge pull request #13424 from miri64/examples/enh/dhcpv6-br
examples/gnrc_border_router: add optional DHCPv6 support
2020-02-25 20:08:31 +01:00
Martine S. Lenders
a0b0724f76
examples/gnrc_border_router: add optional DHCPv6 support 2020-02-20 16:42:19 +01:00
Martine S. Lenders
fc7b2b0760
examples/gnrc_border_router: remove trailing whitespaces in README 2020-02-20 16:37:32 +01:00
Sören Tempel
0e2a620788 gnrc_tftp: remove module
Has been deprecated for awhile (01fc3d8f0b).
2020-02-20 12:04:01 +01:00
Leandro Lanzieri
b0df1c57ce
Merge pull request #13384 from jia200x/gnrc_lorawan_fix
examples/gnrc_lorawan: set RX2 DR to 3 only for ABP
2020-02-14 15:12:12 +01:00
Jose Alamos
0d26b367d0 examples/gnrc_lorawan: set RX2 DR to 3 only for ABP 2020-02-14 14:00:30 +01:00