Skip to content

Conversation

gschorcht
Copy link
Contributor

@gschorcht gschorcht commented Jun 20, 2022

Contribution description

This PR provides the support for the ESP32-S2 SoC family and the ESP32-S2-DevKit board series.

For the moment, this PR #17841, PR #17842, PR #17844 and PR #18185 to be compilable. Once these PRs are merged this PR is rebased. The first additional commit of this PR is c5fab01.

Testing procedure

Compilation in CI has to succeed. All peripheral and basic tests have to pass.

Issues/PRs references

Depends on PR #17841
Depends on PR #17842
Depends on PR #17844
Depends on PR #18185

gschorcht added 30 commits June 6, 2022 08:33
Bootloader makefile that can be used for different ESP32x variants
Updates `cpu/esp_common/periph/flash` for ESP-IDF 4.4. `spi_flash_*` functions for ESP32 are removed since these functions are now used from ESP-IDF. DEBUG output are changed to be platform independent.
The MCU_* conditionals are inverted so that they can be tested for ESP8266. In all other cases the MCU is any ESP32x SoC
Implements an interface for ESP-IDF types and functions that are required by RIOT-OS but cannot be included directly due to name conflicts.
periph/spi implementation can be used for ESP8266 only from now. An implementation using the ESP-IDF spi HAL interface is required for ESP32x SoCs.
The MCU_* conditionals are inverted so that they can be tested for ESP8266. In all other cases the MCU is any ESP32x SoC
@gschorcht gschorcht force-pushed the cpu/esp32/add_esp32s2_cpu branch from fdc8bbd to 1bdb254 Compare June 26, 2022 08:15
@gschorcht gschorcht force-pushed the cpu/esp32/add_esp32s2_cpu branch from 1bdb254 to 7ebda15 Compare June 26, 2022 08:56
bors bot added a commit to RIOT-OS/riotdocker that referenced this pull request Aug 3, 2022
201: riotbuild: add ESP32-S2 toolchain r=benpicco a=gschorcht

Add Espressif's vendor toolchain for ESP32-S2 to be able to compile RIOT-OS/RIOT#18235 in CI. The toolchain has a size of 290 MByte

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
@gschorcht
Copy link
Contributor Author

Now that all split-offs have been merged, we can close this PR.

@gschorcht gschorcht closed this Aug 31, 2022
@gschorcht gschorcht deleted the cpu/esp32/add_esp32s2_cpu branch August 31, 2022 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: build system Area: Build system Area: CI Area: Continuous Integration of RIOT components Area: cpu Area: CPU/MCU ports Area: doc Area: Documentation Area: drivers Area: Device drivers Area: Kconfig Area: Kconfig integration Area: pkg Area: External package ports Area: tests Area: tests and testing framework Area: tools Area: Supplementary tools Platform: ESP Platform: This PR/issue effects ESP-based platforms State: waiting for CI update State: The PR requires an Update to CI to be performed first State: waiting for other PR State: The PR requires another PR to be merged first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant