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

2570 Commits

Author SHA1 Message Date
Francisco
a6f3bc9c3b
Merge pull request #16540 from fjmolinas/pr_nimble_tinycrypt
pkg/nimble: use tinycrypt pkg
2021-09-07 09:31:49 +02:00
Dylan Laduranty
633ddee360 pkg/uwb-core: don't pull unwanted dependencies for nRF9160
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:39 +02:00
Dylan Laduranty
ed655ab29b pkg/mynewt-core: don't pull unwanted dependencies for nRF9160
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:11 +02:00
Karl Fessel
672a34e2be
Merge pull request #16805 from kfessel/p-spelling-minor
doc: cleanup some minor spelling error found by codespell
2021-09-03 15:35:30 +02:00
Karl Fessel
42b191318a doc: cleanup some minor spelling error found by codespell 2021-09-03 13:02:08 +02:00
Martine Lenders
13cc189a8a
Revert "Remove which from shell invocations" 2021-09-03 11:27:03 +02:00
chrysn
6b50033766 makefiles: Replace which with command -v
As the POSIX documentation[1] of `command -v` guarantees that on error
there will be no output (and there will be output in the other cases),
the tests in Makefiles were simplified to test for output equality to
the empty string.

Redirects swallowing error outputs were removed, as the command produces
no error output there (as recommended at [2]).

Existing uses of `command` are simplified as well.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[2]: https://salsa.debian.org/debian/debianutils/-/blob/master/debian/NEWS
2021-09-02 16:30:46 +02:00
Francisco
65d717f5a0
Merge pull request #16623 from fjmolinas/pr_riot_initialize_timers
pkg/nimble: have RIOT always initialize nimble timers
2021-09-02 08:54:53 +02:00
Francisco Molina
f4a3af4c44 pkg/mynewt-core/contrib: use same initializaion as Nimble for timers 2021-09-01 09:26:28 +02:00
Francisco Molina
ba3567ade6 pkg/nimble: have RIOT always initialize nimble timers 2021-09-01 09:14:47 +02:00
chrysn
de768b5d23
Merge pull request #16775 from chrysn-pull-requests/shell-make-fixes
makefiles: Sort >/dev/null and 2>&1
2021-08-27 10:37:51 +02:00
benpicco
0b69747389
Merge pull request #16023 from maribu/max_pdu_size
sys/net/netopt: Drop deprecated NETOPT_MAX_PACKET_SIZE
2021-08-26 14:40:18 +02:00
benpicco
149de73160
Merge pull request #16741 from benpicco/net_lwip_netif_get_name
pkg/lwip: implement netif_get_name()
2021-08-26 14:37:58 +02:00
Benjamin Valentin
b6b48535fb pkg/lwip: implement netif_get_name() 2021-08-26 13:20:24 +02:00
Benjamin Valentin
b3cda605a5 pkg/paho-mqtt: remove workaround for stm32 2021-08-25 18:42:40 +02:00
Benjamin Valentin
7cc19d19a0 pkg/ccn-lite: bump version 2021-08-25 18:42:40 +02:00
Benjamin Valentin
a586d1ba4c pkg/pkg.mk: allow for custom patch dir 2021-08-25 15:35:50 +02:00
Martine Lenders
be6115447e
Merge pull request #16364 from haukepetersen/add_nimble_rpble_pr
net/BLE: add support for RPL-over-BLE
2021-08-24 18:30:32 +02:00
chrysn
648e014184 makefiles: Sort >/dev/null and 2>&1
Redirecting `2>&1 >/dev/null` moves stderr to stdout first and then
stdout to /dev/null; when checking for command existence or otherwise
silencing output, this is usually not desired (but only starts producing
errors when the actual command fails, which is often not tested).
2021-08-24 14:41:54 +02:00
benpicco
16f7c94875
Merge pull request #16761 from benpicco/pkg/lwip/init_devs
pkg/lwip: add auto-init for DOSE & at86rf215, cc2538_rf
2021-08-24 12:16:14 +02:00
Hauke Petersen
42f033afb9 pkg/nimble: add RPL-over-BLE impl. (nimble_rpble) 2021-08-24 11:33:13 +02:00
Francisco Molina
fb3860dd05 pkg/nimble/autoadv: make AD flag optionnal
These fields can be omitted if all other FLAGS are 0 and the advertising
packets is not connectable, allowing for 3 extra bytes for advertisement
payload.

Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-24 09:12:58 +02:00
Francisco
8ca1520342
Merge pull request #16701 from fjmolinas/pr_nimble_scanner_set_duration
pkg/nimble/scanner: add function to set scan duration
2021-08-23 10:07:31 +02:00
Francisco
b6475b5370
Merge pull request #16699 from fjmolinas/pr_nimble_autoconn_slave_abort
pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
2021-08-23 10:06:34 +02:00
Erik Ekman
adccbc9f2a pkg/lwip: Fix compilation without IPv6
RIOT/pkg/lwip/init_devs/init.c:65:61: error: 'tcpip_6lowpan_input' undeclared (first use in this function)
     return netif_add_noaddr(netif, state, lwip_netdev_init, tcpip_6lowpan_input);
                                                             ^
2021-08-20 17:52:37 +02:00
Benjamin Valentin
5b83475ffe pkg/lwip: add auto-init for cc2538_rf 2021-08-20 16:48:25 +02:00
Benjamin Valentin
6d468f8044 pkg/lwip: add auto-init for at86rf215 2021-08-20 16:48:25 +02:00
Benjamin Valentin
b39390ed93 pkg/lwip: add auto-init for DOSE 2021-08-20 16:37:53 +02:00
Erik Ekman
9459dfaf68 pkg/lwip: Use XFA to initialize network interfaces 2021-08-20 14:58:29 +02:00
Erik Ekman
11f8ba89ae pkg/lwip: Move ethos to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
06dfcdd3fa pkg/lwip: Move socket_zep to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
9002da3d80 pkg/lwip: Move nrf802154 to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
1897b57d8e pkg/lwip: Move at86rf2xx to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
fff95fc882 pkg/lwip: Add 6lowpan helper, do auto init for mrf24j40 2021-08-20 14:57:37 +02:00
Erik Ekman
cdc8c35e13 pkg/lwip: Move stm32_eth to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
c631c0fddd pkg/lwip: Move sam0_eth to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
e8c5ff162a pkg/lwip: Move enc28j60 to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
fea0c8d453 pkg/lwip: Move atwinc15x0 to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
a18b24c7ed pkg/lwip: Move esp_wifi to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
c9116f5570 pkg/lwip: Move esp_eth to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
9a089d412b pkg/lwip: Set first netif as default
Set at create time, as all netifs will no longer be in one array.
2021-08-20 14:56:48 +02:00
Erik Ekman
2816ade5f8 pkg/lwip: Start rework of netif initialisation
Use separate files with auto_init
Proof of concept with only moving netdev_tap
2021-08-20 14:56:46 +02:00
Francisco Molina
4d01b3815f pkg/nimble/scanner: add function to set scan duration
Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-19 12:44:24 +02:00
benpicco
71953c984c
Merge pull request #16534 from jia200x/pr/detach_radio_hal_descriptor
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 18:15:51 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver 2021-08-18 15:24:10 +02:00
benpicco
64aac3a2b2
Merge pull request #16700 from fjmolinas/pr_mynewt_core_log_level
pkg/mynewt-core: change task start log level
2021-08-17 00:00:44 +02:00
Francisco
c1d28d69a7
Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP
lwip_tcp: fix build with DEVELHELP=0
2021-08-16 08:37:14 +02:00
Benjamin Valentin
5117da1cb0 lwip_tcp: fix build with DEVELHELP=0
If DEVELHELP is not set `LOCK_TCPIP_CORE()`/`UNLOCK_TCPIP_CORE()`
are not defined, leading to a build failure.

Defining them to no-op leads to a run-time segmentation fault, so
better always use those functions.
2021-08-15 12:50:33 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Francisco
c4df2cca51
Merge pull request #16708 from fjmolinas/pr_edhoc_c_bump
pkg/edhoc: bump version
2021-08-06 09:26:28 +02:00
Benjamin Valentin
9bce87d6da pkg/wakaama: don't modify result of uri_parser 2021-08-05 14:05:31 +02:00
Francisco Molina
3cc4a8ed15 pkg/edhoc: bump version
Bumps EDHOC-C version to fix broken state due to Nanocbor return
code values change.
2021-08-04 17:09:02 +02:00
Francisco Molina
fd63142ea2 pkg/mynewt-core: change task start log level 2021-08-03 11:31:01 +02:00
Francisco Molina
3361f92202 pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
When a connection is aborted and the node in question is a slave
then it can be advertising/scanning at the time. The incoming
event triggers the state to be changed to IDLE but ongoing adv/scan
which will cause 'nimble_netif_conn_start_adv' to fail to allocate
a handle as the netif will still be busy. Therefore when
stop scan/stop before switching the state.
2021-08-03 09:21:47 +02:00
Leandro Lanzieri
1d74a0341b
pkg/wakaama/common: return length when reading strings and opaques
This fixes the API to be able to return the read length of string and
opaque resources.
2021-07-30 09:45:20 +02:00
Leandro Lanzieri
113ae64a55
pkg/wakaama/common: fix lwm2m_set_objlink_by_path 2021-07-30 09:44:21 +02:00
Erik Ekman
e04da0d828 pkg/lwip: Lock core before calling netif_get_ip6_addr_match in sock 2021-07-15 15:46:10 +02:00
Erik Ekman
c50604b63c pkg/lwip: Add assert on incorrect thread usage 2021-07-15 15:46:10 +02:00
Leandro Lanzieri
9ca9efd15b
Merge pull request #16640 from jia200x/pr/revert/rx_symbol
net/lorawan: Revert #16604 and fix NETOPT_RX_SYMBOL_TIMEOUT documentation
2021-07-14 16:42:38 +02:00
Jose Alamos
6ffecfe8d6
Revert "pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
This reverts commit 79e194783c.
2021-07-13 21:14:19 +02:00
benpicco
2e7b111c9e
Merge pull request #16636 from yarrick/lwip_nefif
pkg/lwip: Fix DHCP autostart
2021-07-13 17:23:30 +02:00
Erik Ekman
4e01900108 pkg/lwip: Start DHCP on correct interface
Fix for #16229
2021-07-13 13:45:16 +02:00
Erik Ekman
c7d24f7912 pkg/lwip: Add patch to fix netif_is_flag_set macro
Had spelling mistake: `nefif` instead of `netif`.
2021-07-13 13:07:38 +02:00
Leandro Lanzieri
327da03314
pkg/wakaama/client_connection: cleanup
Use URI parser and common resource access functions.
2021-07-13 08:11:23 +02:00
Leandro Lanzieri
e0896afddc
pkg/wakaama: add functions to interact with resources 2021-07-13 08:11:23 +02:00
Leandro Lanzieri
bfc81ae967
pkg/wakaama/contrib: remove unneeded reference to security object 2021-07-13 08:11:22 +02:00
Leandro Lanzieri
fcd582eff2
pkg/wakaama: move sock_udp dependency to package 2021-07-13 08:11:20 +02:00
José Alamos
934c875aba
Merge pull request #16579 from akshaim/pr/wl55jc_lorawan_final
drivers/sx126x: Add support for Nucleo -WL55JC
2021-07-09 14:48:11 +02:00
Jose Alamos
084bcf3ea6
semtech-loramac: avoid explicit cast to netdev 2021-07-09 11:35:20 +02:00
Jose Alamos
513b13b8de
openwsn: avoid explicit cast to netdev 2021-07-09 11:35:17 +02:00
Jose Alamos
6e12cf34f8
openthread: avoid explicit cast to netdev 2021-07-09 11:35:17 +02:00
Jose Alamos
4e6f299af0
lwip: avoid explicit cast to netdev 2021-07-09 11:35:16 +02:00
Akshai M
29c392d52d drivers/sx126x : Uncrustify 2021-07-09 11:16:41 +02:00
Akshai M
8870a885cb drivers/sx126x : Add stm32wl variant 2021-07-09 11:16:41 +02:00
benpicco
46323cdaf3
Merge pull request #16624 from benpicco/pkg/tinydtls-bump
pkg/tinydtls: bump version
2021-07-08 16:00:11 +02:00
Hauke Petersen
3cc6c68ec4
Merge pull request #16602 from haukepetersen/opt_nimble_slotsize
pkg/nimble: configure BLE_LL_INIT_SLOT_SIZE to 1
2021-07-07 19:38:14 +02:00
Benjamin Valentin
def6bf0c03 pkg/tinydtls: bump version
This snapshot is as good as the last one, but it contains some bugfixes.
2021-07-07 15:43:28 +02:00
fe22ba428d
Merge pull request #16348 from fjmolinas/pr_pkg_mynewt_core
pkg/mynewt-core: initial commit
2021-07-07 10:55:53 +02:00
Francisco Molina
701891e7e3
pkg/nimble: allow using mynewt-core pkg 2021-07-06 14:52:26 +02:00
Francisco Molina
eb74b3ace6
pkg/uwb-core: use mynewt-core pkg 2021-07-06 14:52:25 +02:00
Francisco Molina
7b2debcbd8
pkg/uwb-dw1000: use mynewt-core pkg 2021-07-06 14:52:25 +02:00
Francisco Molina
0cdc5826fd
pkg/mynewt-core: initial commit 2021-07-06 14:52:24 +02:00
Francisco
daeac91aea
Merge pull request #16604 from jia200x/pr/lora/fix_rx_timeout_size
netdev/lora: fix size of NETOPT_RX_SYMBOL_TIMEOUT
2021-07-06 12:15:00 +02:00
Martine Lenders
b034ccaaa3
Merge pull request #16422 from janosbrodbeck/pr/tinydtls/reset_session
pkg/tinydtls: handling of close_notify
2021-07-06 00:25:20 +02:00
János Brodbeck
c016b843d6
pkg/tinydtls: destroy session after sending close notification 2021-07-05 23:45:20 +02:00
Jose Alamos
79e194783c
pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT 2021-07-01 11:59:22 +02:00
Hauke Petersen
46f6bf1987 pkg/nimble/netif: fix randomized conn intervals 2021-07-01 09:38:11 +02:00
Hauke Petersen
a5369b1b38 pkg/nimble: configure BLE_LL_INIT_SLOT_SIZE to 1 2021-07-01 08:58:34 +02:00
benpicco
863badf5c3
Merge pull request #16580 from bergzand/pr/pkg/nanocbor_bump
NanoCBOR: Bump version
2021-06-23 12:12:25 +02:00
dc2e1eb4d9
NanoCBOR: Bump version
Fixes a nasty bug when decoding an indefinite container inside a fixed
length container
2021-06-23 10:42:48 +02:00
José Alamos
20a04f0412
Merge pull request #16563 from jia200x/pr/wakaama/netif
pkg/wakaama: remove gnrc dependency
2021-06-22 18:08:56 +02:00
Jose Alamos
c8dbdd2685
pkg/wakaama: remove gnrc dependency 2021-06-22 16:12:05 +02:00
1011af27a1
Merge pull request #16566 from aabadie/pr/pkg/semtech-loramac-no-force-periph_rtt
pkg/semtech-loramac: don't force ztimer rtt backend
2021-06-17 18:09:31 +02:00
Martine Lenders
7cad799afe
Merge pull request #15468 from jia200x/pr/rh/rev.13.11
ieee802154/hal: adapt frame filter and source address matching changes
2021-06-17 16:18:57 +02:00
Hauke Petersen
c3c4b64f83 pkg/nimble/autoconn: allow conn interval range 2021-06-17 14:10:16 +02:00
Hauke Petersen
2a0f1ac634 pkt/nimble/statconn: use netifs rand conn intervals 2021-06-17 14:10:16 +02:00
Hauke Petersen
402bd20ec9 pkg/nimble/netif: use random connection intervals 2021-06-17 14:10:16 +02:00
581d78561e
pkg/semtech-loramac: don't force ztimer periph_rtt backend 2021-06-17 13:06:15 +02:00
Jose Alamos
7d14fb3571
ieee802154/hal: remove set_rx_mode 2021-06-17 10:07:43 +02:00
Jose Alamos
6d64b537ef
ieee802154/hal: remove set_hw_addr_filter 2021-06-17 10:07:43 +02:00
Francisco Molina
3e4e664071
ztimer: remove duplicate dependencies 2021-06-16 11:18:25 +02:00
Kevin "Tristate Tom" Weiss
0c06948373
Merge pull request #16552 from MrKevinWeiss/pr/fix/kconfigqdsa
pkg/qdsa: force qdsa to lowercase
2021-06-15 15:21:26 +02:00
MrKevinWeiss
0345f97962 pkg/qdsa: force qdsa to lowercase 2021-06-15 12:06:10 +02:00
Kevin "Tristate Tom" Weiss
adf228ae7c
Merge pull request #15664 from jia200x/pr/openthread/deprecate_jobs
pkg/openthread: deprecate ot_command related functions
2021-06-14 16:44:35 +02:00
Jose Alamos
6b6eb1cbd8
pkg/openthread: add doxygen documentation for calling OT API 2021-06-14 16:00:12 +02:00
Jose Alamos
d9c5d0a5cc
pkg/openthread: remove unused prototype 2021-06-14 16:00:12 +02:00
Jose Alamos
36c793ec52
pkg/openthread: deprecate ot_command related functions 2021-06-14 16:00:11 +02:00
benpicco
13eb3f05c5
Merge pull request #16542 from fjmolinas/pr_bump_libcose
pkg/libcose: bump version
2021-06-10 14:31:25 +02:00
Francisco Molina
9ca773ef11
pkg/libcose: fixup backend ducomentation 2021-06-10 12:36:16 +02:00
Hauke Petersen
4ab3827ce0 pkg/nimble/netif: fix buffer sizes 2021-06-10 10:02:10 +02:00
Francisco Molina
24e3330752
pkg/libcose: bump version 2021-06-10 08:36:41 +02:00
90dd3deb21
Merge pull request #16295 from fjmolinas/pr_edhoc_c
pkg/edhoc-c: initial commit
2021-06-08 17:23:52 +02:00
Francisco Molina
bbe3d3acf8
pkg/tinycrypt: use version with hkdf implementation 2021-06-08 14:34:33 +02:00
Francisco Molina
4cef100781
pkg/edhoc-c: initial commit
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2021-06-08 14:34:31 +02:00
Francisco Molina
5d627c5554
pkg/nimble: use tinycrypt pkg 2021-06-08 14:26:46 +02:00
Benjamin Valentin
b4e2711db4 pkg/nanocbor: bump version
- add support for decimal fractions
 - fix underflow in nanocbor_leave_container()
 - make return values consistent with documentation
2021-06-07 23:39:29 +02:00
025e5db592
pkg/pkg.mk: avoid git fetch if version is already there 2021-05-31 09:46:10 +02:00
Sebastiaan de Schaetzen
b6d649e344 nanopb: add dependency for C++ files 2021-05-27 16:13:38 +02:00
37bb39bcb9
pkg/lvgl: remove unnecessary dependency to auto_init_screen 2021-05-25 14:21:58 +02:00
5a393c64d6
pkg/lvgl: improve lvgl_run documentation 2021-05-21 10:05:17 +02:00
41a185cb92
pkg/lvgl: remove internal background thread 2021-05-20 12:38:55 +02:00
chrysn
a5d1639a25 pkg/libcose: Update version
introducing an optional dependency on tinycrypt
2021-05-10 17:35:03 +02:00
chrysn
f65a9e1306 pkg/tinycrypt: Avoid pulling in default_CSPRNG
... which would be provided through ecc_platform_specific.c but would
only so happen to work on native -- and conflicts with any
default_CSPRNG provided in the future (eg. through a newer libcose
packet).
2021-05-10 17:31:17 +02:00
4b6a5abc47
pkg: add qrcode generator package 2021-05-09 17:19:13 +02:00
43103a65d5
Merge pull request #16438 from maribu/bad_alloc
pkg/tlsf,cpu/esp_common: fix possible overflow in calloc implementations
2021-05-05 09:53:00 +02:00
Leandro Lanzieri
d36628d37e
Merge pull request #16183 from Ollrogge/aes_pr
sys/crypto: Enable support for AES-192, AES-256
2021-05-05 09:19:12 +02:00
Marian Buschsieweke
84169266b4
pkg/tlsf: fix possible overflow in calloc implementation 2021-05-05 08:58:31 +02:00
Ollrogge
b1a2d4787d sys/crypto: Remove leftover code related to deprecated 3DES block cipher 2021-05-03 17:34:53 +02:00
Ollrogge
427d2bd06e sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00
benpicco
11aa163509
Merge pull request #16352 from kfessel/p-doc-pkg
doc/pkg: provide a longer short description
2021-04-30 12:00:13 +02:00
benpicco
c5e0597c15
Merge pull request #16406 from benpicco/pkg/nanopb-0.4.5
pkg/nanopb: bump version to 0.4.5
2021-04-28 13:36:37 +02:00
Benjamin Valentin
dd172af6ee pkg/nanopb: bump version to 0.4.5 2021-04-28 12:56:17 +02:00
Leandro Lanzieri
a60b53005a
pkg/lvgl: model dependency resolution in Kconfig 2021-04-28 11:19:24 +02:00
1fd500478b
pkg/lvgl: reduce default font size 2021-04-28 11:19:23 +02:00
b55c1152b7
pkg: model lvgl configuration via Kconfig 2021-04-28 11:19:21 +02:00
be09c44bda
pkg/lvgl: split riot specific defines out of lv_conf.h 2021-04-28 11:19:21 +02:00
438753f285
pkg/lvgl: prepare config variables for Kconfig 2021-04-28 11:19:20 +02:00
f30065e61f
pkg/lvgl: bump to v7.11.0 2021-04-28 11:19:05 +02:00
Francisco Molina
7749368608
pkg/nanocbor: bump version 2021-04-21 09:25:55 +02:00
Karl Fessel
a329c456fc doc/pkg: provide a longer short description 2021-04-20 14:57:11 +02:00
Francisco
922611b224
Merge pull request #16338 from haukepetersen/fix_nimble_tmpfixrandseed
pkg/nimble: temporary fix to NimBLE PRNG seed issue
2021-04-16 09:32:15 +02:00
Hauke Petersen
05f0105a90 pkg/nimble: switch back to upstream master 2021-04-15 14:49:36 +02:00
Hauke Petersen
8213e6ca4b pkg/nimble: temporary fix to NimBLE PRNG seed issue 2021-04-15 12:50:09 +02:00
Hauke Petersen
ec8d8703ab pkg/nimble/scanlist: fix missing stdio.h include 2021-04-15 08:21:56 +02:00
Hauke Petersen
c94f61596e pkg/nimble/scanlist: switch to ZTIMER_USEC 2021-04-15 08:21:56 +02:00
Hauke Petersen
b4ff5aae3a pkg/nimble: switch from xtimer to ztimer 2021-04-15 08:21:56 +02:00
Hauke Petersen
7e22f644da pkg/nimble: update to temporary upstream branch 2021-04-15 08:21:56 +02:00
Leandro Lanzieri
58ec967cc6
Merge pull request #16264 from MrKevinWeiss/pr/pkgupdate/kconfig
pkg/*/Kconfig: Model simple pkgs in Kconfig
2021-04-12 19:01:18 +02:00
Hauke Petersen
6a8b6ca3f5 pkg/nimble/netif: use global MSYS memory pool 2021-04-12 16:26:23 +02:00
José Alamos
a4c479ca53
Merge pull request #16313 from fjmolinas/riot-loramac-system-aes
[TAKEOVER]: pkg/semtech-loramac: switch to RIOT AES
2021-04-12 13:06:39 +02:00
Oleg Artamonov
a3cbeee9ce
pkg/semtech-loramac: switch to RIOT AES 2021-04-12 11:13:50 +02:00
iosabi
e469f2dea4 lwip_sock: Make sock_tcp_read return data if available
When reading from the socket with `sock_tcp_read()` it would only return
data from at most one internal connection buffer, even if the buffer
passed to `sock_tcp_read()` is larger and there is more data available
in the connection. This patch makes `sock_tcp_read` process all the
available data so long as there's more data to read available
immediately.
2021-04-10 18:45:57 +02:00
MrKevinWeiss
6bd6091938 pkg/*/Kconfig: Add simple kconfig pkgs
This adds many basic `PACKAGE_*` to Kconfig:
- pkg/Kconfig
- pkg/c25519/Kconfig
- pkg/cayenne-lpp/Kconfig
- pkg/cifra/Kconfig
- pkg/cn-cbor/Kconfig
- pkg/driver_atwinc15x0/Kconfig
- pkg/driver_bme680/Kconfig
- pkg/emlearn/Kconfig
- pkg/gemmlowp/Kconfig
- pkg/hacl/Kconfig
- pkg/heatshrink/Kconfig
- pkg/jsmn/Kconfig
- pkg/libb2/Kconfig
- pkg/libcose/Kconfig
- pkg/libfixmath/Kconfig
- pkg/libhydrogen/Kconfig
- pkg/lora-serialization/Kconfig
- pkg/micro-ecc/Kconfig
- pkg/microcoap/Kconfig
- pkg/minmea/Kconfig
- pkg/monocypher/Kconfig
- pkg/nanocbor/Kconfig
- pkg/nanopb/Kconfig
- pkg/qDSA/Kconfig
- pkg/qcbor/Kconfig
- pkg/relic/Kconfig
- pkg/talking_leds/Kconfig
- pkg/tiny-asn1/Kconfig
- pkg/tinycbor/Kconfig
- pkg/tinycrypt/Kconfig
- pkg/tlsf/Kconfig
- pkg/tweetnacl/Kconfig
- pkg/u8g2/Kconfig
- pkg/ubasic/Kconfig
- pkg/ucglib/Kconfig
- pkg/utensor/Kconfig
- pkg/yxml/Kconfig
2021-04-08 16:34:36 +02:00
Martine Lenders
a433cb9fbe
Merge pull request #16278 from iosabi/lwip_sock_tcp
lwip_sock: Fix computation of last_offset on partial reads.
2021-04-07 13:06:45 +02:00
iosabi
afddb46c51 lwip_sock: Fix computation of last_offset on partial reads.
lwip receives network buffers that are made available to lwip_sock_tcp
calling `netconn_recv_tcp_pbuf`. The size of these buffers depends on
the size of the network packets. An application calling `sock_tcp_read`
can pass any arbitrary buffer size to read (copy) from these internal
network buffers, which may be smaller. lwip_sock_tcp keeps around the
last network buffer (`struct pbuf last_buf`) and the offset into this
buffer already consumed by the application (`last_offset`).

However, when multiple application reads from the same `pbuf` buffer
occur, the `last_offset` must be updated incrementing it. The code had
a bug that would work only when `last_offset` was either 0 (no previous
partial read) or when the current read was consuming all the remaining
data (when `buf_len == copylen`).

This patch fixes the issue an allows multiple reads from the same
buffer.
2021-04-04 12:45:54 +02:00
Leandro Lanzieri
6428505017
net/sock/dtls: allow CREDMAN_TAG_EMPTY on sock creation 2021-04-01 09:47:39 +02:00
Leandro Lanzieri
bccfb6e990
pkg/tinydtls/sock: allow multiple RPK credentials 2021-04-01 09:47:38 +02:00
Leandro Lanzieri
1c1c5f1d36
pkg/tinydtls/sock: allow multiple PSK credentials 2021-04-01 09:47:38 +02:00
Leandro Lanzieri
8b57b87258
net/sock/dtls: add RPK callback for credential selection 2021-04-01 09:47:37 +02:00
Leandro Lanzieri
81892ee389
net/sock/dtls: add client PSK callback for credential selection 2021-04-01 09:47:37 +02:00
Leandro Lanzieri
62fb9ad69f
net/sock/dtls: allow to register multiple credentials into a sock 2021-04-01 09:47:36 +02:00
Leandro Lanzieri
d7440ce1e3
net/sock/dtls: allow to set PSK Identity hint 2021-04-01 09:47:36 +02:00
Hauke Petersen
91bf7bc376
Merge pull request #15920 from haukepetersen/add_nimble_netifscchanmap
pkg/nimble/netif: allow to read used channel map
2021-03-31 10:10:35 +02:00
18a0889bc4
Merge pull request #16177 from aabadie/driver_llcc68
drivers: add support for sx1261/2 and llcc68 radio devices
2021-03-30 19:02:27 +02:00
10ab3c2134
drivers: register sx126x in Kconfig net list 2021-03-30 16:12:40 +02:00
300beb79aa
pkg: add driver_sx126x package driver 2021-03-30 16:12:39 +02:00
Francisco
7d2eb7efad
Merge pull request #16229 from yarrick/dhcp_start
pkg/lwip: Start DHCP early for all Ethernet interfaces
2021-03-30 15:54:11 +02:00
Francisco
3e32d55c33
Merge pull request #15922 from haukepetersen/opt_nimble_statconn_randconnitvl
pkg/nimble/statconn: allow random connection interval
2021-03-30 10:59:47 +02:00
Francisco
7b65dda691
Merge pull request #16190 from aabadie/pr/pkg/make_silent_ci_build
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-30 10:28:12 +02:00
Erik Ekman
6b89f4f34b pkg/lwip: Start DHCP early for all Ethernet netifs
Netifs without link status support will keep sending discover
messages with increasing time between.

Netifs that support link status will wait for the link to be up,
and then start sending.

Netifs that support link status but send no link status events
will continue to not work (unless link status is up from the
first check when setting it up).
2021-03-25 16:01:27 +01:00
benpicco
9cad382dc8
Merge pull request #16153 from yarrick/netif_add
pkg/lwip: Add netifs with netif_add_noaddr
2021-03-25 13:36:17 +01:00
benpicco
b0364941b5
Merge pull request #16082 from yarrick/link_state
pkg/lwip: Set netif link state properly when supported
2021-03-25 13:36:07 +01:00
José Alamos
21390849bf
Merge pull request #16188 from aabadie/semtech-loramac_netdev
pkg/semtech-loramac: refactor to use netdev API only
2021-03-18 13:11:32 +01:00
benpicco
3fabafa0d9
Merge pull request #16152 from yarrick/foreach_netif
pkg/lwip: Use NETIF_FOREACH macro in sock implementation
2021-03-18 11:49:19 +01:00
Karl Fessel
6588db6580 pkg/qcbor,wakaama,wolfssl: remove maybe-uninitialized warning
some variable seem uninitialized to gcc with -Og but aren't
https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=may%20be%20used%20uninitialized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145
especialy:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710#c1
2021-03-16 12:14:43 +01:00
90b74104f2
pkg/semtech-loramac: use common time on air computation helper 2021-03-15 09:48:42 +01:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
f337a9025a
pkg/semtech-loramac: only handle CAD/FHSS events with sx127x 2021-03-12 14:40:12 +01:00
5aff617512
pkg/semtech-loramac: rework to only use netdev interface 2021-03-12 14:40:12 +01:00
25a613ba93
pkg/semtech-loramac: use netdev interface to set sleep state 2021-03-12 11:38:14 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule 2021-03-10 14:18:13 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +01:00
Marian Buschsieweke
11ea9ee772
pkg/qDSA: fix backend selection log
qDSA as optimized implementations for AVR. The logic to select the optimized
backend predates the architecture features and uses some hand crafted logic.
This updates the logic to select the backend based on the boards architecture
using the feature system instead.
2021-03-08 15:45:50 +01:00
Erik Ekman
d3ba3117f2 pkg/lwip: Use NETIF_FOREACH macro in sock implementation
Decreases dependency on lwIP internals, and will handle LWIP_SINGLE_NETIF.
2021-03-06 11:27:14 +01:00
Erik Ekman
9b03b79a85 pkg/lwip: Add netifs with netif_add_noaddr
Makes 6lowpan netifs work even if dual stack is enabled,
and one less static method needed.
2021-03-05 00:17:17 +01:00
70055a5a19
pkg/lvgl: disable a warning on mips 2021-03-03 18:00:50 +01:00
4e09a54521
pkg/lvgl: add auto_init_screen by default + setup auto_init 2021-03-03 18:00:49 +01:00
40b5359096
pkg/lvgl: split task handler thread start from init 2021-03-02 17:35:32 +01:00
Erik Ekman
60d5d1aa74 pkg/lwip: Set link state properly when supported
Set link state correctly in lwIP for interfaces that support
the NETOPT_LINK option. Interfaces that do not support it
(like tap for native arch) remain up all the time.

Netdevs that support NETOPT_LINK but do not send NETDEV_EVENT_LINK_UP/DOWN
events will end up with a mismatched link state - but DHCP would
already not start for them either.

Use netifapi to signal lwIP to do the work in its own thread.
2021-03-01 23:55:08 +01:00
benpicco
3d85a2249e
Merge pull request #15666 from benpicco/pkg/openthread-20191113
pkg/openthread: bump version to 20191113
2021-03-01 11:35:50 +01:00
Benjamin Valentin
a57e58d6ef lwip: hook up sam0_eth support 2021-02-26 12:54:40 +01:00
Hauke Petersen
ef4cecae25 pkg/nimble/netif: add function to get used channels 2021-02-26 10:21:21 +01:00
Marian Buschsieweke
0d2c73d82c
pkg/ccn-lite: bump version 2021-02-25 16:49:34 +01:00
Marian Buschsieweke
0da0f3a32f
pkg/ndn-riot: use NETOPT_MAX_PDU_SIZE
Replace NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE via a patch
2021-02-25 16:49:34 +01:00
Martine Lenders
afb027852d
Merge pull request #15992 from yarrick/more_lwip
Add lwIP ifconfig shell command
2021-02-23 16:59:41 +01:00
4b807c1f73
Merge pull request #16031 from benpicco/pkg/nanocbor-bump
pkg/nanocbor: bump version
2021-02-23 15:50:28 +01:00
7ead5b28f9
Merge pull request #15916 from benpicco/pkg/nanopb-0.4.4
pkg/nanopb: bump version to 0.4.4
2021-02-23 12:04:09 +01:00
Erik Ekman
ccd4c71110 pkg/lwip: Add patch for lowpan6 printf formatters 2021-02-23 11:48:13 +01:00
Erik Ekman
eab317749f sys/shell: Add lwIP ifconfig shell command
Lists state, link type, v4/v6 addresses.
Currently read-only.

Using lwIP debug system to print addresses, to limit dependencies
and work with dual stack setup. Most other code seems to only
allow either v4 or v6 networking. For that to compile I
had to change the `SZT_F` format string due to this error:
```
error: format '%lu' expects argument of type 'long unsigned int',
but argument 2 has type 'size_t {aka unsigned int}'
```
Switching to the lwIP default format string here.

Outputs the following on my ESP32 board with Ethernet,
when both v4 and v6 are enabled in examples/paho-mqtt:
```
> ifconfig
Iface ET0 HWaddr: 24:0a:c4:e6:0e:9f Link: up State: up
        Link type: wired
        inet addr: 10.4.4.81 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9f scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9f scope: global
Iface ET1 HWaddr: 24:0a:c4:e6:0e:9c Link: up State: up
        Link type: wireless
        inet addr: 10.4.4.82 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9c scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9c scope: global
>
```
2021-02-23 11:47:45 +01:00
Erik Ekman
9da7ea2dec pkg/lwip: Name sixlowpan netifs 2021-02-23 11:47:33 +01:00
Benjamin Valentin
07acd9c101 pkg/nanocbor: bump version
The package got relicensed to CC-0.
2021-02-23 11:24:52 +01:00
Benjamin Valentin
56bb4529be pkg/emlearn: bump version to 0.11.6 2021-02-22 17:23:36 +01:00
Leandro Lanzieri
9fb93af034
Merge pull request #15985 from MrKevinWeiss/pr/umorse/kconfig
pkg/umorse: Add Kconfig support
2021-02-22 09:37:12 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
MrKevinWeiss
b53fbf081d pkg/umorse: Add Kconfig support 2021-02-19 15:32:20 +01:00
Marian Buschsieweke
645fee91ac
pkg/wakaama: fix compilation with 6lowpan-clicker
Drop included of unused header file that caused conflict with the new toolchain
2021-02-17 22:09:06 +01:00
2dd49a0737
Merge pull request #15966 from aabadie/pr/make/gcc_10_riscv_failures
make: silence a couple of warnings raised with gcc 10 on riscv
2021-02-16 12:05:42 +01:00
Benjamin Valentin
95f814b5da CODING_CONVENTIONS.md: default to C11
The standard is 9 years old now, it is well supported in all mayor compilers.
In fact, features of the 'new' standard are already used in RIOT (std_atomic).

Let's make it the default and adapt the Makefiles accordingly.
2021-02-14 14:28:13 +01:00
Erik Ekman
a29c835b2e lwip/esp: Support adding both netifs (eth/wifi) 2021-02-13 15:42:33 +01:00
a51df1fd30 pkg/cn-cbor: ignore return local address warning
This warning is triggered with gcc 10 on riscv and make the build to fail
2021-02-10 09:17:34 +01:00
Martine Lenders
4e9980c804
Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix
pkg/openwsn/sock: fix sock_udp_close handling
2021-02-10 08:28:43 +01:00
Francisco Molina
3d6d8b1872
pkg/openwsn/sock: drop messages in mbox on close 2021-02-09 21:28:22 +01:00
benpicco
6929577c76
Merge pull request #15845 from benpicco/boards/adafruit-itsybitsy-m4
boards: add adafruit-itsybitsy-m4
2021-02-09 19:41:43 +01:00
Francisco Molina
ca2e59d6a2
pkg/openwsn/sock: add mutex around linked list access
Fix possible race conditions when sock is closed while iterating
through the linked list.
2021-02-09 17:04:25 +01:00
Benjamin Valentin
735d22ea1b pkg/wolfssl: add SAMD51 to name collision hack
Fix this properly in the future by not pulling in all vendor files
through cpu_conf.h which gets included by several core headers.
2021-02-09 16:15:34 +01:00
Marian Buschsieweke
83fbde1e91
Merge pull request #15934 from leandrolanzieri/pr/pkg/wakaama_patch_native_exception
pkg/wakaama: add patch to cast macro to time_t
2021-02-06 13:12:37 +01:00
Leandro Lanzieri
0492cc5177
pkg/wakaama: cast macro to time_t
Currently on some toolchains the wakaama package is raising a floating
point exception on native. This seems to be fixing the issue.
2021-02-05 16:20:08 +01:00
Hauke Petersen
faf7a7dabc pkg/nimble/statconn: allow random conn interval 2021-02-04 09:55:23 +01:00
Hauke Petersen
ee9a573455 pkg/nimble/autoconn: add missing 'random' dep 2021-02-04 09:30:42 +01:00
Hauke Petersen
101bc6184c pkg/nimble/netif: improve _send() error return val 2021-02-03 12:30:58 +01:00
Benjamin Valentin
439947a845 pkg/nanopb: bump version to 0.4.4 2021-02-02 19:22:16 +01:00
Benjamin Valentin
f3780bb00c pkg/fatfs: bump version to r0.14a
R0.14a (December 05, 2020)
  Limited number of recursive calls in f_findnext().
  Fixed old floppy disks formatted with MS-DOS 2.x and 3.x cannot be mounted.
  Fixed some compiler warnings.

 - http://elm-chan.org/fsw/ff/updates.txt
2021-01-31 20:03:13 +01:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
df12cbbe5a
pkg/libfixmath: bump version to latest master 2021-01-27 14:19:52 +01:00
Akshai M
c7691035a6 pkg/semtech-loramac : Translate the configs
Translate Kconfigs and CFLAGS
2021-01-26 16:56:05 +01:00
Akshai M
42eb6c4097 net/lorawan : Update documentation
Marked as non-supported:
LORAMAC_DEFAULT_ADR_ACK_LIMIT
LORAMAC_DEFAULT_ADR_ACK_DELAY
LORAMAC_DEFAULT_ADR_TIMEOUT
2021-01-26 16:56:05 +01:00
Akshai M
9600ebf536 net/lorawan : Expose to Kconfig 2021-01-26 16:56:02 +01:00
Akshai M
a2f505f116 net/lorawan : Move 'LORAMAC_DEFAULT_MIN_RX_SYMBOLS' to 'CONFIG_' 2021-01-26 16:52:59 +01:00
Akshai M
216956d7b0 net/lorawan : Move 'LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR' to 'CONFIG_' 2021-01-26 16:52:59 +01:00
Akshai M
97d873a5bd net/lorawan : Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_' namespace and model
'CONFIG_LORAMAC_DEFAULT_ADR' as BOOL for Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d2d90fbce5 net/lorawan : Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_' and added symbols
for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
aa3b1da0c4 net/lorawan : Move 'LORAMAC_DEFAULT_TX_PORT' to 'CONFIG_' 2021-01-26 16:52:58 +01:00
Akshai M
55f196095d net/lorawan : Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_' and enable options for
Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
1befae9022 net/lorawan : Invert 'LORAMAC_DEFAULT_PUBLIC_NETWORK'
Introduced a bool 'LORAMAC_DEFAULT_PRIVATE_NETWORK' to invert
the semantics of 'LORAMAC_DEFAULT_PUBLIC_NETWORK'. Move
'LORAMAC_DEFAULT_PRIVATE_NETWORK' to 'CONFIG_' namespace.
2021-01-26 16:52:58 +01:00
Akshai M
3c5c429541 net/lorawan : Move 'LORAMAC_DEFAULT_NETID' to 'CONFIG_' 2021-01-26 16:52:58 +01:00
Akshai M
e46c4401a9 net/lorawan : Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_' and added
additional symbols for Kconfig exposure.
2021-01-26 16:52:57 +01:00
Benjamin Valentin
60eb75da3c mtd: rename mtd_write_page() -> mtd_write_page_raw()
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa socket_zep: register with netdev 2021-01-25 22:59:01 +01:00
Martine Lenders
879fbc179e
Merge pull request #15755 from janosbrodbeck/pr/dtls/get_event_session
sock/async: add function to retrieve session object of current DTLS event
2021-01-22 10:51:51 +01:00
János Brodbeck
04d95d1c5e
pkg/tinydtls: implement sock_dtls_get_event_session 2021-01-21 19:03:40 +01:00
benpicco
ac4bd3abf8
Merge pull request #15819 from bergzand/pr/littlefs2/bump_2.4
littlefs2: Bump to v2.4
2021-01-20 18:41:26 +01:00
fd4f3f829d
littlefs2: Bump to v2.4 2021-01-20 15:03:15 +01:00
Benjamin Valentin
da7cbf3e4c pkg/openthread: bump version to 20191113 2021-01-19 00:05:43 +01:00
6143fdc912
pkg/monocypher: bump to version 3.1.2 2021-01-18 15:06:11 +01:00
José Alamos
2bf10413d0
Merge pull request #15397 from fjmolinas/pr_ieee802154_crc_error
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR
2021-01-14 10:29:17 +01:00
Francisco Molina
83fbe6d100
pkg/openwsn: use IEEE802154_RADIO_INDICATION_CRC_ERROR 2021-01-13 23:42:43 +01:00
Francisco Molina
49c90cd517
pkg/openwsn/contrib/radio_hal: fix rssi conversion 2021-01-13 19:45:13 +01:00
a0d4f599d8
pkg/wakaama: use ARRAY_SIZE macro 2021-01-08 14:37:33 +01:00
f4523140f1
pkg/lwip: fix typo (semaphor => semaphore) 2021-01-08 10:15:33 +01:00
János Brodbeck
34a15b6540
pkg/tinydtls: implement sock_dtls_session_set_udp_ep 2021-01-04 20:22:57 +01:00
János Brodbeck
4be161c3e7
pkg/tinydtls: implement sock_dtls_session_get_udp_ep 2020-12-21 18:24:22 +01:00
Martine Lenders
eb6056d469
pkg/tweetnacl: remove trailing whitespaces from doc.txt 2020-12-19 10:00:20 +01:00
Martine Lenders
0770293552
pkg/relic: remove trailing whitespaces from doc.txt 2020-12-19 10:00:08 +01:00
Martine Lenders
15a3365b16
pkg/minmea: remove trailing whitespaces from doc.txt 2020-12-19 09:59:46 +01:00
Martine Lenders
ce9050f2a6
pkg/micro-ecc: remove trailing whitespaces from doc.txt 2020-12-19 09:59:32 +01:00
Martine Lenders
b6a5c533d9
pkg/heatshrink: remove trailing whitespaces from doc.txt 2020-12-19 09:59:06 +01:00
János Brodbeck
387acdfdb5
pkg/tinydtls: remove sock_udp_ep_t from sock_dtls_session_t 2020-12-18 16:41:58 +01:00
Martine Lenders
6dfc33edcc
pkg/openwsn/sock: fix doxygen group doc 2020-12-11 11:27:34 +01:00
Martine Lenders
b6bf67114b
Merge pull request #15536 from fjmolinas/pr_openwsn_sock_selfhosted
pkg/openwsn: add sock_udp
2020-12-11 11:22:50 +01:00
Francisco Molina
e64c91190a
pkg/openwsn: add OPENWSN_NETIF_ID 2020-12-11 09:07:55 +01:00
Francisco Molina
223c952586
pkg/openwsn/Makefile.dep: allow to mock the scheduler 2020-12-11 09:07:53 +01:00
Francisco Molina
5c26f53828
pkg/openwsn: add openwsn_sock_udp module
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2020-12-11 09:07:48 +01:00
0a96c71053
littlefs2: Bump to v2.3 2020-12-08 16:32:08 +01:00
Marian Buschsieweke
f222a3f2e9
pkg/tinydtls: Implement sock_aux_local 2020-12-04 16:00:32 +01:00
Marian Buschsieweke
77b39c5550
pkg/lwip: Implement sock_aux_local
Provide address the IP packet / UDP datagram was received on in the auxiliary
data, if module sock_aux_local is used.
2020-12-04 12:51:48 +01:00
Marian Buschsieweke
9d46bc7d7f
Merge pull request #14703 from maribu/sock-aux-api
net/sock: Add access to auxiliary data (API only)
2020-12-03 12:08:49 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data 2020-12-02 17:56:14 +01:00
Marian Buschsieweke
893bfd13d0
net/sock_udp: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
ebcf1c0ab4
net/sock_ip: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Francisco
0a064806e3
Merge pull request #15443 from benpicco/l2util_addr
replace netif_addr_to/from_str() with l2util_addr_to/from_str()
2020-12-02 09:21:16 +01:00
Fabian Hüßler
c526a34770 sx127x: make use of netdev_register()
Call netdev_register() in sx127x_setup()
and pass the index in auto_init_sx127x()
and semtech_loramac_init()
2020-12-01 16:34:11 +01:00
Francisco
f23c616eb1
Merge pull request #15422 from benpicco/pkg/fatfs-r0.14
pkg/fatfs: bump version to r0.14
2020-12-01 10:46:54 +01:00
c3fa38d9d6
pkg/libb2: blacklist 8bit architectures 2020-11-26 16:13:14 +01:00
b1a05b8c89
pkg/libb2: remove useless define
HAVE_ALIGNED_ACCESS_REQUIRED is not used anymore in libb2
2020-11-26 16:13:13 +01:00
01d2201f4d
pkg/libb2: bump to 0.98.1 2020-11-26 16:13:12 +01:00
Francisco
522e9ebc71
Merge pull request #15500 from benpicco/tests/pkg_jsmn-bump
pkg/jsmn: bump version
2020-11-26 10:47:15 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
bc34c85226 pkg/lwip: add mips32 ssize_t fix 2020-11-25 17:52:34 +01:00
1936c43689 pkg/ndn-riot: update kernel_pid_t location patch 2020-11-25 17:52:34 +01:00
46737bcdf3 pkg/ccn-lite: add patch for changed kernel_pid_t location 2020-11-25 17:52:34 +01:00
Leandro Lanzieri
18c937ab69
{drivers/pkg}: add bm680 to Kconfig 2020-11-25 12:00:13 +01:00
Benjamin Valentin
77aa5cbf6c pkg/jsmn: bump version
Only fixes for typos and warnings, but good to keep up to date.
2020-11-23 20:19:47 +01:00
ff5a60396f pkg/ndn-riot: add patch for changed kernel_pid_t location 2020-11-23 16:56:34 +01:00
0b801c4de0 all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
Martine Lenders
ef5e0344ef
tinydtls_sock_dtls: use new mbox_avail() function 2020-11-20 13:09:59 +01:00
Martine Lenders
71224b4b1e
lwip_sock: use new mbox_avail() function 2020-11-20 13:09:42 +01:00
benpicco
a17e9ce8a3
Merge pull request #15401 from chrysn-pull-requests/hacl-provide-prix64
hacl: Patch to fix building where PRIx64 is absent
2020-11-19 16:37:53 +01:00
benpicco
d1ccd53c43
Merge pull request #15450 from janosbrodbeck/pr/tinydtls_fix_handshake_session
pkg/tinydtls: set endpoint of session after complete handshake
2020-11-17 14:21:37 +01:00
Benjamin Valentin
33449a4409 pkg/fatfs: bump version to r0.14 2020-11-17 11:29:28 +01:00
Benjamin Valentin
dbf6b1e25c sys/net: replace netif_addr_to/from_str with l2util_addr… 2020-11-17 10:51:22 +01:00
Benjamin Valentin
4c9a3c0434 pkg/hacl: switch upstream to backup copy
The https://github.com/mitls/hacl-c repo was deleted.
Getting the new upstream (https://github.com/project-everest/hacl-star)
to work nicely as a package requires some non-trivial work and in the
meantime all CI jobs will fail.

As a short-term solution, switch the upstream to a backup version of
the original repository.
2020-11-16 16:34:41 +01:00
János Brodbeck
2538e72625
pkg/tinydtls: set endpoint of session after complete handshake 2020-11-16 13:50:15 +01:00
57116e737b
Merge pull request #14691 from gdoffe/mp1_dev
Port of RIOT-OS to stm32mp1
2020-11-13 12:34:19 +01:00
eaf410592b
Merge pull request #15428 from btcven/2020_11_11-lvgl-preemption
pkg/lvgl: set LVGL thread priority higher than main
2020-11-13 11:58:06 +01:00
Gilles DOFFE
1e57778584 pkg/paho-mqtt: fix patches for STM32MP157Cxx line
As the STM32MP157Cxx has no CMSIS header repositories, SUCCESS enum
is not defined.
Thus STM32MP157Cxx line must be specifically handled as the
STM32F030x4 line to create missing enums.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
153c52754d
Merge pull request #15070 from fjmolinas/pr_uwb_core
pkg/uwb_core: initial support
2020-11-12 14:04:51 +01:00
Francisco Molina
3622c2da07
pkg/uwb-core: initial import 2020-11-12 12:54:54 +01:00
Francisco Molina
cc0d8a83f1
pkg/uwb-dw1000: initial import 2020-11-12 12:07:20 +01:00
Jean Pierre Dudey
7092c455f9 pkg/lvgl: set LVGL thread priority higher than main
Using a lower priority than of the main thread would make
the LVGL thread to preempt the main thread, for example,
if you do a `xtimer_msleep(200);` on the main thread
giving any chance for the LVGL thread to preempt it
while working with LVGL on the main thread would
make the CPU crash.

To reproduce the bug just create various widgets, and fill
them with data from a sensor that "waits" for data to be ready.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-11 09:46:21 +01:00
Bas Stottelaar
f55c033681 pkg/cryptoauthlib: disable for efm32
Some CPUs define AES_COUNT, which is also defined by this package.
2020-11-10 23:03:08 +01:00
benpicco
2a60406ae0
Merge pull request #15292 from fjmolinas/pr_openwsn_defs
boards cpu: move OpenWSN defintions to openwsn_defs.h
2020-11-10 10:07:55 +01:00
Francisco Molina
c4edff3a59
boards cpu: move OpenWSN defintions to openwsn_defs.h 2020-11-10 07:46:35 +01:00
János Brodbeck
958d604775
pkg/tinydtls: set address family of session endpoint on sock_dtls_recv 2020-11-10 03:11:20 +01:00
3a292087b7
pkg/lvgl: update defaults in lv_conf.h 2020-11-08 17:04:55 +01:00
408c2b534d
pkg/lvgl: bump to v7.7.1 2020-11-08 16:19:55 +01:00
chrysn
54078be409 hacl: Patch to fix building where PRIx64 is absent
Quoting the inner commit:

> Not all RIOT platforms provide a PRIx64 or even 64-bit printing.
>
> As the debug routines that actually use this definition are unlikely to
> be used with RIOT, providing a definition that builds (and, depending on
> platform support, may or may not produce correct output) is a suitable
> fix.
2020-11-08 06:44:45 +01:00
benpicco
f702a95880
Merge pull request #15385 from benpicco/xtimer_msleep-convert
drivers, tests: use xtimer_msleep()
2020-11-05 16:46:39 +01:00
Martine Lenders
cc10d31391
Merge pull request #15305 from aabadie/pr/sys/posix_sleep
sys/posix: rename posix_time to posix_sleep
2020-11-05 16:36:25 +01:00
Benjamin Valentin
1c61d36173 pkg/paho-mqtt: convert to xtimer_msleep() 2020-11-05 11:32:41 +01:00
Benjamin Valentin
de2f576437 pkg/driver_bme680/contrib: convert to xtimer_msleep() 2020-11-05 11:32:41 +01:00
Hendrik van Essen
fe4f0a69ee sys/nimble_autoadv: add new module
module for automated bluetooth advertising
2020-11-05 10:53:21 +01:00
Bas Stottelaar
9dd3b7a3ec pkg/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
benpicco
2198598c50
Merge pull request #15355 from a-podshivalov/loramac-crc-bugfix
Fixed a critical bug, allowing to crash the whole system with a specially crafted LoRa frame
2020-11-02 13:05:00 +01:00
Alexander Podshivalov
a82318d4ec pkg/semtech-loramac: reduce scope of radio_payload and make CI happy 2020-10-31 18:09:51 +03:00
benpicco
e77d12da26
Merge pull request #15188 from benpicco/drivers/kw41zrf-register
drivers/kw41zrf: register with netdev
2020-10-31 14:30:00 +01:00
Alexander Podshivalov
4d5812eded pkg/semtech-loramac: check return value of recv() in NETDEV_EVENT_RX_COMPLETE 2020-10-31 00:22:11 +03:00
cf823da856
pkg/tinydtls: remove deprecation message about some CFLAGS 2020-10-30 10:15:18 +01:00
c8e40fc690
pkg: remove deprecated nordic softdevice package 2020-10-29 09:02:05 +01:00
68a2a5dab0
sys: tests: rename posix_time to posix_sleep 2020-10-27 15:20:33 +01:00
Bas Stottelaar
785b646298 pkg/gecko_sdk: update to v2.7.7 2020-10-26 20:29:42 +01:00
chrysn
b6392d63ef vfs: Provide generic stat implementation (and use in fatfs)
When a file system has `fstat` and `open` implemented, `stat` can still
be missing. The new function is a generic implementation, and used in
fatfs to provide a `stat`.
2020-10-25 17:39:57 +01:00
José Alamos
e8721ce415
Merge pull request #15145 from fjmolinas/pr_openwsn_radio_hal
pkg/openwsn: add ieee802154_hal based radio
2020-10-23 21:26:21 +02:00
Francisco Molina
0e0f385f3f
pkg/openwsn/sctimer_rtt: account for counters < uint32 2020-10-23 15:31:57 +02:00
Francisco Molina
0731fdbbaa
pkg/openwsn/scheduler: fix debugpins ordering 2020-10-23 15:31:57 +02:00
Francisco Molina
82e06ef8f4
pkg/openwsn: add ieee802154 hal based radio 2020-10-23 15:31:55 +02:00
Francisco Molina
75eee27c72
pkg/openwsn: move setting RTT_FREQUENCY 2020-10-23 15:31:53 +02:00
Francisco Molina
f5b587c130
pkg/openwsn: allow overiding led pins 2020-10-23 09:13:32 +02:00
Bas Stottelaar
38a5ff7d4b pkg/*: realign ENABLE_DEBUG 2020-10-23 02:43:10 +02:00
benpicco
d078488be3
Merge pull request #14979 from jia200x/pr/openthread/cc2538_rf
openthread: add support for radios compatible with SubMAC
2020-10-22 18:11:11 +02:00
Jose Alamos
383e1b1aaf openthread/nrf802154: add support for NRF802154 radios 2020-10-22 16:56:11 +02:00
Jose Alamos
48a65d2617 openthread/cc2538_rf: add support for CC2538 radios 2020-10-22 16:56:07 +02:00
benpicco
f933bbd4cd
Merge pull request #15267 from basilfx/feature/missing_assert_header
treewide: cleanup assert.h includes
2020-10-22 16:41:49 +02:00
benpicco
6931667cfb
Merge pull request #15253 from benpicco/pkg/micro-ecc-bump
pkg/micro-ecc: bump version
2020-10-22 12:04:21 +02:00
Bas Stottelaar
7088db3636 pkg/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
970c72a0cb pkg/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Benjamin Valentin
d7e68d1d01 pkg/micro-ecc: bump version
micro-ecc now has upstream RIOT support, we can drop the patch.
2020-10-22 09:44:04 +02:00
Bas Stottelaar
ae8c700e6f pkg/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
Benjamin Valentin
57ad2fd47c pkg/libhydrogen: bump version 2020-10-20 16:42:33 +02:00
Jose Alamos
246acb311f lwip: adapt bootstrap for nrf802154 2020-10-19 15:18:35 +02:00
Marian Buschsieweke
8fcafb89d0
Merge pull request #15242 from maribu/tinycrypt
pkg/tinycrypt: Fix dependencies
2020-10-19 10:11:10 +02:00
Marian Buschsieweke
ffc4277b9f
pkg/tinycrypt: Fix dependencies
According to tests/pkg_tinycrypt, this package only works on 32 bit archs. So
add this as a required feature.
2020-10-19 09:29:37 +02:00
Benjamin Valentin
c5e309a15d pkg/tinycrypt: bump version
Bump the snapshot of TinyCrypt that we are using.
2020-10-18 23:12:15 +02:00
8ca1c65f79
pkg/lua: blacklist picolibc feature 2020-10-15 18:52:51 +02:00
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros 2020-10-13 13:32:53 +02:00
János Brodbeck
ffb80ab6b6
tinydtls: fix minor typo in comment 2020-10-10 13:05:46 +02:00
Benjamin Valentin
b32bc3dbd1 drivers/kw41zrf: register with netdev 2020-10-08 16:19:23 +02:00
Benjamin Valentin
1afe72a5e5 drivers/enc28j60: register with netdev 2020-10-08 10:36:56 +02:00
Benjamin Valentin
988ee1648f drivers/mrf24j40: register with netdev 2020-10-07 16:39:39 +02:00
Karl Fessel
9a89b84c2c Makefile.dep: sort dependencies
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00
Francisco
df3ab9f161
Merge pull request #15138 from aabadie/pr/dist/codespell_fixes
dist/codespell: update the list of ignored words and fix all typos
2020-10-02 12:27:12 +02:00
9d798bdbf7
pkg/wakaama: fix typo 'bindins' -> 'bindings' 2020-10-02 08:08:36 +02:00
5657dead3e
pkg/softdevice: fix typo 'connecton' -> 'connection' 2020-10-02 08:08:09 +02:00
4792ff1f23
pkg/nimble: fix typo 'mater' -> 'master' 2020-10-02 08:07:37 +02:00
Benjamin Valentin
f88d7a90f5 pkg/nanopb: bump version to 0.4.3 2020-10-01 18:55:51 +02:00
a2cf40aa76
Merge pull request #15038 from jia200x/pr/openthread/refactor
pkg/openthread: migrate to event loop
2020-09-29 10:48:07 +02:00
Jose Alamos
34b3f55200 pkg/openthread: migrate to event loop 2020-09-24 15:48:07 +02:00
Francisco
11d51def4b
Merge pull request #14965 from haukepetersen/fix_nimnetif_deadlockonconndrop
pkt/nimble/netif: fix deadlock on connection loss
2020-09-21 10:18:42 +02:00
Francisco
64f6b7ffa4
Merge pull request #14702 from maribu/sched_active_thread
treewide: Fix direct access to scheduler internals
2020-09-21 09:09:59 +02:00
42f2fbef71
Merge pull request #14905 from fjmolinas/pr_openwsn_riot_sched
pkg/openwsn: add riot based openwsn scheduler
2020-09-10 13:23:12 +02:00
Francisco Molina
19494a4db3
pkg/openwsn: add riot based openwsn scheduler 2020-09-10 09:37:43 +02:00
Cenk Gündoğan
0d0bc91553
Merge pull request #14754 from leandrolanzieri/pr/no_archives
build system: link object files
2020-09-10 09:36:29 +02:00
Francisco Molina
006cdeb37e
pkg/openwsn: bump version 2020-09-10 08:58:31 +02:00
benpicco
df913bf9bf
Merge pull request #14906 from miri64/sock/cleanup/deps
sock: cleanup dependencies
2020-09-09 12:01:28 +02:00
Marian Buschsieweke
90177889b7
treewide: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-09-07 12:59:55 +02:00
Hauke Petersen
6ee2c1025b pkt/nimble/netif: fix deadlock on connection loss 2020-09-07 11:05:32 +02:00
Leandro Lanzieri
81cb769cad
makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
Marian Buschsieweke
ed0c8d7b84
pkg/ccn-lite: bump version 2020-09-03 06:40:53 +02:00
eef7f76b87
pkg/stm32cmsis: remove package 2020-09-02 11:30:49 +02:00
ec2e1a15f9
cpu/stm32: move cmsis package Makefile to stm32 cpu 2020-09-02 11:30:49 +02:00
Cenk Gündoğan
538155c344
Merge pull request #14904 from leandrolanzieri/pr/kconfig/change_prefix_convention
treewide: modify Kconfig symbol prefixes
2020-09-01 15:57:06 +02:00
benpicco
d2369a2651
Merge pull request #14902 from gschorcht/periph/gpio/inline_functions_for_valid_and_equal
periph/gpio: use inline functions to test for valid and equal GPIOs
2020-09-01 09:57:52 +02:00
Jannes
f3e934988c drivers/stm32_eth: add 'NETDEV_EVENT_LINK_UP' event 2020-08-31 20:50:47 +02:00
Martine S. Lenders
8386ec9fac
sock: make sock implementation dependency of sock API + stack
This is the logical continuation of [#12931] for _all_ `sock`
implementations.

[#12931]: https://github.com/RIOT-OS/RIOT/pull/12931
2020-08-31 15:17:22 +02:00
Gunar Schorcht
d63d58ac0b pkg: use inline function for GPIO comparison
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, packages must first be changed so that they use the inline comparison functions.
2020-08-31 13:11:05 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
Martine Lenders
48e5bbc8ba
Merge pull request #14858 from leandrolanzieri/pr/pkg/use_recursive_make_directly
pkg/{lwip,ubasic}: call submake with '+'
2020-08-26 21:03:11 +02:00
Leandro Lanzieri
84ed96c125
pkg/{lwip,ubasic}: use + in recursive make call 2020-08-26 19:12:14 +02:00
Francisco
30ef147fd7
Merge pull request #14814 from benpicco/pkg/wolfssl-4.5.0
pkg/wolfssl: bump version to 4.5.0
2020-08-26 17:33:07 +02:00
9b2aa40e03
Merge pull request #14038 from benpicco/mtd_pagewise
mtd: add page addressed operations to allow access > 4GiB on SD cards
2020-08-25 13:10:20 +02:00
edb9726322
Merge pull request #14800 from benpicco/pkg/cn-cbor-1.0.0
pkg/cn-cbor bump to 1.0.0
2020-08-21 14:04:58 +02:00
benpicco
c7d9b4b4c4
Merge pull request #14793 from leandrolanzieri/pr/pkg/tinydtls/check_prng
pkg/tinydtls: enforce the selection of a crypto secure PRNG
2020-08-21 10:43:47 +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
Benjamin Valentin
584d66190b pkg/wolfssl: bump version to 4.5.0
Update to the latest upstream release

https://www.wolfssl.com/docs/wolfssl-changelog/
2020-08-20 23:14:51 +02:00
abfbc8a813
pkg/semtech-loramac: add documentation about ztimer 2020-08-20 14:08:03 +02:00
52748dd935
pkg/semtech-loramac: migrate to ztimer usage 2020-08-20 13:41:40 +02:00
Benjamin Valentin
ae8ed273ab pkg/cn-cbor bump to 1.0.0
Upstream changed, original upstream is archived now with this note:

> Jim Schaad now is so far ahead of this repo that you are most
> likely better off using his repo as your upstream.
2020-08-19 23:25:25 +02:00
Leandro Lanzieri
e7912ce2a6
pkg/cmsis-nn: use modules to compile package 2020-08-19 11:34:43 +02:00
Leandro Lanzieri
75902c96f8
pkg/cmsis-dsp: use modules to compile package 2020-08-19 11:34:43 +02:00
Benjamin Valentin
f3500257b1 pkg/littlefs: use page-addressed MTD operations 2020-08-18 17:25:40 +02:00
Benjamin Valentin
c2492209d8 pkg/littlefs2: use page-addressed MTD operations 2020-08-18 17:25:40 +02:00
Benjamin Valentin
c436c39ea8 pkg/fatfs: use page-wise read() and write()
The FAT file system operates on sectors (pages), so use the new
mtd_write_page() and mtd_read_page() functions.

This also avoids the wrap-around after reading/writing past 4 GiB.
2020-08-18 17:25:39 +02:00
8a0fc9daf1
Merge pull request #14775 from benpicco/pkg/tinycbor-v0.5.3
pkg/tinycbor: bump to v0.5.3
2020-08-18 11:41:45 +02:00
Benjamin Valentin
53eedc283b drivers/at86rf2xx: register driver with netdev 2020-08-17 22:53:51 +02:00
Benjamin Valentin
0eed7a7715 pkg/tinycbor: bump to v0.5.3 2020-08-17 16:29:48 +02:00
benpicco
dfcc69dcb1
Merge pull request #14193 from aabadie/pr/pkg/lvgl_v7
pkg/lvgl: bump to v7
2020-08-12 14:03:24 +02:00
377d389ce9
Merge pull request #14609 from fjmolinas/pr_openwsn_bump
pkg/openwsn: bump version
2020-08-11 16:25:36 +02:00
71a6bfc32d
pkg/lvgl: bump to version 7.0.0 2020-08-11 15:39:01 +02:00
Francisco Molina
aa1e7797b0
pkg/openwsn: bump version
With the new version some OpenWSN modules are optional:
- openwsn_cjoin (and therefore opewnsn_coap)
- openwsn_6lo_fragmentation
- openwsn_icmpv6echo
- openwsn_crypto
- openwsn_udp (optional but kept as default)

New optional modules have been added:
- openwsn_iee802154e_security (link layer security)
- openwsn_adaptive_msf (MSF dynamic slot allocation)

Openvisualizer needs to be updated to be compatible with the new
version.
2020-08-11 15:24:33 +02:00
b8f94c2a51 pkg/tweetnacl: blacklist for msp430 2020-08-05 14:32:58 +02:00
Marian Buschsieweke
f48147b585
Merge pull request #14663 from benpicco/native-fixes
treewide: compile fixes for native
2020-07-31 14:57:41 +02:00
Benjamin Valentin
492283898e pkg/driver_atwinc15x0: don't be pedantic 2020-07-31 13:38:03 +02:00
Benjamin Valentin
e3fd43861c pkg/semtech-loramac: allow pointer <-> function pointer cast
Building on native reveals

    error: ISO C forbids initialization between function pointer and ‘void *’

Let's disable that.
2020-07-31 13:38:03 +02:00
Marian Buschsieweke
00c44b0924
pkg/lwip: Use IS_ACTIVE() & NETCONNTYPE_ISIPV6()
This also fixes an issue detected by `tests/lwip_sock_udp` when both IPv4 and
IPv6 are enabled.
2020-07-31 13:27:09 +02:00
Marian Buschsieweke
5be2d082b9
pkg/lwip: Compatibility with IS_USED()
The `IS_USED()` macro doesn't work if macros are defined to `(1)` instead of `1`
2020-07-31 10:51:12 +02:00
4842da272c
pkg/lvgl: add optional touch capability via screen generic API 2020-07-29 14:49:16 +02:00
José Alamos
2f6185ee97
Merge pull request #14612 from ArwinV/openthread-kw41z
pkg/openthread: add support for kw41z radios
2020-07-29 11:47:27 +02:00
Arwin Verhoeven
579a2d8fe0 pkg/openthread: add support for kw41z radios
pkg/openthread: fix some indentation errors

pkg/openthread: remove unnecessary library

Co-authored-by: José Alamos <jialamos@uc.cl>
2020-07-28 17:52:54 +02:00
Marian Buschsieweke
1ad7b4c21a
pkg/utensor: Require feature libstdcpp 2020-07-24 16:21:12 +02:00
f50d20f7fa
pkg/lvgl: adapt Makefile for nicer build output 2020-07-22 14:41:58 +02:00
8c50212a8d
pkg/stm32cmsis: add version for g0 family 2020-07-21 12:35:42 +02:00
0b549c6e0c
Merge pull request #14152 from aabadie/pr/pkg/stm32cube
pkg/stm32cmsis: retrieve STM32 CMSIS header from a package
2020-07-21 12:27:19 +02:00
3aaf7ed5f3
pkg/jerryscript: remove unnecessary CFLAGS 2020-07-17 20:03:15 +02:00
d820570782
pkg/jerryscript: improve Makefile logic
drop useless libjerry target and use regular files targets. This prevents re-running the sub-make when the required archives are already generated
2020-07-17 20:03:15 +02:00
51cda0d2ad
pkg/jerryscript: adapt CMake options
Add the possibility to set JERRY_STACK to prevent stack overflows due to recursion, JERRY_GC_LIMIT to the maximum allowed heap usage increase until triggering the next garbage collection and JERRY_GC_MARK_LIMIT to adjust the maximum recursion depth during the GC mark phase
2020-07-17 20:03:15 +02:00
7b6bd1a026
pkg/jerryscript: bump to version 2.3.0 2020-07-17 20:03:15 +02:00
Benjamin Valentin
a028102149 pkg/littlefs2: rename littlefs_desc_t -> littlefs2_desc_t
Allow to have both versions of the FS present at the same time.
2020-07-17 16:43:00 +02:00
c59f4af054
pkg/paho-mqtt: update patch to fix build with STM32 2020-07-16 17:41:48 +02:00
a8c04f5bea
pkg/ccn-lite: add patch to fix the build on stm32 cpus 2020-07-16 17:35:50 +02:00
67068393a9
pkg/stm32cmsis: add package for STM32 cmsis device repositories 2020-07-16 17:35:48 +02:00
Francisco
83396ac83c
Merge pull request #14486 from aabadie/pr/tools/pkg_clean_build_standalone
tools: build more tools with tools-buildtest
2020-07-15 11:22:26 +02:00
Martine S. Lenders
4f243c52ea
pkg/emb6: remove deprecated package
Deprecation was noted in 7cf1bab2e6
2020-07-11 02:18:17 +02:00
06b152fac0
pkg/pkg.mk: improve clean and distclean for in-source builds 2020-07-10 13:30:37 +02:00
benpicco
63a0014456
Merge pull request #14467 from benpicco/fix_file_permission
treewide: fix file permissions
2020-07-08 18:30:01 +02:00
Benjamin Valentin
9d836888c2 treewide: fix file permissions
C files should not be executable.
2020-07-08 17:32:36 +02:00
Martine Lenders
cc6c5a8c7b
Merge pull request #14456 from benpicco/pkg/tinydtls_update
pkg/tinydtls: use latest development version
2020-07-08 15:22:56 +02:00
Hauke Petersen
32f086e98d pkg/nimble/statconn: cleanup timing params 2020-07-08 08:46:43 +02:00
Hauke Petersen
29640252b7 pkg/nimble/autoconn: cleanup timing params 2020-07-08 08:46:43 +02:00
Hauke Petersen
bd48f06de4 pkg/nimble/autoconn: fix conn timeout calculation
The timeout parameter for nimble_netif_connect() is given in ms
and the same is true for NIMBLE_AUTOCONN_CONN_TIMEOUT. So there
should be no conversion between the autoconn parameter and the
value passed to nimble_netif.
2020-07-08 08:45:09 +02:00
Hauke Petersen
28b595e72e pkt/nimble: version bump to cd7d7aa 2020-07-08 08:45:09 +02:00
Benjamin Valentin
7d54fe1662 pkg/tinydtls: default to sha1prng for the PRNG implementation 2020-07-07 21:06:12 +02:00
Benjamin Valentin
6dcb25de15 pkg/tinydtls: bump version 2020-07-07 21:05:39 +02:00
Leandro Lanzieri
88819c3118
pkg/cryptoauthlib/atca: Fix documentation group 2020-07-06 16:26:13 +02:00
Martine Lenders
d510e034ea
Merge pull request #13552 from haukepetersen/add_nimble_statconn
pkg/nimble: add static connection manager `statconn`
2020-07-06 09:59:13 +02:00
Hauke Petersen
3591206cbb pkt/nimble: add statconn static connection manager 2020-07-06 08:14:09 +02:00
Javier FILEIV
4214136766 pkg/paho-mqtt: add pkg paho-mqtt 2020-07-05 19:10:41 +02:00
Cenk Gündoğan
8356b93d1c pkg: openthread: do not hardcode number of parallel jobs 2020-07-03 12:03:06 +02:00
Cenk Gündoğan
7aa499d5f1 make: use $(MAKE) instead of direct make call 2020-07-03 12:03:06 +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
benpicco
e1d27cb7d5
Merge pull request #14394 from sven-hm/fatfs_vfs_fstat
pkg/fatfs/fatfs_vfs: fix _fstat
2020-06-30 18:30:26 +02:00
Francisco
59b58eaef2
Merge pull request #14389 from aabadie/pr/doc/package_enh
pkg/doc.txt: improve rendering of source location documentation
2020-06-30 15:13:52 +02:00
d98ddfad9a
Merge pull request #13824 from fjmolinas/pr_openwsn
pkg/openwsn: re-integrate the network stack as a package
2020-06-30 14:08:10 +02:00
Francisco Molina
844ccfbeb3
pkg/OpenWSN: initial import
Co-authored-by: Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
Co-authored-by: Jose Alamos <jose.alamos@haw-hamburg.de>
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2020-06-30 13:08:36 +02:00
Sven Herrmann
75a9ad0be1 pkg/fatfs/fatfs_vfs: fix fstat 2020-06-30 07:45:08 +00:00
benpicco
3af5efe5cd
Merge pull request #14175 from sven-hm/fatfs_vfs_open_flag_translation
pkg/fatfs/fatfs_vfs: fix flag translation in _open
2020-06-29 23:40:55 +02:00
5a9399e4c2
pkg/doc.txt: improve rendering of source location documentation 2020-06-29 15:53:25 +02:00
Sven Herrmann
4469d8f0fb pkg/fatfs/fatfs_vfs: fix flag translation in _open 2020-06-29 10:06:28 +00:00
5325233928
pkg/emlearn: add support to RIOT 2020-06-28 21:50:51 +02:00
Gunar Schorcht
b64ce62a8f pkg/lwip: fixes the netif handling for atwinc15x0
With PR #14349 the double stack mode for lwIP was activated. The ATWINC15x0 driver was provided before the changes in PR #14349 but merged after that. Therefore, the changes for the driver were not taken into account anymore and have to be applied accordingly.
2020-06-27 11:09:50 +02:00
Gunar Schorcht
4b38d37cfd pkg/driver_atwinc15x0: enable vendor spi_flash 2020-06-26 12:36:56 +02:00
Gunar Schorcht
f92d2acb0a pkg/lwip: support of ATWINC15x0 WiFi netdev 2020-06-26 12:33:38 +02:00
Gunar Schorcht
649b315214 pkg: add ATWINC15x0 vendor driver as package
fixup! pkg: add ATWINC15x0 vendor driver as package

fixup! pkg: add ATWINC15x0 vendor driver as package
2020-06-26 12:33:38 +02:00
42912b40eb
pkg/doc.txt: document the package source code locations 2020-06-26 09:25:45 +02:00
f67cff2458
pkg/Makefile.git: adapt example to new organization 2020-06-26 09:25:44 +02:00
91fbb42061
pkg: let some packages to remain built in-source
openthread, micropython and nordic_softdevice cannot be built out-of-source
2020-06-26 09:25:44 +02:00
a8eb1f5d53
pkg: adapt cmake based packages to the new organization 2020-06-26 09:25:44 +02:00
385ad95701
pkg: adapt 'simple' packages to the new organization 2020-06-26 09:25:43 +02:00
b633f875e2
pkg/pkg.mk: better distinguish between source and build directory 2020-06-26 09:25:43 +02:00
Francisco
903ad1e888
Merge pull request #14354 from miri64/drivers/cleanup/rm-NETOPT_IPV6_IID
netdev: remove NETOPT_IPV6_IID support for network devices
2020-06-25 15:53:33 +02:00
Martine S. Lenders
0035bf03bd
pkg/nordic_softdevice_ble: remove NETOPT_IPV6_IID support
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9.
2020-06-25 13:41:33 +02:00
Martine S. Lenders
e80c473830
pkg/lwip: only use ip4_addr_t component of IP4_ADDR_ANY at bootstrap
IP4_ADDR_ANY is a generic address of type IPv4 when lwIP is compiled
with both IPv4 and IPv6, so we need to extract the `ip4_addr_t`
component when using with `netif_add()` as that is the expected type.
2020-06-25 12:45:37 +02:00
Martine S. Lenders
c0b7560dde
pkg/lwip: remove code duplication for IPv4-based netif initialization 2020-06-25 12:45:37 +02:00
Martine S. Lenders
035acc2e53
pkg/lwip: remove ipv6only clause for AF_INET6 sockets 2020-06-24 18:44:06 +02:00
dc2be00c63
pkg/lua: remove unnecessary patch 2020-06-24 10:19:32 +02:00
6b3f241be2
pkg/pkg.mk: define GITCACHE and only export GIT_CACHE_DIR from there 2020-06-23 14:54:25 +02:00
b4e268423e
Merge pull request #14286 from aabadie/pr/pkg/cmake_build_source_dir
pkg: tools: ensure cmake based packages/tools are built out-of-source
2020-06-23 12:50:39 +02:00
ae95e33308
Merge pull request #14297 from aabadie/pr/pkg/prepare
pkg/pkg.mk: silent prepare target when there's nothing to prepare
2020-06-23 11:49:16 +02:00
6235d74ac9
Merge pull request #14280 from aabadie/pr/pkg/cleanup_header_only
pkg: remove unecessary module, especially for header-only packages
2020-06-23 11:22:55 +02:00
962eea6c4e
pkg.mk: all depends on prepare 2020-06-23 11:17:28 +02:00
b87898df5e
pkg/pkg.mk: silent prepare target when there's nothing to be done 2020-06-23 11:05:31 +02:00
Martine Lenders
2b90d9b833
Merge pull request #12907 from miri64/tinydtls/enh/async-sock
tinydtls: add `sock_async` support for `sock_dtls`
2020-06-22 08:25:16 +02:00
f869354c76
pkg/relic: add custom prepared target
This custom prepared target create an include directory in the build directory which is set globally in the INCLUDES variables.
2020-06-19 14:24:34 +02:00
3cdc337c22
pkg/pkg.mk: add custom prepared target
This target is called by the prepare target and does nothing by default
2020-06-19 14:24:33 +02:00
0087a2a892
pkg/jerryscript: refactor Makefile 2020-06-19 14:23:49 +02:00
b67578899f
pkg/ccn-lite: improve out-of-source build 2020-06-19 14:23:49 +02:00
188ca56e1c
pkg/jerryscript: remove non existent use of CMake variable 2020-06-19 14:23:49 +02:00
82947ec156
pkg/jerryscript: configure out-of-source build with cmake 2020-06-19 14:23:48 +02:00
0aa4fffe81
pkg/relic: separate cmake build dir from source dir 2020-06-19 14:23:48 +02:00
Leandro Lanzieri
e7dcc28072
Merge pull request #14268 from aabadie/pr/pkg/cryptoauthlib_cleanup
pkg/cryptoauthlib: cleanup build system integration
2020-06-19 11:53:42 +02:00
Bas Stottelaar
685bbc6f8a pkg/gecko_sdk: update to v2.7.6 2020-06-19 00:38:23 +02:00
Martine Lenders
4013c616f7
tinydtls: add sock_async support for sock_dtls 2020-06-18 15:40:41 +02:00
M Aiman Ismail
44f2f50c89 tinydtls_sock_dtls: don't put alert & EVENT_CONNECT in mbox 2020-06-18 14:14:12 +02:00
M Aiman Ismail
2e16b90b38 tinydtls_sock_dtls: save session information after data decrypted 2020-06-18 14:04:51 +02:00
Leandro Lanzieri
2bdf9b16ee
Merge pull request #14274 from aabadie/pr/pkg/wolfssl_make_enh
pkg/wolfssl: improve build system integration
2020-06-18 10:47:31 +02:00
Benjamin Valentin
adbf9ef3ac vfs: select VFS params to accommodate all enabled file systems 2020-06-17 16:00:24 +02:00
Benjamin Valentin
3068dad305 pkg/spiffs: set VFS params 2020-06-17 16:00:24 +02:00
Benjamin Valentin
67d68b2bd3 pkg/littlefs2: set VFS params 2020-06-17 16:00:24 +02:00
Benjamin Valentin
17236a12e9 pkg/littlefs: set VFS params 2020-06-17 15:58:33 +02:00
Benjamin Valentin
eae9e3cf67 pkg/fatfs: set VFS params 2020-06-17 15:58:33 +02:00
Bas Stottelaar
7d73e8acaf pkg/ucglib: refactor the Ucglib package
- Passing RIOT-OS specific data as user_ptr
- Added necessary macros to Makefile.dep
- Added missing explicit dependency to xtimer module
- Added ucg_riotos.h with the RIOT-OS specific functionality
- Removed the now-obsolete patch of Ucglib
- Other minor fixes
2020-06-17 00:47:54 +02:00
Bas Stottelaar
3d4a330153
Merge pull request #14273 from aabadie/pr/pkg/ucglib_make
pkg/ucglib: improve build system integration
2020-06-17 00:32:48 +02:00
Bas Stottelaar
0455bacec7
Merge pull request #14272 from aabadie/pr/pkg/u8g2_make_enh
pkg/u8g2: improve build system integration
2020-06-17 00:26:50 +02:00
Francisco
e3c9894402
Merge pull request #14282 from aabadie/pr/pkg/openthread_make_rework
pkg/openthread: improve package Makefile
2020-06-16 21:13:04 +02:00
4b087a73a5
Merge pull request #14299 from fjmolinas/pr_pkg_git_patch
pkg/pkg.mk: explicitly exclude state files
2020-06-16 19:28:51 +02:00
Leandro Lanzieri
2546f92d37
Merge pull request #14251 from aabadie/pr/pkg/make_enh
pkg: avoid copying Makefiles in package source when possible
2020-06-16 17:00:30 +02:00
Francisco Molina
1a069f2631
pkg/pkg.mk: explicitly exclude state files 2020-06-16 16:27:57 +02:00
Francisco
3935c7630f
Merge pull request #14266 from haukepetersen/opt_nimble_mbufinit
pkg/nimble/netif: simplify mbuf pool initialization
2020-06-16 14:02:55 +02:00
Francisco
315b97939f
Merge pull request #14246 from leandrolanzieri/pr/cpu_arch_to_cpu_core
cpu: Rename CPU_ARCH to CPU_CORE
2020-06-16 13:48:08 +02:00
Leandro Lanzieri
89570087d8
Merge pull request #14250 from aabadie/pr/pkg/semtech_loramac_make
pkg/semtech-loramac: cleanup build system integration
2020-06-16 13:12:48 +02:00
Leandro Lanzieri
649017f0b2
cpu/cortexm_common: Rename arch_cortexm feature to cpu_core_cortexm 2020-06-16 12:05:41 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
2778e037fe
Merge pull request #14220 from aabadie/pr/pkg/lwip_nrf802154
pkg/lwip: add support for nrf802154
2020-06-16 11:13:33 +02:00
fd5c51f903
pkg/lvgl: declare module as pseudomodule
There's no lvgl module to build with package, only lvgl_xx modules.
2020-06-14 22:20:38 +02:00
609a0b6109
pkg/gemmlowp: declare module as pseudomodule
This package is only use for its headers so there's no module to build.
2020-06-14 22:20:38 +02:00
21c9acbd6b
pkg/flatbuffers: declare module as pseudomodule
This package is only use for its headers so there's no module to build.
2020-06-14 22:20:38 +02:00
d7ddf57596
pkg/openthread: improve package Makefile
This commit improves the target dependencis so that bootstrap and configure command are not run for each rebuild
2020-06-14 22:11:59 +02:00
b0d20fa603
pkg/nordic_softdevice_ble: don't alter archive before building
Use RIOT Makefile.base when possible or explictly set files to build in a module
2020-06-14 21:36:13 +02:00
c25f611258
pkg/nimble: use Makefile.base to build pkg modules when possible 2020-06-14 12:04:21 +02:00
ff37e8ee6d
pkg/cryptoauthlib: use out-of-source build / remove unused variable 2020-06-13 21:05:43 +02:00
18d6252461
pkg/micro-ecc: remove unnecessary patch for build system 2020-06-12 18:44:49 +02:00
f894862f61
pkg/tinycbor: remove unncessary patch 2020-06-12 18:44:49 +02:00
b203c5e541
pkg/tiny-asn1: remove unnecessary patches 2020-06-12 18:44:49 +02:00
e620d37924
pkg/monocypher: reduce scope of CFLAGS 2020-06-12 18:44:49 +02:00
67f117d997
pkg/monocypher: remove unecessary patches 2020-06-12 18:44:49 +02:00
a009684336
pkg: use Makefile.base to build pkg modules when possible 2020-06-12 18:44:49 +02:00
b76bf294ec
pkg/monocypher: pkg/tweetnacl: remove inconsitent use of 2020-06-12 18:44:48 +02:00
3209f7ce0c
pkg/littlefs2: always build littlefs2 fs (hard deps) 2020-06-12 18:44:48 +02:00
75b2de0ad3
pkg/littlefs2: remove redundant use of .PHONY: all
'all' is already set as .PHONY in pkg.mk
2020-06-12 18:44:48 +02:00
9464c34467
pkg: don't copy Makefile in package build directory
Instead use the '-f' option of the make command
2020-06-12 18:44:48 +02:00
0fc0ad7207
pkg/ucglib: clean build system integration
And leave the original repository untouched (except for patches)
2020-06-12 17:55:29 +02:00
86f9190a4c
pkg/wolfssl: improve build system integration
and avoid copying in the cloned repository when building
2020-06-12 17:49:09 +02:00
Hauke Petersen
f316f71abb pkg/nimble/netif: set host thread prio to ctrl+1 2020-06-12 14:50:42 +02:00
07a4d20acf
pkg/u8g2: improve build system integration 2020-06-12 10:31:59 +02:00
e1972999a3
pkg/cryptoauthlib: don't modify package source when building tests 2020-06-11 17:28:44 +02:00
Hauke Petersen
a0d34a707e pkg/nimble/netif: simplify mbuf pool initialization 2020-06-11 16:24:38 +02:00
Leandro Lanzieri
a4889b4207
Merge pull request #14248 from aabadie/pr/pkg/wakaama_make
pkg/wakaama: cleanup build system integration
2020-06-10 18:47:43 +02:00
9ebae8e92a
pkg/wakaama: fix indentation in Makefile.include 2020-06-10 14:19:27 +02:00
6de497a066
pkg/wakaama: cleanup build system integration
Avoid modifying the cloned repository for each build
2020-06-10 14:19:26 +02:00
198c9a8990
pkg/tinydtls: cleanup build system integration 2020-06-10 14:15:19 +02:00
12044356de
pkg/semtech-loramac: cleanup build system integration
Avoid copying Makefile in the cloned directory
2020-06-10 14:11:22 +02:00
8fb27b0d30
Merge pull request #14239 from aabadie/pr/pkg/cleanup_pkg.mk
pkg: fix some typos in pkg.mk
2020-06-09 19:30:19 +02:00
Martine Lenders
6af46bf398
Merge pull request #14235 from haukepetersen/opt_nimble_rmnetifptr
pkg/nimble/netif: remove redundant netif ptr
2020-06-09 16:01:04 +02:00
cb4bce393d
pkg/pkg.mk: fix patch prerequisites variable name 2020-06-09 15:14:01 +02:00
4bc8674822
pkg/pkg.mk: fix typo on 'prerequisites' 2020-06-09 15:13:26 +02:00
2b45d0e976
pkg/pkg.mk: remove non needed capital letter 2020-06-09 15:12:54 +02:00
MichelRottleuthner
bd44f63557
Merge pull request #14150 from miri64/lwip/enh/netdev_tap_ipv4
lwip: add IPv4 support for `netdev_tap`
2020-06-09 14:30:02 +02:00
Hauke Petersen
f024b4cd30 pkg/nimble/netif: remove redundant netif ptr 2020-06-09 12:27:08 +02:00
Martine S. Lenders
f5c4a05281
lwip: add IPv4 support for netdev_tap 2020-06-09 12:12:54 +02:00
b3620b35b8
pkg/lwip: add support for nrf802154 2020-06-07 21:24:14 +02:00
Martine Lenders
5ab1633c04
Merge pull request #14149 from miri64/sock_dtls/enh/udp_sock_getter
sock_dtls: provide getter function for UDP sock
2020-05-26 22:30:43 +02:00
Martine Lenders
a38428b8f2
Merge pull request #13701 from miri64/lwip_sock/enh/recv_buf
lwip_sock: provide implementation for `sock_*_recv_buf()`
2020-05-26 21:33:09 +02:00
Martine S. Lenders
ccdcc3679c
tinydtls: provide implementation for sock_dtls_get_udp_sock 2020-05-26 20:37:42 +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
MichelRottleuthner
b13a4d6c9c
Merge pull request #14060 from miri64/lwip_sock/fix/re-recv-signal
lwip_sock: re-issue receive events if there are still received messages after `*_recv()` or `*_accept()` was called.
2020-05-22 15:59:25 +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
3ad2724f44 sock_dtls: fix vera++ warnings on line length 2020-05-22 14:06:38 +02:00
Aiman Ismail
b5b7955743 sock_dtls: add sock_dtls_session_init()
deprecates sock_dtls_session_create()
2020-05-22 14:06:12 +02:00
Benjamin Valentin
3b2cfa6478 drivers/sdcard_spi: add auto_init_storage to DEFAULT_MODULE
sdcard_spi is the only driver in auto_init_storage and was previously
pulled in by fatsfs (because it's used on SD cards)

It does however make much more sense if the SD card driver pulls that in
so other file systems can be used on SD card too.
2020-05-20 11:57:05 +02:00
Leandro Lanzieri
16113afb1e
Merge pull request #14026 from miri64/gnrc_netif/fix/deps
gnrc_netif: use gnrc_netif-submodules to pull in upper-layer struct members
2020-05-19 16:36:18 +02:00
Martine S. Lenders
9801a439fc
gnrc_netif: introduce gnrc_netif_6lo pseudo-module for 6LoWPAN members
This aims to reduce circular dependencies in GNRC.
2020-05-19 16:10:59 +02:00
Aiman Ismail
7f883f4098 sock_dtls: add timeout to sock_dtls_send() 2020-05-18 09:45:14 +02:00
Semjon Kerner
686e90323a pkg/softdevice/doc.txt: add deprecation warning 2020-05-15 22:43:21 +02:00
c2896cc798
Merge pull request #13962 from haukepetersen/fix_nimble_netifmcastlock
nimble/netif: fix deadlock when sending multicast under load
2020-05-14 21:19:28 +02:00
Martine S. Lenders
ef1d458089
lwip_sock: re-issue receive events if there are still received messages
... after `*_recv()` or `*_accept()` was called.

This prevents a client from needing to call `*_recv()` or `*_accept()`
in a loop.
2020-05-12 14:19:34 +02:00
adb46b9ee7
Merge pull request #14006 from benpicco/sdcard_fixes
pkg/fs: initialize MTD device before accessing it's properties
2020-05-12 11:31:39 +02:00
benpicco
7037c95b44
Merge pull request #13412 from jue89/feature/cryptoauthlib-gpio-wake
pkg/cryptoauthlib: wake pulse implementation for CPUs supporting periph_i2c_reconfigure
2020-05-07 16:34:44 +02:00
fabian18
a3a1c160ee mtd: Change API to return 0 on success
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Juergen Fitschen
0680eae86b pkg/cryptoauthlib: wake pulse implementation for SAM0 CPUs 2020-05-06 12:03:26 +02:00
Martine S. Lenders
1c251beb03
gnrc_nettype: indirect NETTYPE definition via pseudo-modules
Instead of making a NETTYPE definition dependent on an implementation
module, this change makes it dependent on a pseudo-module for each
specific NETTYPE and makes the respective implementation modules
dependent on it.

This has two advantages:

- one does not need include the whole implementation module to
  subscribe to a NETTYPE for testing or to provide an alternative
  implementation
- A lot of circular dependencies related to GNRC could be untangled.
  E.g. the only reason `gnrc_icmpv6` needs the `gnrc_ipv6` is because it
  uses `GNRC_NETTYPE_IPV6` to search for the IPv6 header in an ICMPv6
  when demultiplexing an ICMPv6 header.

This change does not resolve these dependencies or include usages where
needed. The only dependency change is the addition of the
pseudo-modules to the implementation modules.
2020-05-05 19:16:06 +02:00
Benjamin Valentin
348b45f600 pkg/spiffs: init MTD device before accessing it's parameters
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.

Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
Benjamin Valentin
891a05dca6 pkg/littlefs2: init MTD device before accessing it's parameters
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.

Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
Benjamin Valentin
85a7254326 pkg/littlefs: init MTD device before accessing it's parameters
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.

Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
Martine S. Lenders
77b89bb968
lwip_sock: provide implementation for sock_*_recv_buf() 2020-04-28 09:46:07 +02:00
Hauke Petersen
a063512bb4 pkt/nimble/netif: do not block sending mcast 2020-04-27 15:16:27 +02:00
Hauke Petersen
d335c75855 pkt/nimble/netif_conn: add non-blocking iter func 2020-04-27 15:15:50 +02:00
ca4c9c38f5
pkg/semtech-loramac: fix rx thread documentation 2020-04-22 10:16:34 +02:00
84594e94cb pkg/ndn-riot: update patch to do implizit xtimer_t zeroing 2020-04-21 11:26:57 +02:00
2f9b77920d pkg/semtech-loramac: TimerInit(): use static struct initializer
Previously, TimerInit() explicitly set some values of the xtimer truct
to "0". This commit changes it to use a static struct initializer
`(xtimer_t){0}`. The advantage is that now this is independent of the
actual xtimer structure.

Now this also resets the remaining xtimer fields, but they're properly
re-populated elsewhere (by using xtimer_set_msg()).
2020-04-21 11:26:57 +02:00
Francisco Molina
2331448644
Makefile: remove usage of SUBMODULES_NOFORCE
With #10970 only existing *.c files will be added to SRC when using
the SUBMODULES mechanism, so SUBMODULES_NOFORCE (used to filter out
non existing source files) is now redundant so remove the usage.
2020-04-15 12:11:44 +02:00
3625fa9b95
littlefs2: bump to version 2.2.1 2020-04-09 15:39:14 +02:00
a5cf43da09
Merge pull request #13800 from benpicco/pkg/littlefs2-2.2
pkg/littlefs2: bump version to 2.2
2020-04-08 10:53:33 +02:00
Leandro Lanzieri
1f24698a2a
Merge pull request #13792 from benpicco/pkg/nanopb-fixes
pkg/nanopb: fix for proto files with includes
2020-04-08 10:37:20 +02:00
Benjamin Valentin
7227b00b97 pkg/nanopb: extend the documentation 2020-04-08 10:18:56 +02:00
Leandro Lanzieri
e5729ae527
Kconfig: Expose pkg/wakaama configurations 2020-04-07 16:29:00 +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
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
Aiman Ismail
bd0228342d tinydtls_sock_dtls: remove duplicate handle message 2020-04-05 16:11:18 +02:00
Benjamin Valentin
f74bdb6bca pkg/littlefs2: bump version to 2.2.0
Update to the new minor release.
2020-04-03 13:01:11 +02:00
Koos
b34b11a0c6 pkg/fatfs: fix day_of_month value of get_fattime() 2020-04-03 11:27:10 +02:00
Benjamin Valentin
7fd329b3a1 pkg/nanopb: fix for proto files with includes
Proto files can include other proto files.
E.g. nanopb comes with a `nanopb.proto` include that contains some
nanopb-specific extensions.

This patch makes it possible to include this file as well as specifying
additional proto include folders.

I added the include to `simple.proto` so it gets exercised by the test.
2020-04-02 17:21:25 +02:00
Peter Kietzmann
767cfc21a9
Merge pull request #13341 from Einhornhool/cryptoauth-shellhandler
sys/shell: add shell handler for CryptoAuth devices
2020-03-31 22:19:21 +02:00
Lena Boeckmann
5bc0b15114 sys/shell: add cryptoauthlib shell handler 2020-03-31 21:31:24 +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
d8751f79d4 pkg: add libbase58 2020-03-29 23:18:34 +02:00
Jose Alamos
9cf2da0287 pkg/ccn-lite: add patch for replacing GNRC_NETIF_NUMOF 2020-03-26 14:19:03 +01:00
Jose Alamos
aa5e6090f0 pkg/ndn-riot: add patch for replacing GNRC_NETIF_NUMOF 2020-03-26 14:19:03 +01:00
Jose Alamos
67ed9defbe gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
95fa4bae5a
pkg/libcose: remove Monocypher as crypto backend
With the 3.0.0 update of monocypher the API changed enough to break
libcose compatibility. This PR removes monocypher from the crypto
options. It can be restored as soon as upstream libcose is updated to
restore compatibility
2020-03-25 09:37:12 +01:00
fad397b62e
Merge pull request #13351 from Carton32/monocypher_update
pkg/monocypher: bump to version 3.0.0
2020-03-25 09:36:12 +01:00
Gunar Schorcht
5c65409dfc pkg/wakaama: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
8d6dfa65ef pkg/lua: fix broken links 2020-03-24 10:38:40 +01:00
dbe167e474
pkg/lvgl: add LittlevGL package 2020-03-18 14:15:38 +01:00
39d9d599cc
Merge pull request #13620 from kaspar030/add_pkg_yxml
pkg/yxml: add Yxml XML parser library package
2020-03-17 11:06:19 +01:00
Martine Lenders
5defa1ae34
Merge pull request #13466 from gschorcht/fix_compilation_with_ndebug
tests: fix compilation problems with NDEBUG
2020-03-12 19:34:33 +01:00
Gunar Schorcht
0378fd2697 pkg/ubasic: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Robert Hartung
dc6665d5cf
Merge pull request #12717 from dylad/pr/bme680_pkg_driver
driver/bme680: add I2C/SPI driver for BME680 device
2020-03-12 14:00:40 +01:00
fd0fd1cb3c pkg/yxml: add Yxml XML parsing library 2020-03-12 13:09:56 +01:00
Gunar Schorcht
90fb789697 pkg: add Bosch Sensortech BME680 driver
Add the vendor driver implementation from Bosch Sensortech as a package.
2020-03-12 08:42:11 +01:00
Martine S. Lenders
29651da8f4
lwip_sock: update implementation for async callback argument 2020-03-11 16:54:12 +01:00
Martine S. Lenders
612e782b3c
sock_async: supply optional callback argument with callback setter 2020-03-11 16:54:11 +01:00
Martine S. Lenders
6e6e435c65
sock_async: add optional callback argument 2020-03-11 16:54:11 +01:00
Aydogan Ersoz
d66f35c31a add QCBOR package 2020-03-09 20:29:50 +01:00
Aiman Ismail
e0a02705b2 examples/dtls-sock: change unsupported %zd to %d 2020-03-09 15:08:52 +01:00
Aiman Ismail
aa3cbacceb net/sock_dtls: do not put msg in mbox on timeout 2020-03-09 15:08:52 +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
Gunar Schorcht
fc37d7bf81
Merge pull request #13427 from miri64/lwip/enh/sock_async
lwip: provide sock_async support
2020-03-06 14:37:54 +01:00
Aiman Ismail
a6432cff92 Kconfig: Expose pkg/tinydtls configurations 2020-03-06 13:53:51 +01:00
Martine Lenders
a7ef50636e
lwip: activate TCP_LISTEN_BACKLOG per default with sock_tcp
Prevents unnecessary usage of resources, as the queue of `sock_tcp` is
restricted.
2020-03-06 11:29:46 +01:00
Martine Lenders
1a4e6e9cdb
lwip_sock_tcp: close accepted connection if queue is full 2020-03-06 11:29:45 +01:00
Martine S. Lenders
e98e2f6143
lwip: fix style errors found by Vera++ 2020-03-06 11:29:45 +01:00
Martine S. Lenders
fc67e6143a
lwip: provide sock_async support 2020-03-06 11:28:16 +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
Leandro Lanzieri
7a44d8ecf7 Kconfig: Add 'Packages' file and menu 2020-03-05 19:11:38 +01:00
Juergen Fitschen
0a931c833c pkg/cryptoauthlib: enable boards to set auto init parameters 2020-03-04 11:27:49 +01:00
MichelRottleuthner
698f313f6f
Merge pull request #13489 from miri64/tinydtls/enh/mbox-recv
tinydtls: remove receive buffer indirection via mbox
2020-03-04 10:03:39 +01:00
Martine S. Lenders
f8198dbf6f
tinydtls: remove receive buffer indirection via mbox 2020-03-03 14:42:16 +01:00
bdeae779c3
Merge pull request #13528 from haukepetersen/opt_nimble_autoconndbgmsgfix
pkg/nimble/autoconn: minor debug message cleanup
2020-03-03 09:46:08 +01:00
Cenk Gündoğan
8c202d5ac5
Merge pull request #13437 from leandrolanzieri/pr/pkg/local_mk/add_force_to_phony
pkg/local.mk: Add FORCE target to .PHONY
2020-03-02 18:17:51 +01:00
MichelRottleuthner
10226aa4f5
Merge pull request #13260 from benpicco/wolfssl-update
pkg/wolfssl: bump version to 4.3.0
2020-03-02 15:57:36 +01:00
Hauke Petersen
2e8186f4f4 pkg/nimble/autoconn: minor debug message cleanup 2020-03-02 15:24:32 +01:00
Benjamin Valentin
e6bc8d773e pkg/wolfssl: bump version to 4.3.0
Update to the latest upstream release

https://www.wolfssl.com/docs/wolfssl-changelog/

This unfortunetaly introduced some unused parameter warnings, so disable
the warning via CFLAGS.
2020-03-02 15:10:29 +01:00
Hauke Petersen
093b7e2337 pkg/nimble/netif: minor API doc improvement 2020-03-02 11:13:09 +01:00
Gunar Schorcht
93329a7457 pkg/cryptoauthlib: fix grouping in doc 2020-02-27 08:43:21 +01:00
benpicco
098852b627
Merge pull request #13228 from benpicco/pkg-nanopb-0.4
pkg/nanopb: bump version to 0.4.1
2020-02-26 15:11:52 +01:00
0a4cc06d44 pkg/openthread: add "-Wno-class-memaccess" to CXXFLAGS 2020-02-24 14:12:13 +01:00
Martine S. Lenders
20805548b3 lwip: introduce sock base-type 2020-02-21 19:07:47 +01:00
Leandro Lanzieri
a9536e6df6 pkg/local.mk: Add FORCE target to .PHONY 2020-02-21 14:59:13 +01:00
Benjamin Valentin
f295e6061a pkg/lwip: use GitHub mirror
git.savannah.nongnu.org seems to be rate-limiting us, so switch to
a mirror on GitHub.
2020-02-21 14:40:38 +01:00
benpicco
336bfe54a9
Merge pull request #13366 from bergzand/pr/littlefs2/add_pkg
pkg/littlefs2: Add package for LittleFS v2.x.y
2020-02-20 16:23:59 +01:00
9b02c7b4ee
pkg/littlefs2: Add package for LittleFS v2.x.y 2020-02-20 14:51:45 +01:00
Leandro Lanzieri
c829f820ee pkg: Remove OONF API package
The package has been flagged as deprecated in
07099d99d8, due to lack of users, tests
and maintenance.
2020-02-19 15:04:21 +01:00
Carton
535499cc5f pkg/monocypher: bump to version 3.0.0 2020-02-17 15:30:45 +01:00
fdd2b97387
pkg/cmsis-nn: add support 2020-02-14 16:23:41 +01:00
Benjamin Valentin
1f4b207b66 pkg/minmea: add minmea_getdate()
Add a fucntion to expose the internal `struct tm` that is populated
with the GPS date.

This allows for easy syncing the RTC with the GPS time without having
to convert back and forth between `struct tm` and `time_t`.

    struct tm now;
    minmea_getdate(&now, data, time);
    rtc_set_time(&now)

upstream PR: https://github.com/kosma/minmea/pull/45
2020-02-13 15:55:33 +01:00
Francisco Molina
7bfb855a86
Makefile.dep: auto_init_% as DEFAULT_MODULES
Having the modules as DEFAULT_MODULES allows disabling them.
2020-02-12 16:51:32 +01:00
Francisco Molina
afc43bf314
Makefile.dep: add auto_init_lwip MODULE 2020-02-12 16:51:29 +01:00
Benjamin Valentin
f7c1b3fb91 pkg/nanopb: bump version to 0.4.1
Update the version of the nanopb package to the latest upstream release.
2020-02-11 21:07:13 +01:00
chrysn
6a493cce58 pkg/nordic_softdevice_ble: Add note on being outdated
See-Also: https://github.com/RIOT-OS/RIOT/issues/11951
2020-02-11 09:59:18 +01:00
chrysn
461065471d pkg/nordic_softdevice_ble: Move README in with doxygen 2020-02-11 09:46:15 +01:00
b685b4d720
Merge pull request #13303 from chrysn-pull-requests/doc-libcose
pkg/libcose: Add to documentation
2020-02-10 20:36:21 +01:00
chrysn
2c83308ec2 pkg/libcose: Add to documentation 2020-02-10 17:15:57 +01:00
Peter Kietzmann
b339b1c134
Merge pull request #13254 from maksim-ka/pr-relic-branch
pkg/relic: use random module for seeding relic PRNG
2020-02-06 23:48:43 +01:00
maksim-ka
d3d181c5a8 pkg/relic: use random module for seeding relic PRNG 2020-02-06 21:11:39 +01:00
Sebastian Meiling
24f6b3953a
Merge pull request #13290 from pokgak/pr/tinydtls/cleanup
tinydtls: remove TINYDTLS_LOG and cleanup
2020-02-06 14:58:36 +01:00
benpicco
cfb383593d
Merge pull request #13298 from Einhornhool/cryptoauth-doc
pkg/cryptoauthlib: add no poll mode to documentation
2020-02-06 12:12:33 +01:00
Lena Boeckmann
eec8580dc3 pkg/cryptoauthlib: add no poll mode to doc 2020-02-06 09:48:38 +01:00
Peter Kietzmann
f871f64292
Merge pull request #13297 from Einhornhool/cryptoauth-llvm
pkg/cryptoauthlib: add includes to cflags for llvm
2020-02-05 22:11:44 +01:00
benpicco
f144a12c71
Merge pull request #13092 from Ciusss89/lwip_enc28j60
pkg/lwip: add auto-init support for transciever ENC28J60
2020-02-05 22:08:28 +01:00
Lena Boeckmann
1ee1ffa1e3 pkg/cryptoauthlib: add includes to cflags for llvm 2020-02-05 16:52:12 +01:00
Lena Boeckmann
23aa05126d pkg/cryptoauthlib: make atca dev type configurable 2020-02-05 16:51:43 +01:00
Aiman Ismail
5391e50bb7 pkg/tinydtls: cleanup Makefile.include
- Removes `TINYDTLS_LOG` because it is redundant with `TINYDTLS_LOG_LVL`
- Remove check for using tinydtls module because the Makefile will only
be included if the tinydtls module is used
2020-02-05 07:00:14 +01:00
Giuseppe Tipaldi
c8426ce8f5 pkg/lwip: add auto-init support for transciever ENC28J60 2020-01-31 22:01:49 +01:00
Lena Boeckmann
529f3c8b61 pkg: add cryptoauthlib 2020-01-30 23:51:35 +01:00
7a1859d660
pkg/nordic-softdevice: define dependencies in package 2020-01-27 12:51:19 +01:00
2b3a9d0e4b
pkg/ndn-riot: define dependencies in package 2020-01-27 12:51:19 +01:00
Hauke Petersen
91eca47b1f
Merge pull request #13191 from haukepetersen/opt_nimble_autoconnacceptstop
pkg/nimble/autoconn: collection of improvements
2020-01-23 18:54:24 +01:00
Hauke Petersen
6537a04b97 pkg/nimble/autoconn: improve en/disable code 2020-01-23 17:24:33 +01:00
Hauke Petersen
fddcd928d7 pkg/nimble/autoconn: fix internal slave conn state 2020-01-23 17:23:49 +01:00
Hauke Petersen
e6513924a3 pkg/nimble/autoconn: handle ACCEPT_STOP event 2020-01-23 17:22:08 +01:00
Hauke Petersen
5b6b28ab09 pkg/nimble/autoconn: fix conn_params 2020-01-23 17:19:39 +01:00
Hauke Petersen
8c4e70ebfd pkg/nimble/autoconn: make conn_timeout configurable 2020-01-23 17:18:36 +01:00
Hauke Petersen
5c5ba9f740 pkg/nimble/netif: add ACCEPT_STOP event 2020-01-23 17:16:29 +01:00
Sebastian Meiling
999f895672 pkg/micropython: bump version for FreeBSD fix 2020-01-23 11:58:59 +01:00
cb50730fea
pkg/tensorflow-lite: blacklist LLVM for cortexm cpu arch 2020-01-16 14:03:43 +01:00
556914f67b
pkg/tensorflow-lite: blacklist esp32 architecture 2020-01-16 07:59:00 +01:00
18d15b6f27
Merge pull request #13132 from leandrolanzieri/pr/pkg/tinydtls_fix_contrib_include
pkg/tinydtls: Only include contrib folder if using tinydtls_sock_dtls
2020-01-15 20:37:07 +01:00
Martine Lenders
04a673fc8b
Merge pull request #12716 from miri64/gnrc_netif/enh/use-netif_hdr-setter
nimble/netif: use gnrc_netif_hdr_set_netif()
2020-01-15 18:18:20 +01:00
Leandro Lanzieri
0d419f0391 pkg/tinydtls: Only include contrib folder if using tinydtls_sock_dtls 2020-01-15 16:10:33 +01:00
Hauke Petersen
5d6063bfcb
Merge pull request #13112 from haukepetersen/opt_nimble_verjan20removextimerpath
pkg/nimble: bump version and remove obsolete patch
2020-01-15 10:09:12 +01:00
2c3c967244
pkg/tensorflow-lite: add support to RIOT 2020-01-14 22:23:06 +01:00
2af88551e7
pkg: add support to gemmlowp library 2020-01-14 22:23:06 +01:00
petr
b253f61a7f pkg/u8g2: refactor the U8g2 package
- Passing RIOT-OS specific data as user_ptr
- Added necessary macros to Makefile.dep
- Added missing explicit dependency to xtimer module
- Renamed u8g2_riotos.c to more appropriate u8x8_riotos.c
- Added u8x8_riotos.h with the RIOT-OS specific functionality
- Removed the now-obsolete patch of U8g2
- Other minor fixes
2020-01-14 13:23:25 +01:00
Hauke Petersen
723aadcc87 pkg/nimble: bump version and remove obsolete patch 2020-01-13 21:00:48 +01:00
Hauke Petersen
001a216e9e
Merge pull request #13084 from haukepetersen/opt_nimble_netifl2capabort
pkg/nimble_netif: catch L2CAP connection failures
2020-01-13 14:40:32 +01:00
4524fb1f1e
Merge pull request #12846 from aabadie/pr/pkg/flatbuffers
pkg: add support for FlatBuffers serialization library
2020-01-13 10:17:56 +01:00
Francisco
e61a9be30d
Merge pull request #13101 from basilfx/feature/gecko_sdk_27
pkg/gecko_sdk: update to version 2.7
2020-01-13 09:44:03 +01:00
71d9f361ee
pkg/flatbuffers: add support to RIOT 2020-01-13 09:41:23 +01:00
MichelRottleuthner
53cb3b087c
Merge pull request #9530 from Hyungsin/forupstream_xtimer
sys: xtimer concurrency/robustness improvement
2020-01-13 08:24:15 +01:00
Bas Stottelaar
f8a972397b pkg/gecko_sdk: update to version 2.7 2020-01-12 22:23:39 +01:00
Hyungsin
3e4a86d84b pkg/nimble: add a patch to reflect xtimer's member change 2020-01-10 13:22:01 -08:00
Hyungsin
1ee8801306 pkg/ndn-riot: add a patch to reflect xtimer's member change 2020-01-10 13:21:51 -08:00
Hyungsin
3289acccfb pkg/semtech-loramac/contrib: reflecting xtimer's member change 2020-01-10 13:21:14 -08:00
Hauke Petersen
11a0e3efa0 pkg/nimble_autoconn: handle new events 2020-01-10 17:14:51 +01:00
Hauke Petersen
dbb8e9e52b pkg/nimble_netif: add additional events 2020-01-10 16:36:12 +01:00
Hauke Petersen
dcb0840260 pkg/nimble_netif: catch L2CAP connection failures 2020-01-10 15:50:53 +01:00
Hauke Petersen
357ba259bd pkg/nimble_autoconn: optimize debug output 2020-01-10 13:44:25 +01:00
Martine Lenders
87d00ab294
Merge pull request #12932 from miri64/lwip_sock/fix/sock-cleanup
lwip_sock: clean-up connection handling without a sock.
2020-01-09 15:00:55 +01:00
Francisco Molina
673ff3e94a pkg/local.mk: fix local pkg build 2020-01-09 11:19:06 +01:00
Francisco
c8461a4bef
Merge pull request #13036 from basilfx/feature/save_state_and_dependencies
pkg/pkg.mk: use intermediate state files
2020-01-08 22:57:12 +01:00
PeterKietzmann
ee53dd958c pkg/ccn-lite: bump version 2020-01-08 22:26:56 +01:00
Gaëtan Harter
ca5d13cc2a pkg/*: adapt to new state file targets
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
Bas Stottelaar
831898f735 pkg: adapt Makefile template 2020-01-08 20:55:19 +01:00
Gaëtan Harter
9b6526c911 pkg/pkg.mk: use intermediate state files
Rely on file creation and dependencies instead of .PHONY targets.
Files will be rebuilt when changing version as the main `Makefile` will
have been updated. All steps are re-done on version change.

When deleting patches, the '.prepare' step should be redone thanks
to the included 'patch-dep.inc' file (TODO TEST ME).

Implementation in order:

* '.git': means the repository has been cloned.
* '.git-downloaded': Fetches the wanted version
* '.git-prepared': will clean checkout the version and apply patches
2020-01-08 20:55:19 +01:00
Gaëtan Harter
1a07471311 pkg/pkg.mk: ensure file is included at the beginning
This should prevent issues where the Makefile use 'PKG_BUILDDIR' before
them being defined.

This will also allow changing the state targets to be file targets.
2020-01-08 20:54:54 +01:00
Gaëtan Harter
0b7f5c2272 pkg/pkg.mk: prepare to move include at the beginning
The file must not change the default goal otherwise it could change
packages behavior.
2020-01-08 20:54:54 +01:00
087246ea0f
pkg: add support for utensor as a package 2020-01-07 11:22:38 +01:00
Francisco
41808f0286
Merge pull request #13031 from basilfx/feature/gecko_sdk_fix_hash
pkg/gecko_sdk: correct SHA-1 of package.
2020-01-06 11:30:29 +01:00
Bas Stottelaar
19575ea4b6 pkg: add PKG_LICENSE to templates 2020-01-06 00:37:47 +01:00
Gaëtan Harter
0e6b22dd2e pkg/openthread: define PKG_LICENSE to BSD 3-Clause
The 'BSD 3-Clause "New" or "Revised" License' is the value found by
github

3a248f649a/LICENSE

> A permissive license similar to the BSD 2-Clause License, but with a 3rd
> clause that prohibits others from using the name of the project or its
> contributors to promote derived products without written consent.
2020-01-06 00:37:47 +01:00
Gaëtan Harter
c5b4064267 pkg/heatshrink: define PKG_LICENSE to ISC-License
This "ISC License" is the value found by github

7d419e1fa4/LICENSE

    A permissive license lets people do anything with your code with proper
    attribution and without warranty. The ISC license is functionally
    equivalent to the BSD 2-Clause and MIT licenses, removing some language
    that is no longer necessary.
2020-01-06 00:37:47 +01:00
Gaëtan Harter
239f16a8f6 pkg/pkg.mk: explicit set --git-dir and --work-tree for git
This should prevent issues when the directory is not a git repository
which would for example checkout force or clean in the RIOT repository
instead.
2020-01-06 00:37:47 +01:00
Gaëtan Harter
edca088193 pkg/pkg.mk: add checks for required variables
Ensure the required variables are defined before including 'pkg.mk'.
2020-01-06 00:18:05 +01:00
Bas Stottelaar
e88bbec313 pkg/gecko_sdk: correct SHA-1 of package. 2020-01-05 23:57:28 +01:00
3e3f4e2324
pkg/jerryscript: ensure MCPU is exported
This export is only performed for the libjerry target
2020-01-03 14:20:21 +01:00
Hauke Petersen
0676fc4ba1 pkg/nimble/autoconn: improve debug output 2019-12-18 17:06:57 +01:00
Hauke Petersen
16468acadc pkg/nimble/autoconn: add user event callback 2019-12-18 17:05:48 +01:00
Hauke Petersen
49491bee3c pkt/nimble/netif: pass BLE addr to event callback 2019-12-18 17:05:48 +01:00
Hauke Petersen
fe2293b601 pkg/nimble/autoconn: add startup delay 2019-12-18 16:27:33 +01:00
benpicco
f7cb0a096e
Merge pull request #12899 from benpicco/lpc2387-micropython
cpu/lpc2387: align lpc2387.ld with cortexm_base.ld, provide thread_isr_stack_*() - enables MicroPython
2019-12-18 12:08:12 +01:00
benpicco
4f4e7cde16
Merge pull request #12965 from gschorcht/pkg/lwip/ipv4_dhcp
pkg/lwip: start DHCP for a netif with lwip_dhcp
2019-12-18 09:21:29 +01:00
Gunar Schorcht
ff506ccf07 pkg/lwip: start DHCP for a netif with lwip_dhcp
The NETDEV_EVENT_LINK_UP is used to start DHCP for a network interface
2019-12-18 07:16:41 +01:00
benpicco
cfeb2a3843
Merge pull request #12949 from gschorcht/cpu/esp8266/enable_lwip
cpu/esp8266: enable lwIP for ESP8266
2019-12-17 13:39:35 +01:00
Benjamin Valentin
071917cf56 pkg/micropython: remove arch_arm7 from blacklist
arm7 now provides ISR_STACKSIZE and thread_isr_stack_start()
so there is no longer a reason to blacklist it.
2019-12-17 13:37:32 +01:00
Gunar Schorcht
ddc34b4d73 cpu/esp: fix lwip for IPv4 and esp_wifi 2019-12-17 08:28:33 +01:00
Gunar Schorcht
8021888c06 pkg/lwip: remove esp8266 from blacklist 2019-12-17 08:28:33 +01:00
Hauke Petersen
ffd8fc9976 pkg/nimble: bump version to 946cfb7 2019-12-16 13:47:44 +01:00
Hauke Petersen
51a65b256d pkg/nimble: used LL data length ext. with netif 2019-12-16 13:47:44 +01:00
Gunar Schorcht
3257c8e9f5
Merge pull request #12903 from wosym/lwip_stm32_ipv4
Add IPv4 support for LWIP-stm32
2019-12-16 11:45:24 +01:00
benpicco
50f5060e90
Merge pull request #12948 from gschorcht/pkg/lwip/lwipopts_fix_cleanup
pkg/lwip: overiddable settings in lwipopts.h
2019-12-16 10:43:34 +01:00
benpicco
8c4498ad8e
Merge pull request #12950 from gschorcht/cpu/esp32/lwip_eth
pkg/lwip: add support for esp32 Ethernet device
2019-12-16 10:33:47 +01:00
Wouter Symons
a3145a0ad0 pkg/lwip: correct coding style 2019-12-16 10:29:21 +01:00
Wouter Symons
5c42f680ed pkg/lwip: add IPv4 support for LWIP-stm32 2019-12-16 10:28:46 +01:00
Gunar Schorcht
aa3f1329bf pkg/lwip: remove TCPIP_THREAD_PRIO for ESP32
This definition is platform dependent and should be therefore done with CFLAGS in ESP332's Makefile.
2019-12-15 23:50:45 +01:00
Gunar Schorcht
91e764a538 pkg/lwip: add esp_eth for lwIP and IPv4 2019-12-15 19:11:58 +01:00
Gunar Schorcht
4e003b5608 pkg/lwip: add ESP32 esp_eth netdev 2019-12-14 16:59:54 +01:00
Gunar Schorcht
117d6d1f2f pkg/lwip: make TCPIP_THREAD_STACKSIZE overridable 2019-12-14 10:39:14 +01:00
Wouter Symons
49a8f64c62 pkg/lwip: fix memory issue when sending with empty sock 2019-12-13 17:28:32 +01:00
Sebastian Meiling
c04b80ecbb pkg/tinydtls: bump version
This version bump fixes an issues when using RIOT native on FreeBSD with
the tinydtls package, e.g. for native tests of sock_dtls.
2019-12-12 15:57:51 +01:00
Martine S. Lenders
e96bc2a13d lwip_sock: additional indirection of conn is unnecessary
Either the sock is provided with `sock_*_send()` or not. In the first
case the indirection is not necessary, and in the second we need to
delete the created `conn` within `lwip_sock_send()` anyway, so returning
it makes no sense.
2019-12-12 11:19:51 +01:00
Martine S. Lenders
80c23cfbf3 lwip_sock: check if sock is set before dereferencing it 2019-12-12 11:01:30 +01:00
dcd432dd51
Merge pull request #12596 from toonst/fix/pkg_build_output
pkg: make build output quiet
2019-12-06 21:03:10 +01:00
Wouter
ed9cdb221a Add LWIP stm32 glue code
Fix minor coding style issues
2019-12-06 16:26:31 +01:00
228786731d
Merge pull request #2968 from kaspar030/micropython
pkg: micropython: initial commit
2019-12-05 20:31:47 +01:00
042786b835 pkg: micropython: initial import 2019-12-05 16:34:53 +01:00
Sebastian Meiling
6e53e28a3a
Merge pull request #11943 from pokgak/sock_dtls_impl
pkg/tinydtls: add DTLS sock API implementation
2019-12-05 15:47:49 +01:00
Martine Lenders
7ffc30a88b
Merge pull request #12865 from smlng/pr_freebsd_jerryscript
pkg/jerryscript: set -Wno-conversion for FreeBSD
2019-12-05 14:48:47 +01:00
Sebastian Meiling
5dd03b9b3e pkg/jerryscript: set -Wno-conversion for FreeBSD
Fixes compile issue on FreeBSD because of float to double conversion
by disabling the corresponding compiler warning.
2019-12-05 13:32:19 +01:00
b053e070f4
pkg/wakaama: fix string format and integer conversions 2019-12-04 08:07:16 +01:00
2f873569b7
pkg/tlsf: whitelist 32bit architectures
The package is not compatible with 8 or 16 bit architectures
2019-12-04 08:04:50 +01:00
Leandro Lanzieri
c52ad2df9e pkg/wakaama: Add LwM2M Client implementation 2019-11-29 20:31:41 +01:00
Leandro Lanzieri
2826779fbf pkg/wakaama: Add patches to fix logging 2019-11-29 20:31:41 +01:00
pokgak
4ed4ab404a pkg/tinydtls: implement DTLS sock API 2019-11-28 13:54:06 +01:00
2cf3cb3b52 pkg/wolfssl: fix typos 2019-11-23 22:39:38 +01:00
9ac32c6dd7 pkg/tlsf: fix typos 2019-11-23 22:39:38 +01:00
05f5d5d638 pkg/semtech-loramac: fix typos 2019-11-23 22:39:38 +01:00
16440469dc pkg/openthread: fix typos 2019-11-23 22:39:38 +01:00
357c1bc0db pkg/nordic_softdevice_ble: fix typos 2019-11-23 22:39:38 +01:00
f827e0c3d1 pkg/nimble: fix typos 2019-11-23 22:39:38 +01:00
de88c9a6eb pkg/nanocbor: fix typos 2019-11-23 22:39:38 +01:00
04183aa8fd pkg/lwip: fix typos 2019-11-23 22:39:38 +01:00
0ba8628b45 pkg/lua: fix typos 2019-11-23 22:39:38 +01:00
591d08500a pkg/fatfs: fix typos 2019-11-23 22:39:38 +01:00
Gunar Schorcht
eb47f1c537 tests/sys_arduino_lib: demo the use of Arduino library
This test application defines a packages which imports a very simple Arduino library that is used by test application to demonstrate how an Arduino library can be imported as package and used by an application.
2019-11-22 13:26:35 +01:00
Francisco Molina
7e2fd21f2a pkg/u8g2/src/csrc/u8g2_riotos.c: fix cpp.check shiftTooManyBitsSigned 2019-11-21 11:58:07 +01:00
Francisco Molina
cc2c3a0163 pkg/ucglib/src/csrc/ucg_riotos.c: fix cpp.check shiftTooManyBitsSigned 2019-11-21 11:58:07 +01:00
a4bff5f803
pkg/libfixmath: blacklist architectures not supported by unittests
8bit architectures are not compatible. round function is not provided by
the msp430 toolchain.
2019-11-20 22:27:12 +01:00
b32dd168a1
pkg/libfixmath: fix computations on 8bit architectures 2019-11-20 22:27:12 +01:00
8e281f8b02
pkg/libfixmath: cleanup Makefiles and patches 2019-11-20 22:27:12 +01:00
6bcf492d08
pkg/ndn-riot: blacklist ble_nimble feature 2019-11-20 07:25:25 +01:00
benpicco
d91b756d0b
Merge pull request #12735 from aabadie/pr/pkg/cleanup_makefiles
pkg: cleanup management of dependencies
2019-11-20 01:43:26 +01:00
Vincent Dupont
8bf37f3f62
Merge pull request #12664 from benpicco/littlefs-1.7.2
pkg/littlefs: bump littlefs version to 1.7.2
2019-11-19 14:26:46 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
6975bab63d
pkg/ndn-riot: move dependency handling in Makefile.dep 2019-11-18 08:57:00 +01:00
d88042d92a
pkg/gecko_sdk: move dependency handling in Makefile.dep 2019-11-18 08:56:51 +01:00
aa8d8a8731
pkg/libcoap: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:47 +01:00
adcdb3601a
pkg/tinydtls: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:32 +01:00
bdf5eb7b1e
pkg/openthread: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:17 +01:00
246a43ee19
pkg/umorse: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:54:34 +01:00
c34feaf118
pkg/jerryscript: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:54:02 +01:00
9334014b13
pkg/ccn-lite: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:52:38 +01:00
5400ab7284
pkg/semtech-loramac: blacklist MSP430 based boards
EXIT_SUCCESS/EXIT_FAILURE macros are not provided by the toolchain, which ends-up in a failing build
2019-11-15 18:14:25 +01:00
Martine S. Lenders
b5b035ca14 nimble/netif: use gnrc_netif_hdr_set_netif() 2019-11-15 15:10:52 +01:00
27e8caf3f3
Merge pull request #12526 from kaspar030/fix_fe310_default_optimization
cpu/fe310: change default optimization to "-Os"
2019-11-15 13:10:13 +01:00
Gunar Schorcht
074369fbb5 pkg/lwip: changes for ESP8266 esp_wifi 2019-11-14 12:04:29 +01:00
Hauke Petersen
18a133944c pkg/nimble: depend netif on ble_nimble_netif feat. 2019-11-13 13:10:12 +01:00
Hauke Petersen
004eb5e0b6 pkg/nimble: add 'autoconn' connection manager 2019-11-13 12:59:35 +01:00
d6f11a4c3c
pkg/lora-serialization: bump to latest versio 2019-11-11 17:30:31 +01:00
Benjamin Valentin
ab9f8d64d3 pkg/littlefs: bump littlefs version to 1.7.2 2019-11-07 17:02:58 +01:00
José Alamos
20ea18637f
Merge pull request #10485 from miri64/gnrc_netif/enh/default-init
gnrc_netif: assume `netif->ops->init()` to be set to at least a default
2019-11-07 11:41:05 +01:00
Martine Lenders
14a2f6bc18 gnrc: use gnrc_netif_default_init() for all implementations 2019-11-07 11:00:36 +01:00
Bas Stottelaar
f5ddc372e7 pkg/gecko_sdk: update to version 2.6 2019-11-06 23:11:39 +01:00
f542bc5fcf
pkg/oonf_api: blacklist unsupported architectures
AVR8 and MSP430 are excluded because of missing features in their respective toolchains
2019-11-05 09:47:25 +01:00
6791662397
pkg/ubasic: blacklist unsupported architectures
AVR8, MSP430, RISV and MIPS are excluded because of missing features in their respective toolchains
2019-11-05 08:45:12 +01:00
1055c6497e
pkg/lua: exclude RISCV 2019-10-30 16:15:41 +01:00
01702df52d
pkg/lua: exclude MIPS 2019-10-30 15:40:09 +01:00
219faf250e
pkg/jerryscript: exclude MIPS 2019-10-30 15:39:11 +01:00
c15c3ab8a2
pkg/lua: add arch 32bit requirement 2019-10-30 14:27:15 +01:00
04e8461460
pkg/jerryscript: add arch 32bit requirement 2019-10-30 14:25:41 +01:00
4993b65650
pkg/tinydtls: add arch 32bit requirement 2019-10-30 14:11:59 +01:00
286c9b63e3
pkg/micro-ecc: blacklist arch 16bit requirement 2019-10-30 11:43:40 +01:00
8062a6fb82
pkg/qDSA: blacklist arch 16bit requirement 2019-10-30 11:43:40 +01:00
a19f7a5589
pkg/libhydrogen: add arch 32bit requirement 2019-10-30 11:43:40 +01:00
5839e35eac
pkg/tinycbor: add arch 32bit requirement 2019-10-30 11:43:40 +01:00
c77916e730
pkg/monocypher: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
fa700de4d5
pkg/libcoap: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
0631cf6437
pkg/hacl: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
83dbbcc35a
pkg/cn-cbor: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
99d7439fa8
pkg/cifra: add arch 32bit requirement 2019-10-30 11:43:38 +01:00
fbf8688f01
pkg/wolfssl: add 32bit arch requirement 2019-10-30 11:43:38 +01:00
Marian Buschsieweke
bf54c56420
Merge pull request #12501 from maribu/NETOPT_MAX_PACKET_SIZE
drivers: Replaced NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE
2019-10-30 10:51:32 +01:00
Toon Stegen
f6b97a444e make/pkg: make git commands quiet 2019-10-29 13:58:21 +01:00
Toon Stegen
6ef9b4b340 make/pkg: don't warn on whitespace errors 2019-10-29 13:58:21 +01:00
Toon Stegen
a6255240fb make/pkg: don't print executed commands 2019-10-29 13:58:21 +01:00
Rotzbua
cc955f729c pkg: docu: remove old pkg/Makefile.svn 2019-10-28 23:41:46 +01:00
Gunar Schorcht
61949b0e4a pkg/tinycbor: fix "uninitialized variable" warning
On ESP32 and new ESP8266 platform, the compilation of the package fails since a local variable is potentially used uninitialized. Therefore, the variable is initialized with a default value.
2019-10-27 09:56:10 +01:00
Aiman Ismail
1900563ec6 pkg/tinydtls: bump package version
This pulls in commit 865ca387cd9d05e52943e5641ad0eefafef218a3 which
fixes #12351.
2019-10-21 13:24:35 +02:00
7402092649 Revert "pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt"
This reverts commit 02ff48751e.
(Obsoleted by 1193b0b1f8)
2019-10-21 12:39:20 +02:00
02ff48751e
pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt
Only when building with riscv toolchain, because the default optimization used can lead to this problem.
2019-10-21 08:09:51 +02:00
cd18dad5ca pkg: introduce nanoPb Protocol Buffers library 2019-10-18 22:34:28 +02:00
Marian Buschsieweke
d879739665
drivers/nimble: Use NETOPT_MAX_PDU_SIZE
Replaced deprecated NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE
2019-10-18 17:57:36 +02:00
Francisco Molina
45c8eafd42 Makefile.include: remove repeated OS declaration 2019-10-18 10:36:43 +02:00
Francisco Molina
f3482de277 REMOVEME: add OS and OS_ARCH variable 2019-10-18 08:46:51 +02:00
3eae2f7b79 pkg/lwip: add arch_32bit feature dependency 2019-10-13 21:03:41 +02:00
Martine Lenders
c7502fedf9
Merge pull request #12190 from benpicco/deprecate_oonf
pkg/oonf_api: deprecate package
2019-10-09 19:19:47 +02:00
Martine S. Lenders
0a2945164c lwip: improve and fix documentation 2019-10-09 14:45:30 +02:00
Martine S. Lenders
cb18f8c99b lwip: remove deprecated defines
`SYS_SEM_NULL` and `SYS_MBOX_SIZE` aren't used by lwIP anymore and
`LWIP_CHKSUM_ALGORITHM` has a predefined value now
2019-10-09 14:23:02 +02:00
Ken Bannister
3e0a3b1746
Merge pull request #12389 from miri64/pkg/depr/emb6
emb6: deprecate package
2019-10-09 06:53:50 -04:00
Martine Lenders
7cf1bab2e6 emb6: deprecate package
I basically didn't work on `emb6` since 2016 and adapting to the newest
version would mean some major overhaul. However, the development at
their end seems to be stalled [since March 2018][emb6-develop] as well.
All this speaks for deprecating this package.

[emb6-develop]: https://github.com/hso-esk/emb6/tree/develop
2019-10-09 11:50:17 +02:00
Martine S. Lenders
0d8511616a emb6: fix documentation 2019-10-09 11:27:52 +02:00
Martine Lenders
238ebe3d37
Merge pull request #12350 from haukepetersen/opt_nimble_verokt19
pkg/nimble: bump NimBLE version
2019-10-09 11:18:07 +02:00
688c29f200
pkg/cayenne-lpp: bump version to 0.1.1
This version contains a fix with barometric pressure values
See https://github.com/aabadie/cayenne-lpp/pull/8 for details
2019-10-08 08:40:54 +02:00
Martine Lenders
b7dfb6a26f
Merge pull request #12383 from aabadie/pr/pkg/semtech-loramac_fix_us915
pkg/semtech-loramac: fix failed assertion in randr function
2019-10-07 21:09:17 +02:00
Martine Lenders
70dddfd775
Merge pull request #12354 from haukepetersen/opt_nimble_netifmaxconn
pkg/nimble/netif: set max conn explicitly
2019-10-07 19:18:40 +02:00
900e7c4040
pkg/semtech-loramac: fix failed assertion in randr function 2019-10-07 15:30:31 +02:00
Hauke Petersen
a595f89bbe pkg/nimble/netif: set max conn explicitly 2019-10-07 14:50:57 +02:00
Hauke Petersen
f8112e2164 pkg/nimble/netif_conn: improve debug messages 2019-10-01 17:33:23 +02:00
Hauke Petersen
b7885428ce pkg/nimble: bump NimBLE version 2019-10-01 16:40:08 +02:00
Bas Stottelaar
8fa920d04c pkg/gecko_sdk: update to newer version 2019-09-30 18:10:38 +02:00
68aae9c848
Merge pull request #12262 from cladmi/pr/cflags/fix_spaces_and_rebuild
makefiles: do not remove defines from CFLAGS
2019-09-28 09:42:56 +02:00
cladmi
da59fb0eda
pkg/relic: pass COMP through environment
export COMP by using the environment insteal of through the shell to
prevnet issues with `\"` being defined when keeping macros in CFLAGS.

Another solution was to use COMP='...' but could there could still have
issues with single quotes in CFLAGS.
2019-09-27 19:28:33 +02:00
Martine Lenders
26d8650027
Merge pull request #12174 from haukepetersen/opt_nimble_scannerusetype
pkg/nimble/scanner: pass adv pkt type to callback
2019-09-27 12:14:34 +02:00
Dylan Laduranty
a64613e9b9 pkg/wolfssl: prevent name-colliding struct for AES 2019-09-26 11:06:00 +02:00
Martine Lenders
4c88cb5f0e lwip: sys_arch: replace sched_switch() with thread_yield_higher()
`sched_switch()` is supposed to be used in core only.

This fixes #6756.
2019-09-24 16:33:11 +02:00
Hauke Petersen
cf8f3125fc make/pkg: allow to set SOURCE_LOCAL per pkg 2019-09-23 11:44:17 +02:00
benpicco
f02095102f
Merge pull request #12031 from jcarrano/tlsf-malloc-fix-override
pkg/tlsf: Fix the way system functions are overriden.
2019-09-17 23:12:36 +02:00
Juan Carrano
cc907fa54e pkg/tlsf: Fix the way system functions are overriden.
The correct way to overrride the malloc family of functions in newlib-nano is
to provide the *_r (reentrant) variants. Newlib implements the "normal"
functions on top of these (see the newlib source code). Also, internally it calls
the *_r functions when allocating buffers.

If only the "normal" non-reentrant functions are provided this will mean that
some of the code will still use the vanilla newlib allocator. Furthermore, if
one uses the whole heap as a pool for TLSF then the system may in the best case
crash as there is no enough memory for its internall allocations or in the worst
case function eratically (this depends on how the heap reserved, there is an
upcomming series of commits in that direction).

This commit splits the handling between newlib and native. It also prepares the
ground for future work on the pool initialization.

Right now I could only test this in ARM and native and I cannot ensure it will
work on other platforms. Replacing the system's memory allocator is not something
that can be taken lightly and will inevitably require diving into the depths of
the libc. Therefore I would say that using TLSF as a system wide allocator is ATM
supported officially only on those plaftorms.

Testing:

Aside from reading the newlib sources, you can see the issue in a live system
using the debugger.

Compile any example (with or without tlsf-malloc), grab a debugger and place
a breakpoint in sbrk and _sbrk_r. Doing a backtrace will reveal it gets called
by _malloc_r.
2019-09-17 21:18:50 +02:00
ab8cdace12
Merge pull request #11996 from fjmolinas/pr_libcose_crypto_up
pkg/libcose: update crypto support
2019-09-13 10:10:49 +02:00
Martine Lenders
033f2865a9
Merge pull request #11936 from pokgak/tinydtls-add-docs
pkg/tinydtls: documents usage and configuration options
2019-09-12 17:16:34 +02:00
Aiman Ismail
b29d56781f pkg/tinydtls: add usage and compile configs docs 2019-09-12 16:53:08 +03:00
Aiman Ismail
5e195e82ca wolfssl: move to 'net' doxygen group 2019-09-12 14:55:52 +03:00
MichelRottleuthner
3d0e3b0117
Merge pull request #10308 from danielinux/master
wolfSSL pkg addition with examples
2019-09-11 09:12:57 +02:00
Daniele Lacamera
8bb1ee1cd5 wolfSSL pkg: new set of examples and tests 2019-09-11 08:12:50 +02:00
Juan I Carrano
56c7197734
Merge pull request #12184 from benpicco/oonf-fix_tests
pkg/oonf_api: fix generated test Makefiles
2019-09-10 18:06:33 +02:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
Benjamin Valentin
07099d99d8 pkg/oonf_api: deprecate package
- oonf_api has not been updated in 6 years, it's stil at 0.3.0
   from 2013.
 - tests were never integrated into CI
 - With NHDP the only upstream user of the package is deprecated.
 - Downstream users would rather prefer a less vintage version of the libraray.
2019-09-10 15:51:43 +02:00
3059e03c7c
Merge pull request #11620 from cladmi/pr/softdevice/ensure_memory_value
pkg/nordic_softdevice_ble: reset memory in the .hex file
2019-09-10 14:38:33 +02:00
benpicco
4e4414da61
Merge pull request #12155 from jcarrano/oonf-mri-combine-archives
pkg/oonf_api: Use MRI script to combine archives.
2019-09-09 19:48:43 +02:00
kaleb-himes
b3f32f83bb wolfSSL pkg with examples 2019-09-09 18:48:53 +02:00
Benjamin Valentin
f5920a1884 pkg/oonf_api: fix generated test Makefiles 2019-09-09 18:24:01 +02:00
benpicco
cf56f6a942
Merge pull request #12172 from bergzand/pr/pkg/cifra
Cifra: initial import of package
2019-09-07 16:37:29 +02:00
Hauke Petersen
7f4f323d78 pkg/nimble/scanlist: save and print adv pkt type 2019-09-05 17:04:32 +02:00
Hauke Petersen
825710e489 pkb/nimble/scanner: pass adv pkt type to callback 2019-09-05 17:04:21 +02:00
Francisco Molina
1357f46c47 pkg/semtech-loramac: add uplink_counter get/set functions 2019-09-05 16:01:32 +02:00
4100a1ee80
Cifra: Initial import of package 2019-09-05 10:10:02 +02:00
Benjamin Valentin
4707f6b749 pkg/libb2: rename config.h to libb2_config.h
This is to avoid conflics with other config.h files, e.g. when building
for esp8266 where $(NEWLIB)/xtensa-lx106-elf/include/config.h gets
included instead.
2019-09-04 14:15:52 +02:00
Benjamin Valentin
bf410c84f1 pkg/libb2: define HAVE_ALIGNED_ACCESS_REQUIRED based on CPU
Most architectures do not support unaligned memory access, so set the define accordingly.
2019-09-04 14:15:52 +02:00
Juan Carrano
55eccb689f pkg/oonf_api: Use MRI script to combine archives.
The OONF package is combining multiple ".a" file into a single archive. The
way it was being done involved creating and changing directories, unpacking
the original archives and repacking them into a combined one.

Theis has a couple of issues:

- It is untidy and wasteful.
- It breaks when thin archives are enabled, as a thin archive cannot be
  unpacked.

This commit uses a MRI script to do the combining step. It works both with
and without thin archives and is cleaner overall.

An issue that remains to be soved is that make is calling itself to create the
archive, as the PARTIAL_ARCHIVES are not known before hand. This is hacky. It
can be solved but it is a subject for another PR.
2019-09-02 16:50:35 +02:00
Martine Lenders
93fa48df71
Merge pull request #12124 from cgundogan/pr/ccnlite-bump
pkg: ccn-lite: version bump
2019-08-30 13:33:12 +02:00
Cenk Gündoğan
a4bd845c81 pkg: ccn-lite: version bump 2019-08-29 21:54:20 +02:00
Martine Lenders
e0945ad64e
pkg/nordic_softdevice_ble: use gnrc_netif_hdr_set_netif() 2019-08-29 14:51:45 +02:00
Kevin "Tristate Tom" Weiss
969e3b3e95
Merge pull request #12098 from cladmi/pr/export/remove_local_export_compilation_variables
make: do not locally export compilation variables
2019-08-29 14:32:22 +02:00
Gaëtan Harter
15e9812ffb
pkg/oonf_api: remove exporting CFLAGS and INCLUDES
CFLAGS and INCLUDES are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:36 +02:00
Hauke Petersen
eadc0e62f2 pkg/nimble: fix doxygen group name prefix 2019-08-29 10:04:08 +02:00
Hauke Petersen
891294d3b7 pkg/nimble: temporary LLVM workaround for NimBLE 2019-08-28 16:49:21 +02:00
Hauke Petersen
eb6673f769 pkg/nimble: add README on how to connect to Linux 2019-08-28 16:49:20 +02:00
Hauke Petersen
a3b8c87ab5 sys/shell: add 'ble' shell cmd for nimble_netif 2019-08-28 16:48:42 +02:00
Hauke Petersen
6bbe16601a pkg/nimble: add netif wrapper 2019-08-28 16:48:42 +02:00
Hauke Petersen
e1e62ffff7 pkg/nimble/scanlist: implement _get_by_pos() 2019-08-28 16:48:42 +02:00
Aiman Ismail
ede7edd313 sys/net pkg/: document DTLS support in net_dtls 2019-08-27 16:41:39 +02:00
Juan Carrano
5dc46eb03e pkg/ccn-lite: remove dependency on tlsf-malloc.
There is no reason why this package would need tlsf. Using tlsf as
system malloc is not known to work in all platforms.

With this patch CCN-Lite will use the default malloc provided by the
target's C library.
2019-08-20 17:47:25 +02:00
Juan Carrano
ad4d883c4f pkg/tlsf: fix double pointer.
A (void*) function was declared as (void**) because one of the void pointers
was hidden behind a typedef. Because of the way a void* works, this has no
consequences, but it is confusing.
2019-08-16 19:17:32 +02:00
Gaëtan Harter
f3e72009e8
pkg/nordic_softdevice_ble: reset memory in the .hex file
softdevice needs the memory at 0x2000 to be initialized to 0xffffffff
according to #5893 and testing. However, the addresses [0x8bc, 0x3000[ are not
set in softdevice.hex.

So use a modified hex file with all the memory set to 0xff as it is the rom
reset value anyway.

This change updates the `.hex` file instead on relying on erasing the
memory.
2019-08-12 15:54:45 +02:00
Francisco Molina
ae1c4f422c pkg/libcose: add monocypher and c25519 2019-08-12 14:51:54 +02:00
Francisco Molina
3b8fb0bd80 pkg/libcose: remove tweetnacl support 2019-08-12 14:22:04 +02:00
701ba9c608
pkg/nimble: adapt to nrf51 family 2019-08-07 09:53:55 +02:00
Martine Lenders
1dc6bded04
Merge pull request #11946 from gschorcht/cpu/esp32/lwip_netdev
cpu/esp32: lwIP netdev
2019-08-07 08:10:03 +02:00
Gunar Schorcht
f5af8ac2a4 pkg/lwip: override TPCIP_THREAD_PRIO for ESP32
To avoid priority conflicts with the WiFi hardware driver thread which has priority of 1, the default thread priority of lwIP's TCP/IP thread is decreased to 2.
2019-08-06 23:10:11 +02:00
Benjamin Valentin
66117601bb pkg: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Gunar Schorcht
d4f818b5f3 pkg/lwip: add esp_wifi network device
The changes allow to use an esp_wifi network device of ESP32 with lwIP.
2019-08-06 19:12:29 +02:00
bd816f3fb1
pkg/lwip: cleanup doxygen documentation
- Deduplicate lwip group definition
- Fix reference to sock instead of conn
2019-08-05 16:57:36 +02:00
Martine Lenders
4139370a87
Merge pull request #11952 from PeterKietzmann/pr_ccnl_update_and_bump
pkg/ccn-lite: bump version and adapt shell functions accordingly
2019-08-05 10:27:43 +02:00
PeterKietzmann
0cc91a47e1 pkg/ccn-lite: suppress llvm error 2019-08-05 09:36:43 +02:00
PeterKietzmann
448e282ff3 pkg/ccn-lite: bump version 2019-08-02 10:35:39 +02:00
Hauke Petersen
4016eeb1ad pkg/nimble: bump version to 997dad8 2019-08-01 13:55:47 +02:00
Francisco Molina
41e440a0ef pkg/semtech-loramac: extended return code doc and debug msg
- Add SEMTECH_LORAMAC_ALREADY_JOINED ret code for semtech_loramac_join
- Add SEMTECH_LORAMAC_TX_CNF_FAILED ret code for semtech_loramac_send
- Update shell commands to notify when no ACK is received on cnf tx
2019-07-22 16:12:23 +02:00
Francisco Molina
cdf687ceba examples/lorawan: fix semtech_loramac_send TX ret code
- with #11541 TX notification are only sent after mcps confirm event
  this will send a SEMTECH_LORAMAC_TX_DONE instead of
  SEMTECH_LORAMAC_TX_OK.
2019-07-19 12:22:53 +02:00
8150b014b1
Merge pull request #11801 from kaspar030/update_pkg_libcose
pkg/libcose: bump version
2019-07-18 09:44:32 +02:00
f8d969c3cf pkg/libcose: update to latest master 2019-07-17 10:30:15 +02:00
Francisco Molina
aff7ee3732 pkg/semtech_loramac: fix memcpy to uninitialized pointer 2019-07-16 10:47:36 +02:00
Martine S. Lenders
fd3789a735 nanocbor: fix doc grouping of nanocbor_config 2019-07-12 15:41:58 +02:00
Francisco
f33ba386ac
Merge pull request #11799 from aabadie/pr/pkg/semtech-loramac-rx-started-event
pkg/semtech-loramac: handle rx started event in mac event callback
2019-07-10 15:51:54 +02:00
Leandro Lanzieri
9aa1d76bee
Merge pull request #11817 from jia200x/pr/fix_ot_dep
pkg/openthread: remove openthread config header from contrib
2019-07-08 17:23:10 +02:00
Jose Alamos
f7afc79bab pkg/openthread: remove openthread header from contrib
The internal Openthread config file is not needed for the contrib
files, since it only includes internal OpenThread configuration
(use by the Openthread build system). Under certain cases some
macros defined in Openthread collide with RIOT internals or vendor
headers. So it's important to keep dependencies consistent.
2019-07-08 14:04:49 +02:00
01ab91dbf0
pkg/nanocbor: Version bump to latest master
Current latest master is also compatible with 8 and 16-bit platforms
2019-07-05 20:47:48 +02:00
91d982733f
Merge pull request #11600 from bergzand/pr/pkg/nanocbor
nanocbor: Initial support for the nanocbor package
2019-07-05 15:07:04 +02:00
2b2980bca1
pkg/nanocbor: Initial import 2019-07-05 14:26:17 +02:00
01195a073f
pkg/semtech-loramac: handle rx started event in mac event callback
This is only used for debugging purpose when ENABLE_DEBUG is set and avoid having a message about an unexpected event received
2019-07-04 19:34:24 +02:00
ce9b1e3826 pkg: remove not needed git-downloaded dependencies
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
2260f0996b
pkg/nimble: add dependency to radio_nrfble feature 2019-06-12 17:41:31 +02:00
2703316900
pkg/semtech-loramac: update rx parameters type
System max RX error is in ms and should be uint32_t, min RX symbols is supposed to be uint8_t in loramac-node code
2019-06-05 18:46:03 +02:00
Hauke Petersen
5d96471abf pkg/nimble: cleanup doxygen groups for submodules 2019-06-04 16:14:41 +02:00
Hauke Petersen
fb3febab7f ble/nimble: add support for build-in IPSS service 2019-06-04 14:48:42 +02:00
Leandro Lanzieri
f56709e0bb
Merge pull request #9726 from jcarrano/lua-loader-fix
pkg/lua: Make the module searchers conform to the API.
2019-06-03 11:47:06 +02:00
Juan Carrano
56eb7d9d92 pkg/lua: detect if weak symbol has been overriden.
After removing the default definitions of lua module tables and table
lengths (see lua_builtin.h) the symbols have been left undefined, which
results in them getting an address of NULL and a crash if there are no
user symbols and the user attempts a "require".

This patch checks the address of the table length variable and fails the
module search function of the table is not set (i.e. it behaves as if the
table was empty.)
2019-05-31 17:15:41 +02:00
Juan Carrano
fe07bff90c pkg/lua: Make the module searchers conform to the API.
The module searchers in the `require` package should return a string
if the module is not found, and not raise an error.

See: https://www.lua.org/manual/5.3/manual.html#pdf-package.searchers

Also make error strings contain newlines and tabs just like the original
ones.
2019-05-31 17:15:04 +02:00
ba8e7e5eaf
pkg/semtech-loramac: persist updated RX2 params
After a successful OTAA join procedure, the network may change the RX2 channel datarate. It's
required to also persist to be able to correctly receive downlink after a reboot
2019-05-30 13:41:54 +02:00
bcad9ee517
pkg/semtech-loramac: update documentation with persistence mecanism 2019-05-30 13:41:54 +02:00
b4d905471f
pkg/semtech-loramac: persist OTAA join information in eeprom
This allows to continue sending data even after a reboot of a device that provide non volatile storage, e.g. eeprom
2019-05-30 13:41:54 +02:00
b5c48ef04e
pkg/semtech-loramac: make RX optional 2019-05-29 16:24:52 +02:00
032f89145a
pkg-semtech-loramac: update/simplify doxygen documentation 2019-05-29 16:24:23 +02:00
b7890b3031
pkg/semtech-loramac: refactor send and recv interactions with the MAC
Now TX notification messages are only sent after mcps confirm event. RX message notification message is sent after mcps indication
2019-05-29 16:24:23 +02:00
d1798375e0
pkg/semtech-loramac: reduce MAC thread message queue 2019-05-29 16:24:22 +02:00
Kevin "Bear Puncher" Weiss
6616032150
Merge pull request #9941 from bergzand/pr/pkg/monocypher/v205
pkg/monocypher: bump version to 2.0.5
2019-05-29 09:55:08 +02:00
d87cf66473
pkg/semtech-loramac: move lora region cflags to pkg makefile 2019-05-26 11:47:16 +02:00
Martine Lenders
6273b30bcb minmea: bump version to current master
$ git log --oneline dbf51f03c5058746b4c4b3d6fdcd3d0357c5da36..HEAD
ae4dd94 Merge pull request #38 from noahp/noahp/check-url
b1371aa 🔗 update Check link
65bf740 Merge pull request #35 from gdpinchina/master
61c6ef7 fix test for gga
4514f6d fix test for gga
113221d fix test for gga
35b00bc fix test in gga
9fcd245 remove indent
59c3e0a fix gga char alignment problem in test.c
79b964a modefy initialization for dgps_age
c4a5a01 modify dgps_age type
c01cbcf modify dgps_age type
cd27e72 Merge pull request #29 from swilson/master
4d97109 Fix compiler warnings.
0456bbb Define timegm
04f1141 Add TI-RTOS compat header
8e4fc4e README.md: formatting fixes
0b02771 minmea.h: add Windows compatibility layer
ded4faf Merge pull request #25 from asund/master
f50449e Fixup whitespace
80af9b4 * Arrange year interpretation in order of likeliness * Add unit tests
ef8bca7 clarity of century use in struct tm
486da2b Small fixes to minmea_gettime * Handle four digit years provided by ZDA in minmea_gettime * Assume GPS epoch to allow dates prior 2000 to be parsed
2019-05-24 19:02:59 +02:00
José Alamos
d66ac85b8d
Merge pull request #11540 from OlegHahm/feature/pkg/openthread_update
openthread: update to release 20180926
2019-05-17 14:00:42 +02:00
Hauke Petersen
88f9cf780a ble/nimble: bump version to 9d4bda2 2019-05-17 10:34:26 +02:00
Oleg Hahm
4f83dfd975 openthread: update to release 20180926 2019-05-16 23:28:35 +02:00
Guillaume Gonnet
f5c9fef096 pkg/semtech_loramac: fix DEBUG message when payload is NULL
In function `_semtech_loramac_send` parameter `payload` can be NULL (that the
case when scheduling an immediate TX, line 726). As DEBUG macro use printf,
a %s parameter can't be NULL so we have to handle that case.
2019-05-15 20:50:55 +02:00
Jose Alamos
86942279a2 pkg/openthread: adapt CLI guards to new format 2019-05-14 18:55:53 +02:00
Jose Alamos
c42af783c5 pkg/openthread: separate cli and thread mode variables 2019-05-14 18:55:53 +02:00
4ae1ef3f22
pkg/c25519: remove inexistent SHAFILE cleanup 2019-04-22 21:10:27 +02:00
81eed53776
pkg/semtech-loramac: cleanup in doc file
- fix badly rendered github url
- add missing newline at end of file
2019-04-10 08:21:41 +02:00
1f57c0bd2e
pkg/semtech-loramac: update send function snippet
If the send fails, just return. This avoid recv to be stuck afterward and shows a good practice
2019-04-10 08:20:40 +02:00
Juan I Carrano
9832299e62
Merge pull request #11319 from miri64/pkg/new/ubasic
pkg: Initial introduction of ubasic package
2019-04-08 17:38:03 +02:00
Martine Lenders
8543129ba9 pkg: Initial introduction of ubasic package 2019-04-08 17:09:28 +02:00
f6f988cfbf
Merge pull request #9389 from bergzand/pr/pkg/c25519/initial
c25519: Initial support for the c25519 package
2019-04-04 14:23:09 +02:00
6d8e18b57e
c25519: Initial support for c25519 package
c25519[1] is a library optimized for embedded applications handling ed25519
signing and x25519 crypto. It uses significantly less memory and flash
compared to TweetNaCl and is significantly faster when used on a
samr21-xpro

[1]: https://www.dlbeer.co.nz/oss/c25519.html
2019-04-04 14:05:57 +02:00
José Alamos
b5aaa6186f
Merge pull request #10599 from miri64/pkg/cleanup/openthread-rm-NETOPT_IPV6_IID
openthread: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID
2019-03-29 12:33:21 +01:00
Leandro Lanzieri
ef2b33c3d5
Merge pull request #11277 from obgm/tinydtls
pkg/tinydtls: Update repository URL to new location, fix posix_sockets
2019-03-28 17:17:46 +01:00
Hauke Petersen
42c6702433 ble/nimble: add scanner submodule 2019-03-27 18:11:37 +01:00
Martine Lenders
f70bba0958
Merge pull request #11278 from haukepetersen/add_nimble_scanlist
ble/nimble: add scanlist submodule
2019-03-27 17:10:01 +01:00
Hauke Petersen
bce0381c6f ble/nimble: add scanlist submodule 2019-03-27 16:45:25 +01:00
Martine Lenders
727f387ea9 openthread: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID 2019-03-27 16:02:01 +01:00
Martine Lenders
301b6555aa lwip: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID 2019-03-27 11:48:49 +01:00
José Alamos
61d7b205b8
Merge pull request #11241 from aabadie/pr/pkg/loramac_duty_cycle
pkg/semtech-loramac: provide a way to disable dutycycle
2019-03-27 11:47:48 +01:00
Olaf Bergmann
542701f3fd [tinydtls] Makefile: Updated package to head of develop branch
[tinydtls] Makefile: Updated PKG_URL

The tinydtls repository has moved from Eclipse Gerrit to GitHub [1].
PKG_URL now points to the new direction and PKG_VERSION was updated
to the HEAD of the develop branch.

[1] https://github.com/eclipse/tinydtls.git
2019-03-27 10:04:26 +01:00
Hauke Petersen
310cdab3d3 ble/nimble: add addr helper module 2019-03-26 22:20:01 +01:00
Martine Lenders
98ac1249bf
Merge pull request #10114 from miri64/pkg/enh/lwip-socket_zep
pkg/lwip: provide socket_zep support
2019-03-26 21:17:48 +01:00
Martine Lenders
45d4004fcb
Merge pull request #10816 from miri64/pkg/enh/softdevice-fix-kernel-doc
nordic_softdevice_ble: document working Linux versions
2019-03-26 18:47:20 +01:00
Hauke Petersen
4907d56185 ble/nimble: fix missing stdint incl in riot_nimble 2019-03-26 14:24:15 +01:00
Martine Lenders
97c4fef19e
Merge pull request #11232 from haukepetersen/fix_nimble_includeguardsriotinit
pkg/nimble: fix include guards in nimble_riot.c
2019-03-26 14:18:28 +01:00
Olaf Bergmann
db615302a2 [tinydtls] Makefile.include: fixed GNRC vs. posix_sockets
When WITH_RIOT_GNRC is set in CFLAGS, tinydtls will use a more
compact address representation based on ipv6_addr_t instead of
POSIX-style sockaddr_in6 to identify sessions (cf. struct session_t).

When posix_sockets are used (as in libcoap, e.g.), the POSIX
address representation should be selected automatically for
consistency. This change adds -DWITH_RIOT_GNRC to CFLAGS only
when the module posix_sockets is not selected.
2019-03-26 08:52:10 +01:00
Hauke Petersen
f5467ef9f1 net/ble: cleanup doxygen grouping 2019-03-25 19:04:05 +01:00
4e827085f7
pkg/semtech-loramac: provide a way to disable dutycycle
Duty cycle can be disabled by building the application using CFLAGS=-DDISABLE_LORAMAC_DUTYCYCLE
2019-03-23 07:38:38 +01:00
Hauke Petersen
eca26c91cd pkg/nimble: fix include guards in nimble_riot.c 2019-03-21 21:39:15 +01:00
Hauke Petersen
c0819c7a46
Merge pull request #11216 from haukepetersen/opt_nimble_verbump
pkg/nimble: bump version to a7b3c93
2019-03-20 14:13:02 +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
Hauke Petersen
4ec250b24f pkg/nimble: bump version to a7b3c93
- version update to a7b3c93
- remove patches (merged to changes to nimble upstream)
- adapt initialization order to upstream changes
2019-03-20 13:36:00 +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