mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-19 01:27:14 +00:00
Merge branch 'task/c5support' into 'master'
esp32c5: Add ESP32-C5 support to RainMaker See merge request app-frameworks/esp-rainmaker!544
This commit is contained in:
@@ -262,3 +262,28 @@ push_master_to_github:
|
||||
- git remote remove github &>/dev/null || true
|
||||
- git remote add github git@github.com:espressif/esp-rainmaker.git
|
||||
- git push github "${CI_COMMIT_SHA}:refs/heads/${CI_COMMIT_REF_NAME}"
|
||||
|
||||
build_esp32c5_preview:
|
||||
extends: .build_template
|
||||
image: espressif/idf:release-v5.5
|
||||
variables:
|
||||
EXAMPLE_TARGETS: "esp32c5"
|
||||
EXAMPLES: "switch led_light fan temperature_sensor multi_device gpio"
|
||||
script:
|
||||
- pip install --upgrade idf-component-manager
|
||||
- for EXAMPLE in $EXAMPLES; do
|
||||
- cd $CI_PROJECT_DIR/examples/$EXAMPLE
|
||||
- echo Building $EXAMPLE
|
||||
- for TARGET in $EXAMPLE_TARGETS; do
|
||||
- echo Building for $TARGET
|
||||
- idf.py --preview set-target $TARGET
|
||||
- idf.py build
|
||||
- mkdir -p $CI_PROJECT_DIR/esp-rainmaker-bins-${CI_JOB_ID}/$EXAMPLE/$TARGET/
|
||||
- cp $CI_PROJECT_DIR/examples/$EXAMPLE/build/*.bin $CI_PROJECT_DIR/esp-rainmaker-bins-${CI_JOB_ID}/$EXAMPLE/$TARGET/
|
||||
- done
|
||||
- echo Build Complete for $EXAMPLE
|
||||
- done
|
||||
# Generating zip file for binaries generated
|
||||
- cd $CI_PROJECT_DIR
|
||||
- echo Generating zip file for binaries generated
|
||||
- tar -zcvf esp-rainmaker-bins-${CI_JOB_ID}.zip esp-rainmaker-bins-${CI_JOB_ID}/
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
## Introduction
|
||||
|
||||
ESP RainMaker is an end-to-end solution offered by Espressif to enable remote control and monitoring for products based on ESP32 series of SoCs (e.g., ESP32, ESP32-S2, ESP32-C3, ESP32-C6, ESP32-C2, etc.) without any configuration required in the Cloud. <br>
|
||||
ESP RainMaker is an end-to-end solution offered by Espressif to enable remote control and monitoring for products based on ESP32 series of SoCs (e.g., ESP32, ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2, ESP32-C5 (preview), etc.) without any configuration required in the Cloud. <br>
|
||||
|
||||
The primary components of this solution are:
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
## IDF Component Manager Manifest File
|
||||
version: "1.5.5"
|
||||
version: "1.5.6"
|
||||
description: ESP RainMaker firmware agent
|
||||
url: https://github.com/espressif/esp-rainmaker/tree/master/components/esp_rainmaker
|
||||
repository: https://github.com/espressif/esp-rainmaker.git
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#include "esp32c2/rom/secure_boot.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C6
|
||||
#include "esp32c6/rom/secure_boot.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C5
|
||||
#include "esp32c5/rom/secure_boot.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32H2
|
||||
#include "esp32h2/rom/secure_boot.h"
|
||||
#endif
|
||||
|
||||
@@ -9,6 +9,7 @@ menu "WS2812 RGB LED"
|
||||
|
||||
config WS2812_LED_GPIO
|
||||
int "WS2812 LED GPIO"
|
||||
default 27 if IDF_TARGET_ESP32C5
|
||||
default 8 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32H2
|
||||
default 48 if IDF_TARGET_ESP32S3
|
||||
default 18
|
||||
|
||||
@@ -2,6 +2,7 @@ menu "Example Configuration"
|
||||
|
||||
config EXAMPLE_BOARD_BUTTON_GPIO
|
||||
int "Boot Button GPIO"
|
||||
default 28 if IDF_TARGET_ESP32C5
|
||||
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
|
||||
default 0
|
||||
help
|
||||
|
||||
@@ -2,6 +2,7 @@ menu "Example Configuration"
|
||||
|
||||
config EXAMPLE_BOARD_BUTTON_GPIO
|
||||
int "Boot Button GPIO"
|
||||
default 28 if IDF_TARGET_ESP32C5
|
||||
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
|
||||
default 0
|
||||
help
|
||||
|
||||
@@ -2,6 +2,7 @@ menu "Example Configuration"
|
||||
|
||||
config EXAMPLE_BOARD_BUTTON_GPIO
|
||||
int "Boot Button GPIO"
|
||||
default 28 if IDF_TARGET_ESP32C5
|
||||
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
|
||||
default 0
|
||||
help
|
||||
|
||||
@@ -2,6 +2,7 @@ menu "Example Configuration"
|
||||
|
||||
config EXAMPLE_BOARD_BUTTON_GPIO
|
||||
int "Boot Button GPIO"
|
||||
default 28 if IDF_TARGET_ESP32C5
|
||||
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
|
||||
default 0
|
||||
help
|
||||
|
||||
@@ -2,6 +2,7 @@ menu "Example Configuration"
|
||||
|
||||
config EXAMPLE_BOARD_BUTTON_GPIO
|
||||
int "Boot Button GPIO"
|
||||
default 28 if IDF_TARGET_ESP32C5
|
||||
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
|
||||
default 0
|
||||
help
|
||||
|
||||
@@ -2,6 +2,7 @@ menu "Example Configuration"
|
||||
|
||||
config EXAMPLE_BOARD_BUTTON_GPIO
|
||||
int "Boot Button GPIO"
|
||||
default 28 if IDF_TARGET_ESP32C5
|
||||
default 9 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
|
||||
default 0
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user