From c8dbebf37f75aaee13f6cf0e02328ab91c9566f5 Mon Sep 17 00:00:00 2001 From: Gokul Nath VM Date: Mon, 20 Jan 2025 13:22:29 +0530 Subject: [PATCH 1/5] Add ESP32C2 --- .github/workflows/cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 889ea13d7..76522404b 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -40,4 +40,4 @@ jobs: targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4" - idf_branch: "release/v5.4" lib_builder_branch: "release/v5.4" - targets: "esp32,esp32s2,esp32s3,esp32c3,esp32c6,esp32h2,esp32p4" + targets: "esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32c6,esp32h2,esp32p4" From 0b4b6989ecffb29f11a4f2b7e6f1c1886df0bbd1 Mon Sep 17 00:00:00 2001 From: Gokul Nath VM Date: Mon, 20 Jan 2025 13:24:56 +0530 Subject: [PATCH 2/5] Add ESP32C2 to build profile --- configs/builds.json | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/builds.json b/configs/builds.json index ddfb8e4f8..b17522bfe 100644 --- a/configs/builds.json +++ b/configs/builds.json @@ -60,7 +60,6 @@ }, { "target": "esp32c2", - "skip": 1, "features":[], "idf_libs":["qio","60m"], "bootloaders":[ From 64c82cdfb3728b52453a3ffcd72ccdc606380409 Mon Sep 17 00:00:00 2001 From: Gokul Nath VM Date: Mon, 20 Jan 2025 13:26:07 +0530 Subject: [PATCH 3/5] Change ESP32C2 XTAL Frequency to 40Mhz --- configs/defconfig.esp32c2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/defconfig.esp32c2 b/configs/defconfig.esp32c2 index 11c0100a0..f1f51d2bb 100644 --- a/configs/defconfig.esp32c2 +++ b/configs/defconfig.esp32c2 @@ -1,5 +1,5 @@ -CONFIG_XTAL_FREQ_26=y -CONFIG_XTAL_FREQ=26 +CONFIG_XTAL_FREQ_40=y +CONFIG_XTAL_FREQ=40 CONFIG_BT_ENABLED=y CONFIG_BT_BLE_BLUFI_ENABLE=y CONFIG_RTC_CLK_CAL_CYCLES=576 From 51ca103a34a45239a81644d7f8b792e692a95793 Mon Sep 17 00:00:00 2001 From: Gokul Nath VM Date: Mon, 20 Jan 2025 13:43:50 +0530 Subject: [PATCH 4/5] Change github path --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d6166a365..f9530fc63 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,7 +22,7 @@ env: jobs: docker: # Disable the job in forks - if: ${{ github.event_name == 'pull_request' || github.repository_owner == 'espressif' }} + if: ${{ github.event_name == 'pull_request' || github.repository_owner == 'gnathvm' }} name: Build docker image and push if needed runs-on: ubuntu-latest steps: From 19f635314712a5ff0f47296b452e7502c491ddf7 Mon Sep 17 00:00:00 2001 From: Gokul Nath VM Date: Mon, 20 Jan 2025 13:44:36 +0530 Subject: [PATCH 5/5] Change github path --- .github/workflows/cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 76522404b..0447cdd02 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -21,7 +21,7 @@ defaults: jobs: build-libs: name: Build with IDF ${{ matrix.idf_branch }} - if: github.repository_owner == 'espressif' + if: github.repository_owner == 'gnathvm' uses: ./.github/workflows/cron_build.yml with: idf_branch: ${{ matrix.idf_branch }}