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

709 Commits

Author SHA1 Message Date
Hauke Petersen
0c5219f603 examples/cord_epsim: run registration loop locally
This commit rewrites the example so that the registration loop is
run inside the main() function instead of running the standalone
submodule of epsim. It also adapts the example application to
parse the RD UDP endpoint locally and provide this to epsim's
register() function.
2019-03-27 18:26:37 +01:00
Hauke Petersen
a4a513ca32 examples: add nimble_scanner example 2019-03-27 18:11:37 +01:00
Martine Lenders
43aaa758af examples: adapt BOARD_INSUFFICIENT_MEMORY of gnrc_networking 2019-03-27 10:33:21 +01:00
d5eda42b65
examples/default: add nrf52840-mdk to boards with netif 2019-03-23 13:41:02 +01:00
4cc9c8876f
examples/nimble_gatt: whitelist nrf52832-mdk 2019-03-20 14:41:26 +01:00
Martine Lenders
4ee4625f39
Merge pull request #10357 from jcarrano/posix_headers-module
sys/posix: make posix module provide only headers.
2019-03-20 14:07:12 +01:00
Juan Carrano
6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
Leandro Lanzieri
1885e1dd55 examples/nanocoap_server: Add echo resource and fix README 2019-03-17 14:26:11 +01:00
Marian Buschsieweke
e14bea1cf5
examples: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 13:58:45 +01:00
Ken Bannister
34e880499e examples/cord_ep: use coap_opt_finish() 2019-03-13 00:24:29 -04:00
Ken Bannister
682c1e9a7d examples/cord_epsim: use coap_opt_finish() 2019-03-13 00:24:29 -04:00
Ken Bannister
a8cbc19241 examples/gcoap: use coap_opt_finish() 2019-03-13 00:24:29 -04:00
Hauke Petersen
4e49fa5cc5 examples/nimble_gatt: drop build-in init calls 2019-03-07 16:47:13 +01:00
Hauke Petersen
0cca1769cc examples/nimble_gatt: unroll update_ad()
This static function was a leftover from very early stages of this
example and at the current state there is not sense in keeping it.
Having these few lines directly where the advertising is triggered
makes the code more clean and readible.
2019-03-07 16:46:00 +01:00
Hauke Petersen
51aa8fe407 examples/nimble_gatt: use gatt/gap svcs explicitly 2019-03-06 18:21:52 +01:00
Hauke Petersen
3f95575e55
Merge pull request #10465 from HendrikVE/pr/extend_nimble_gatt_example
examples/nimble_gatt: extend application with ble characteristics
2019-03-06 14:57:37 +01:00
HendrikVE
b5dacb6534 examples/nimble_gatt: extend application with ble characteristics
Extend this application with 2 custom BLE characteristics. One is
read-only and returns a string including a random number and the
second one is writable. In addition, two characteristics for device
information were added (model and manufacturer). Access to the
characteristics produces output on the terminal.
2019-03-04 17:28:19 +01:00
Semjon Kerner
3efeb8056e examples/default: add ieee802.15.4 radio support for all nrf52840 boards 2019-03-04 13:21:47 +01:00
bb8bdadd69
examples/lorawan: fix potential hang in example 2019-01-30 18:58:43 +01:00
af627606f0
Merge pull request #10836 from aabadie/pr/examples/bindist_cleanup
examples/bindist: cleanup and fix formatting in README
2019-01-22 11:22:52 +01:00
dc5aa2c1d4
examples/bindist: cleanup and fix formatting in README 2019-01-22 07:37:36 +01:00
Dylan Laduranty
eaa8d83c23 examples/*: add saml1*-xpro to BOARD_INSUFFICIENT_MEMORY 2019-01-21 17:11:05 +01:00
Ken Bannister
c191d52cba
Merge pull request #10779 from kb2ma/gcoap/cli_buffer_size
examples/gcoap: verify buffer size
2019-01-18 10:01:23 +00:00
Ken Bannister
f1b0827585 examples/gcoap: handle response buffer too small 2019-01-16 05:41:30 -05:00
Ken Bannister
8a1a2b41fb examples/gcoap: handle request buffer too small 2019-01-16 05:38:13 -05:00
Kees Bakker
01a170bf0e examples/asymcute_mqttsn: do normal assignment instead of memcpy 2019-01-10 19:43:44 +01:00
Marian Buschsieweke
3c88272ea3
examples/gnrc_networking: Fixed typo in Makefile 2019-01-10 13:59:02 +01:00
Rotzbua
cb5232a107 gcoap/example: add comment on resource order
according to nanocoap/example: fix resource order #9919
2019-01-08 23:14:58 +01:00
Ken Bannister
7e31ffc424 examples/nanocoap: use descriptive macro name 2019-01-04 19:44:11 -05:00
Martine Lenders
dd55c792c5
Merge pull request #10574 from haukepetersen/add_bluetil_ad
net/ble: add generic advertisement data (AD) processing helper
2018-12-27 19:30:43 +01:00
Ken Bannister
bd457aee2b net/nanocoap: fix includes for nanocoap sock 2018-12-20 00:37:18 -05:00
Hauke Petersen
d6d9d66972 examples/nimble_gatt: use bluetil_ad 2018-12-07 18:13:53 +01:00
1858db871d examples: exclude nrf51dk from big examples 2018-12-04 08:37:00 +01:00
Leandro Lanzieri
d53fbb0045 boards/sodaq-sara-aff: Initial support 2018-12-03 10:05:37 +01:00
Hauke Petersen
b603c298ef
Merge pull request #9156 from kb2ma/gcoap/use_opt_add_api
net/gcoap: Use nanocoap pkt/options API
2018-11-26 11:20:27 +01:00
Ken Bannister
424a01ddc1 net/gcoap: remove gcoap attributes from coap_pkt_t 2018-11-24 07:09:25 -05:00
Juan Carrano
64fcfff9e2 examples/javascript: Correctly declare dependency on script files.
Custom targets should be added to BUILDDEPS. Without this patch
`make -j clean all" fails because of weird race condition (trying
to clean while building is kind of contradictory anyways.)
2018-11-23 14:48:29 +01:00
Juan Carrano
b9fa2b5bf6 examples/lua_basic: Correctly declare dependency on script files.
Custom targets should be added to BUILDDEPS. Without this patch
`make -j clean all" fails because of weird race condition (trying
to clean while building is kind of contradictory anyways.)
2018-11-23 14:48:29 +01:00
Juan Carrano
16261a2f7c examples/lua_REPL: Correctly declare dependency on script files.
Custom targets should be added to BUILDDEPS. Without this patch
`make -j clean all" fails because of weird race condition (trying
to clean while building is kind of contradictory anyways.)
2018-11-23 14:48:21 +01:00
Lotte Steenbrink
ac2966cc28
Merge pull request #10260 from Lotterleben/examples_gnrc_net_fix_404s
examples/gnrc_networking/README.md: fix 404s
2018-11-22 12:34:51 +01:00
Lotte Steenbrink
ea18d6ecab examples/gnrc_networking/README.md: fix 404s 2018-11-22 00:11:50 +01:00
Martine Lenders
897e688194 examples: activate gnrc_icmpv6_error for gnrc_networking 2018-11-16 17:39:17 +01:00
Hauke Petersen
f829887f18 examples/nimble_gatt: simplify example 2018-11-08 14:40:52 +01:00
Hauke Petersen
54419f07e9 examples/nimble_gatt: (void) rt variables 2018-11-08 14:10:58 +01:00
Francisco Acosta
dd3ca90e8a examples, tests: add memory insufficient arduino boards
The unification of a bigger stack for the atmega platforms
makes some boards to not have enough memory to provide
the big stack plus the application code.

It is possible though, to override the stack size to a
smaller amount if running the test is necessary.
2018-11-02 17:57:13 +01:00
Ken Bannister
e059da7e0a example/nanocoap: fix block2 payload 2018-10-29 13:32:25 -04:00
Lotte Steenbrink
6ad781970c examples/gnrc_networking/README.md: trim lines with > 72 chars 2018-10-25 21:44:15 +02:00
Lotte Steenbrink
dd1c32c011 examples/gnrc_networking/README.md: add make reminder 2018-10-25 21:42:34 +02:00
José Alamos
372a729e21
Merge pull request #10070 from OTAkeys/pr/bump_littlefs_version
pkg/littlefs: bump version to v1.6.2
2018-10-18 14:35:55 +02:00
Hauke Petersen
34fa61d7db examples/rdcli: rename to cord_ep 2018-10-17 15:21:49 +02:00