Skip to content

Commit 083c6de

Browse files
authored
Add c2 (#70)
1 parent ab85b93 commit 083c6de

File tree

5 files changed

+25
-3
lines changed

5 files changed

+25
-3
lines changed

Diff for: .github/workflows/push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
target: [esp32, esp32s2, esp32s3, esp32c3, esp32c6, esp32h2]
20+
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2]
2121
fail-fast: false
2222
steps:
2323
- uses: actions/checkout@v3

Diff for: configs/builds.json

+16-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"file":"libspi_flash.a",
55
"src":"build/esp-idf/spi_flash/libspi_flash.a",
66
"out":"lib/libspi_flash.a",
7-
"targets":["esp32","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2"]
7+
"targets":["esp32","esp32c2","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2"]
88
},
99
{
1010
"file":"libesp_psram.a",
@@ -72,6 +72,20 @@
7272
["dio","80m"]
7373
]
7474
},
75+
{
76+
"target": "esp32c2",
77+
"features":[],
78+
"idf_libs":["qio","60m"],
79+
"bootloaders":[
80+
["qio","60m"],
81+
["dio","60m"],
82+
["qio","30m"],
83+
["dio","30m"]
84+
],
85+
"mem_variants":[
86+
["dio","60m"]
87+
]
88+
},
7589
{
7690
"target": "esp32c3",
7791
"features":[],
@@ -133,4 +147,4 @@
133147
]
134148
}
135149
]
136-
}
150+
}

Diff for: configs/defconfig.30m

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_ESPTOOLPY_FLASHFREQ_30M=y

Diff for: configs/defconfig.60m

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_ESPTOOLPY_FLASHFREQ_60M=y

Diff for: configs/defconfig.esp32c2

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_XTAL_FREQ_26=y
2+
CONFIG_XTAL_FREQ=26
3+
CONFIG_BT_BLE_BLUFI_ENABLE=y
4+
CONFIG_RTC_CLK_CAL_CYCLES=576
5+
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
6+
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304

0 commit comments

Comments
 (0)