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

1725 Commits

Author SHA1 Message Date
iosabi
7b1f083cd8 esp8266: Download Espressif RTOS SDK as a new RIOT PKG
RIOT-OS uses part of Espressif ESP8266 RTOS SDK to build support for
this CPU. The SDK includes some vendor-provided closed source
pre-compiled libraries that we need to modify to adapt to RIOT-OS
usage. This library modifications was done once and uploaded to a fork
of the vendor repository and was provided as an environment variable.

This patch changes two things:

1. It installs the SDK as a RIOT PKG from the new pkg/esp8266_sdk
directory instead of requiring the user to download it separately.

2. It performs the library modifications (symbol renames) on the pkg
Makefile removing the need to use a fork with the modifications applied
and simplifying the SDK update and future modifications.

This change sets the SDK package version (git SHA) to the same one that
our fork was using as a parent in the vendor repository, meaning that
the output libraries are exactly the same as before.

Tested with
```
ESP8266_RTOS_SDK_DIR=/dev/null USEMODULE=esp_log_startup make -C tests/shell BOARD=esp8266-esp-12x flash
```

and verified that the program works. The boot message now includes:
```
ESP8266-RTOS-SDK Version v3.1-51-g913a06a9
```
confirming the SDK version used.

`/dev/null` in the test is just to make sure that no evaluation of
`ESP8266_RTOS_SDK_DIR` in make is affected by the environment variable
value which would be set to the SDK for people who followed the set up
instructions before this change.

Tested the checkout size:
```bash
$ du -hs build/pkg/esp8266_sdk/
124M	build/pkg/esp8266_sdk/
```
2021-10-23 11:13:38 +00:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
sys/net: Add ipv4/ipv6 pseudomodules

to ease code unification
2021-10-20 11:58:26 +02:00
Francisco
1f00d7a89c
Merge pull request #16961 from jia200x/pr/semtech-loramac/fix_schedule_uplink
pkg/semtech-loramac: forward uplink schedule request to upper layer
2021-10-18 17:40:03 +02:00
Martine Lenders
44927b493f
Merge pull request #16967 from miri64/dsm/enh/peer-sync
dsm: rename DTLS_PEER_MAX and make it dependent on CONFIG_DTLS_PEER_MAX
2021-10-18 16:27:26 +02:00
Jose Alamos
b11e58f843 pkg/semtech-loramac: forward uplink schedule request to upper layer 2021-10-18 14:07:21 +02:00
4281d4b226
pkg: add support for FreeRTOS coreJSON library 2021-10-17 18:11:24 +02:00
Erik Ekman
9844953da4 sys/net: Add ipv4 pseudomodule
Enabled when lwIP uses IPv4.
2021-10-11 21:37:47 +02:00
Erik Ekman
ff7bf09313 sys/net/sock: Set SOCK_HAS_IPV6 in one place
Based on ipv6 pseudomodule
2021-10-11 21:37:39 +02:00
benpicco
105c57722d
Merge pull request #16960 from haukepetersen/fix_nimble_verbumpokt21
pkg/nimble: version bump to fix broken scanning
2021-10-11 13:49:00 +02:00
Martine Lenders
a2cd5ed903
dtls: set CONFIG_DTLS_PEER_MAX in dtls.h header 2021-10-08 12:10:28 +02:00
Erik Ekman
3df56d576f sys/net: Add ipv6 pseudomodule
Enabled when GNRC, lwIP or OpenWSN uses IPv6
2021-10-08 10:27:22 +02:00
Karl Fessel
423da42d1c
Merge pull request #16954 from kfessel/p-u8g2-test-sdl
test/pkg_u8g2: increase main stacksize for SDL
2021-10-07 10:43:25 +02:00
Hauke Petersen
8368a458bc pkg/nimble: version bump to fix broken scanning 2021-10-07 09:06:47 +02:00
Karl Fessel
bec5f52e4f test/pkg_u8g2: increase main stacksize for SDL 2021-10-06 17:52:26 +02:00
Hauke Petersen
3a080cd90d pkg/nimble: bump version to cddb7c4 2021-10-06 16:47:34 +02:00
Hauke Petersen
3878096cce pkg/nimble/netif: add nimble_netif_l2cap_ping() 2021-10-06 16:47:34 +02:00
benpicco
afde4b0e43
Merge pull request #16939 from aabadie/pr/pkg/qr_code_generator_1.7.0
pkg/qr-code-generator: bump to 1.7.0
2021-10-05 00:12:58 +02:00
benpicco
88b495906b
Merge pull request #16936 from mtausig/update_tinyasn1
Update tiny-asn1 package
2021-10-05 00:04:23 +02:00
chrysn
4673f2c89a
Merge pull request #16941 from chrysn-pull-requests/hacl-use-pkgmirror
hacl: Switch git address to RIOT-OS-pkgmirror
2021-10-04 16:10:50 +02:00
chrysn
5cded0df97 hacl: Switch git address to RIOT-OS-pkgmirror 2021-10-04 13:16:26 +02:00
8459b765c0
Merge pull request #16938 from aabadie/pr/pkg/jerryscript-2.4
pkg/jerryscript: bump to 2.4.0
2021-10-04 09:47:52 +02:00
Mathias Tausig
1cfd50abf2 pkg/tiny-asn1: Update tiny-asn1 package 2021-10-02 21:27:40 +02:00
46e842653e
pkg/qr-code-generator: bump to 1.7.0 2021-10-02 16:48:02 +02:00
9a289d40fa
pkg/jerryscript: bump to 2.4.0 2021-10-02 15:47:28 +02:00
17cbab00fd
pkg/emlearn: bump to 0.12 2021-10-02 14:45:10 +02:00
332a1a1221 pkg/yxml: add git mirror url 2021-10-01 14:44:10 +02:00
92ca97e31b pkg: support PKG_MIRROR_URL, use if PKG_USE_MIRROR=1 (default) 2021-10-01 13:14:03 +02:00
Martine Lenders
8f5561d694
tinydtls: sock_dtls: only use ifindex with link-local addresses
For global addresses the out-going interface is typically decided by the
forwarding information base, so _requiring_ the user to set it with
`sock_dtls` is undesirable. This has the caveat, that now on
`sock_udp_send()` in the `_write()` method, the sock does not know via
which network interface to send a packet with a global address, but
again: this is really more a task for the underlying network stack, not
the sock layer.
2021-09-29 14:24:03 +02:00
Hauke Petersen
625d5544ad nimble/netif_conn: fix _conn_get_itvl_ms() 2021-09-24 17:28:09 +02:00
Martine Lenders
fb05da46e3
Merge pull request #16874 from leandrolanzieri/pkg/tinydtls/fix_kconfig_detection
pkg/tinydtls: fix detection of Kconfig usage
2021-09-21 13:07:23 +02:00
Leandro Lanzieri
450884acf5
pkg/tinydtls: fix detection of Kconfig usage 2021-09-21 11:57:31 +02:00
Francisco Molina
ea86dad7fd pkg/edhoc-c: ignore llvm flagged error 2021-09-20 11:34:30 +02:00
Martine Lenders
7bf1fad7cc
Merge pull request #16839 from haukepetersen/opt_nimble_scannererrno
nimble/scanner: migrate to errno return values
2021-09-17 16:22:29 +02:00
benpicco
bcb46460b7
Merge pull request #16859 from haukepetersen/fix_nimble_addr_byteorder
nimble/addr|scanlist: fix nimble_addr_sprint() and use in nimble_scanlist_print()
2021-09-17 14:53:26 +02:00
Hauke Petersen
2de3275c1e nimble/scanner: migrate to use errno return values 2021-09-17 14:46:05 +02:00
Hauke Petersen
8694af52c6 nimble/scanner: rename and optimize status func 2021-09-17 14:46:05 +02:00
Martine Lenders
e16925aab3
Merge pull request #16838 from haukepetersen/opt_nimblenetif_errno
pkg/nimble/netif: migrate to use errno return values
2021-09-16 16:53:43 +02:00
94e314c914 pkg/nimble: fix if(IS_ACTIVE(..) && CONSTANT) with llvm
Fixes

```
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                             ^  ~~~~~~~~~~~~~~~~~~~~~~~~
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: use '&' for a bitwise operation
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                             ^~
                                             &
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: remove constant to silence this warning
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                            ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2021-09-16 14:01:33 +02:00
Hauke Petersen
1486c419fa nimble/scanlist: use nimble_addr_print() 2021-09-16 10:29:04 +02:00
Hauke Petersen
0b8af3a3bc nimble/addr: fix byte-order and string termination 2021-09-16 10:23:43 +02:00
Hauke Petersen
dadd7028d3 nimble/autoconn: adapt to new return values 2021-09-10 21:11:30 +02:00
Hauke Petersen
819bc54aae nimble/rpble: adapt to new return values 2021-09-10 21:11:19 +02:00
Hauke Petersen
6ffbd2a046 pkg/nimble/netif: fix doxygen leftover 2021-09-10 21:10:16 +02:00
Hauke Petersen
8982fdb0fc pkg/nimble/netif_conn: fix doxygen 2021-09-10 21:08:57 +02:00
Hauke Petersen
2a65637853 pkg/nimble/netif: migrate return values to errno 2021-09-10 21:07:33 +02:00
Hauke Petersen
32212df463
Merge pull request #16603 from haukepetersen/add_nimble_diradv
pkg/nimble/netif: add nimble_netif_accept_direct()
2021-09-09 23:29:43 +02:00
Hauke Petersen
e4b76b2ac4
Merge pull request #16830 from fjmolinas/pr_nimble_bump_ver_cleanup
pkg/nimble: bump version, rmv patches
2021-09-09 18:48:41 +02:00
Hauke Petersen
5959d0de2c pkg/nimble/netif: add nimble_netif_accept_direct() 2021-09-09 15:19:10 +02:00
Francisco Molina
24a131ebe0 pkg/nimble: bump version, rmv patches 2021-09-09 13:48:52 +02:00
Benjamin Valentin
e80cedf6a8 pkg/nanocbor: bump version 2021-09-09 13:42:41 +02:00