1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Go to file
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
.circleci .circleci: use riot/static-test-tools Docker image 2021-01-14 19:08:15 +01:00
.github Merge pull request #17038 from fjmolinas/pr_gha_release_python_38 2021-10-23 11:31:09 +02:00
boards Merge pull request #17021 from fjmolinas/pr_remove_board_fox 2021-10-23 11:30:35 +02:00
bootloaders sys/riotboot doc: Minor fixes 2021-10-20 19:00:18 +02:00
core core/log: Add anchor to doc to allow stable references 2021-10-10 21:35:31 +02:00
cpu esp8266: Download Espressif RTOS SDK as a new RIOT PKG 2021-10-23 11:13:38 +00:00
dist esp8266: Download Espressif RTOS SDK as a new RIOT PKG 2021-10-23 11:13:38 +00:00
doc Merge pull request #17002 from maribu/doc/getting-started 2021-10-20 14:02:05 +02:00
drivers drivers: add anchor to doc to allow stable references 2021-10-13 17:37:16 +02:00
examples treewide: remove mentions of 'fox' BOARD 2021-10-20 13:53:26 +02:00
fuzzing gnrc_tcp: add listen/accept 2021-07-08 09:40:02 +02:00
kconfigs drivers/periph: define periph_rtc_mem 2021-09-03 11:43:42 +02:00
makefiles Merge pull request #16966 from yarrick/net_v6 2021-10-20 11:58:26 +02:00
pkg esp8266: Download Espressif RTOS SDK as a new RIOT PKG 2021-10-23 11:13:38 +00:00
sys sys/test_utils/result_output: fix turo_float() precision value 2021-10-22 12:49:16 +02:00
tests treewide: remove mentions of 'fox' BOARD 2021-10-20 13:53:26 +02:00
.bandit codacy: disable complaining about python assert 2019-03-01 13:43:37 +01:00
.drone.yml .drone.yml: remove mcu groups from the build test matrix 2019-06-14 11:32:15 +02:00
.gitattributes git: handle patch files as binary 2015-12-04 11:46:33 +01:00
.gitignore .gitignore: add .clang-tidy 2021-08-31 14:57:09 +02:00
.mailmap mailmap: deduplicate @benpicco 2020-04-28 11:58:44 +02:00
.murdock Merge pull request #16909 from leandrolanzieri/pr/cpu/riscv/model_kconfig 2021-10-05 16:51:17 +02:00
CITATION.cff CITATION.cff: Initial import 2021-10-22 10:21:57 +02:00
CODE_OF_CONDUCT.md github: add Code of Conduct 2017-12-08 09:10:01 +01:00
CODEOWNERS CODEOWNERS: remove Robert Hartung 2021-09-15 16:23:11 +02:00
CODING_CONVENTIONS_C++.md CODING_CONVENTIONS_C++.md: Fixed typos and links 2019-11-08 10:36:27 +01:00
CODING_CONVENTIONS.md Coding_Convention: clarify: none return is allowed 2021-03-08 14:46:34 +01:00
CONTRIBUTING.md CONTRIBUTING: Remove Freenode reference 2021-06-18 11:11:27 +02:00
doc.txt doc: Describe interaction between DEVELHELP and assert 2020-10-25 23:27:51 +01:00
Kconfig cpu/cortexm: Use DEVELHELP to add stack guard 2021-09-08 12:40:30 +02:00
LICENSE * updated LICENSE file from GPL to LPGL 2013-06-18 17:19:53 +02:00
LOSTANDFOUND.md LOSTANDFOUND.md: add boards/fox 2021-10-23 11:33:42 +02:00
MAINTAINING.md MAINTAINING: Clarify guidelines 2020-07-13 10:57:03 +02:00
Makefile make: Remove mailing list advertisement 2021-05-12 11:41:25 +02:00
Makefile.base Makefile.base: do not clean objects of bindist modules 2021-10-13 14:22:51 +02:00
Makefile.dep cpp: Use modules for cpp and libstdcpp 2021-07-02 15:11:10 +02:00
Makefile.features treewide: model newlib as a FEATURE 2021-01-27 09:24:25 +01:00
Makefile.include Makefile.include: remove warning about EXTERNAL_MODULE_DIRS API change 2021-10-13 16:54:48 +02:00
README.md README.md: add graphical logo 2021-09-15 14:56:48 +02:00
release-notes.txt release-notes.txt: add 2021.07 release notes 2021-07-16 12:17:58 +02:00
SECURITY.md SECURITY.md: fix mailto link 2020-12-10 14:18:19 +01:00
uncrustify-riot.cfg uncrustify-riot.cfg: update to coding convention 2021-03-04 17:23:46 +01:00
Vagrantfile tools/packer: adapt for Ubuntu 18.04 2020-02-19 19:23:07 +01:00

Nightly CI status master Nightly HiL CI overview GitHub release License API docs Wiki Merge chance Stack Overflow questions Twitter Matrix

The friendly Operating System for IoT!

RIOT is a real-time multi-threading operating system that supports a range of devices that are typically found in the Internet of Things (IoT): 8-bit, 16-bit and 32-bit microcontrollers.

RIOT is based on the following design principles: energy-efficiency, real-time capabilities, small memory footprint, modularity, and uniform API access, independent of the underlying hardware (this API offers partial POSIX compliance).

RIOT is developed by an international open source community which is independent of specific vendors (e.g. similarly to the Linux community). RIOT is licensed with LGPLv2.1, a copyleft license which fosters indirect business models around the free open-source software platform provided by RIOT, e.g. it is possible to link closed-source code with the LGPL code.

FEATURES

RIOT is based on a microkernel architecture, and provides features including, but not limited to:

  • a preemptive, tickless scheduler with priorities
  • flexible memory management
  • high resolution, long-term timers
  • support 100+ boards based on AVR, MSP430, ESP8266, ESP32, MIPS, RISC-V, ARM7 and ARM Cortex-M
  • the native port allows to run RIOT as-is on Linux, BSD, and MacOS. Multiple instances of RIOT running on a single machine can also be interconnected via a simple virtual Ethernet bridge
  • IPv6
  • 6LoWPAN (RFC4944, RFC6282, and RFC6775)
  • UDP
  • RPL (storing mode, P2P mode)
  • CoAP
  • CCN-Lite
  • Sigfox
  • LoRaWAN

GETTING RIOT

The most convenient way to get RIOT is to clone it via Git

$ git clone https://github.com/RIOT-OS/RIOT

this will ensure that you get all the newest features and bug fixes with the caveat of an ever changing work environment.

If you prefer things more stable, you can download the source code of one of our quarter annual releases via Github as ZIP file or tarball. You can also checkout a release in a cloned Git repository using

$ git pull --tags
$ git checkout <YYYY.MM>

For more details on our release cycle, check our documentation.

GETTING STARTED

  • You want to start the RIOT? Just follow our quickstart guide or try this tutorial. For specific toolchain installation, follow instructions in the getting started page.
  • The RIOT API itself can be built from the code using doxygen. The latest version of the documentation is uploaded daily to doc.riot-os.org.

FORUM

Do you have a question, want to discuss a new feature, or just want to present your latest project using RIOT? Come over to our forum and post to your hearts content.

CONTRIBUTE

To contribute something to RIOT, please refer to our contributing document.

MAILING LISTS

LICENSE

  • Most of the code developed by the RIOT community is licensed under the GNU Lesser General Public License (LGPL) version 2.1 as published by the Free Software Foundation.
  • Some external sources, especially files developed by SICS are published under a separate license.

All code files contain licensing information.

For more information, see the RIOT website:

https://www.riot-os.org