1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu
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
..
arm7_common cpu/arm7_common: fix doxygen grouping warnings 2021-09-05 20:38:30 +02:00
atmega32u4 cpu/avr8_common: Fix link with binutils > 2.35.2 2021-10-13 16:37:19 +02:00
atmega128rfa1 cpu/avr8_common: Fix link with binutils > 2.35.2 2021-10-13 16:37:19 +02:00
atmega256rfr2 cpu/avr8_common: Fix link with binutils > 2.35.2 2021-10-13 16:37:19 +02:00
atmega328p cpu/avr8_common: Fix link with binutils > 2.35.2 2021-10-13 16:37:19 +02:00
atmega1281 cpu/avr8_common: Fix link with binutils > 2.35.2 2021-10-13 16:37:19 +02:00
atmega1284p cpu/avr8_common: Fix link with binutils > 2.35.2 2021-10-13 16:37:19 +02:00
atmega2560 cpu/avr8_common: Fix link with binutils > 2.35.2 2021-10-13 16:37:19 +02:00
atmega_common cpu/{atxmega,atmega_common}: fix invalid use of PSTR() 2021-09-30 17:15:39 +02:00
atxmega Merge pull request #16790 from maribu/cpu/avr8_common/ldscripts 2021-10-15 09:59:14 +02:00
avr8_common Merge pull request #16055 from benpicco/soc_init 2021-10-18 20:52:53 +02:00
cc26x0_cc13x0 cpu/cc26x0_cc13x0: fix build 2021-09-14 14:58:03 +02:00
cc26x2_cc13x2 cpu/cc26xx_cc13xx: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
cc26xx_cc13xx cpu/cc26xx_cc13xx: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
cc2538 Merge pull request #16821 from jia200x/pr/cc2538/rx_busy 2021-10-05 00:08:40 +02:00
cortexm_common cpu: drop cpu_init() from public headers 2021-10-18 17:31:26 +02:00
efm32 Merge pull request #15902 from maribu/spi-api-change-1 2021-09-02 08:50:56 +02:00
esp32 cpu/esp32/doc: Restore center alignment of tables 2021-10-13 14:56:00 +02:00
esp8266 esp8266: Download Espressif RTOS SDK as a new RIOT PKG 2021-10-23 11:13:38 +00:00
esp_common esp8266: Download Espressif RTOS SDK as a new RIOT PKG 2021-10-23 11:13:38 +00:00
fe310 cpu/fe310: model Kconfig 2021-10-01 11:26:15 +02:00
gd32v cpu/gd32v: model Kconfig 2021-10-01 11:26:15 +02:00
kinetis cpu/kinetis: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
lm4f120 Merge pull request #15902 from maribu/spi-api-change-1 2021-09-02 08:50:56 +02:00
lpc23xx cpu/lpc23xx: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
lpc1768 cpu/lpc1768: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
mips32r2_common cpu: drop cpu_init() from public headers 2021-10-18 17:31:26 +02:00
mips_pic32_common treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
mips_pic32mx cpu/mips: remove never used load memory address 2020-10-13 18:57:39 +02:00
mips_pic32mz cpu/mips: remove never used load memory address 2020-10-13 18:57:39 +02:00
msp430_common cpu: drop cpu_init() from public headers 2021-10-18 17:31:26 +02:00
msp430fxyz cpu/msp430*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
native cpu/native: fix build with gcc 11 2021-10-12 14:56:11 +02:00
nrf5x_common cpu/nrf5x_common: nrfx.h: add missing "kernel_defines.h" include 2021-10-20 11:36:55 +02:00
nrf51 cpu/periph_spi: update implementations to new API 2021-09-01 21:38:40 +02:00
nrf52 cpu/nrf52: initial kconfig modeling 2021-09-29 10:17:47 +02:00
nrf9160 cpu/nrf9160: add TWI and SPI support 2021-09-06 20:15:18 +02:00
qn908x cpu/qnx908x: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
riscv_common cpu: drop cpu_init() from public headers 2021-10-18 17:31:26 +02:00
rpx0xx treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
sam0_common cpu/sam0_common: implement periph_rtc_mem 2021-09-03 11:43:43 +02:00
sam3 cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
sam_common cpu/sam_common: set CPU_HAS_BITBAND 2020-08-08 12:44:11 +02:00
samd5x cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
samd21 cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
saml1x cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
saml21 cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
stellaris_common cpu: do not locally export compilation variables 2019-08-29 10:35:53 +02:00
stm32 Merge pull request #16959 from bissell-homecare-inc/stm32g031-disco 2021-10-13 23:17:06 +02:00
doc.txt docs/doxygen : Add CPU section 2021-07-09 10:47:42 +02:00
Kconfig treewide: change Kconfig prefix for module symbols 2020-08-31 09:57:28 +02:00