1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg
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
..
c25519 pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
cayenne-lpp pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
ccn-lite pkg/ccn-lite: bump version 2021-08-25 18:42:40 +02:00
cifra pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
cmsis-dsp pkg/cmsis-dsp: use modules to compile package 2020-08-19 11:34:43 +02:00
cmsis-nn pkg/cmsis-nn: use modules to compile package 2020-08-19 11:34:43 +02:00
cn-cbor pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
corejson pkg: add support for FreeRTOS coreJSON library 2021-10-17 18:11:24 +02:00
cryptoauthlib treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
driver_atwinc15x0 pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
driver_bme680 pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
driver_sx126x drivers/sx126x : Uncrustify 2021-07-09 11:16:41 +02:00
edhoc-c pkg/edhoc-c: ignore llvm flagged error 2021-09-20 11:34:30 +02:00
emlearn pkg/emlearn: bump to 0.12 2021-10-02 14:45:10 +02:00
esp8266_sdk esp8266: Download Espressif RTOS SDK as a new RIOT PKG 2021-10-23 11:13:38 +00:00
fatfs treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
fido2_tests FIDO2 support in RIOT 2021-09-08 15:22:40 +02:00
flatbuffers Revert "Remove which from shell invocations" 2021-09-03 11:27:03 +02:00
gecko_sdk pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
gemmlowp pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
hacl hacl: Switch git address to RIOT-OS-pkgmirror 2021-10-04 13:16:26 +02:00
heatshrink pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
jerryscript pkg/jerryscript: bump to 2.4.0 2021-10-02 15:47:28 +02:00
jsmn pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
libb2 pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
libbase58 pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
libcoap pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
libcose pkg/libcose: fixup backend ducomentation 2021-06-10 12:36:16 +02:00
libfixmath pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
libhydrogen pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
littlefs treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
littlefs2 treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
lora-serialization pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
lua treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
lvgl treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
lwip sys/net: Add ipv4 pseudomodule 2021-10-11 21:37:47 +02:00
micro-ecc pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
microcoap pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
micropython makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
minmea pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
monocypher pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
mynewt-core pkg/mynewt-core: don't pull unwanted dependencies for nRF9160 2021-09-07 09:27:11 +02:00
nanocbor pkg/nanocbor: bump version 2021-09-09 13:42:41 +02:00
nanopb nanopb: add dependency for C++ files 2021-05-27 16:13:38 +02:00
ndn-riot Merge pull request #16023 from maribu/max_pdu_size 2021-08-26 14:40:18 +02:00
nimble pkg/nimble: version bump to fix broken scanning 2021-10-07 09:06:47 +02:00
openthread ieee802154/radio_hal: detach hal descriptor from driver 2021-08-18 15:24:10 +02:00
openwsn sys/net/sock: Set SOCK_HAS_IPV6 in one place 2021-10-11 21:37:39 +02:00
paho-mqtt Merge pull request #16023 from maribu/max_pdu_size 2021-08-26 14:40:18 +02:00
qcbor pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
qdsa pkg/qdsa: force qdsa to lowercase 2021-06-15 12:06:10 +02:00
qr-code-generator pkg/qr-code-generator: bump to 1.7.0 2021-10-02 16:48:02 +02:00
relic pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
semtech-loramac pkg/semtech-loramac: forward uplink schedule request to upper layer 2021-10-18 14:07:21 +02:00
spiffs treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
talking_leds pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
tensorflow-lite pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
tiny-asn1 pkg/tiny-asn1: Update tiny-asn1 package 2021-10-02 21:27:40 +02:00
tinycbor pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
tinycrypt pkg/tinycryp: supress llvm warning 2021-09-07 09:35:00 +02:00
tinydtls dtls: set CONFIG_DTLS_PEER_MAX in dtls.h header 2021-10-08 12:10:28 +02:00
tlsf treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
tweetnacl pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
u8g2 test/pkg_u8g2: increase main stacksize for SDL 2021-10-06 17:52:26 +02:00
ubasic pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
ucglib pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
umorse pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
utensor pkg/*/Kconfig: Add simple kconfig pkgs 2021-04-08 16:34:36 +02:00
uwb-core pkg/uwb-core: don't pull unwanted dependencies for nRF9160 2021-09-07 09:27:39 +02:00
uwb-dw1000 treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
wakaama treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
wolfssl treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
yxml pkg/yxml: add git mirror url 2021-10-01 14:44:10 +02:00
doc.txt doc/pkg: provide a longer short description 2021-04-20 14:57:11 +02:00
Kconfig pkg/qdsa: force qdsa to lowercase 2021-06-15 12:06:10 +02:00
local.mk pkg/pkg.mk: better distinguish between source and build directory 2020-06-26 09:25:43 +02:00
Makefile.git pkg/Makefile.git: adapt example to new organization 2020-06-26 09:25:44 +02:00
Makefile.http pkg: add PKG_LICENSE to templates 2020-01-06 00:37:47 +01:00
pkg.mk pkg: support PKG_MIRROR_URL, use if PKG_USE_MIRROR=1 (default) 2021-10-01 13:14:03 +02:00