Skip to content

Add c2 #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [esp32, esp32s2, esp32s3, esp32c3, esp32c6, esp32h2]
target: [esp32, esp32s2, esp32s3, esp32c2, esp32c3, esp32c6, esp32h2]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand Down
18 changes: 16 additions & 2 deletions configs/builds.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"file":"libspi_flash.a",
"src":"build/esp-idf/spi_flash/libspi_flash.a",
"out":"lib/libspi_flash.a",
"targets":["esp32","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2"]
"targets":["esp32","esp32c2","esp32c3","esp32s2","esp32s3","esp32c6","esp32h2"]
},
{
"file":"libesp_psram.a",
Expand Down Expand Up @@ -72,6 +72,20 @@
["dio","80m"]
]
},
{
"target": "esp32c2",
"features":[],
"idf_libs":["qio","60m"],
"bootloaders":[
["qio","60m"],
["dio","60m"],
["qio","30m"],
["dio","30m"]
],
"mem_variants":[
["dio","60m"]
]
},
{
"target": "esp32c3",
"features":[],
Expand Down Expand Up @@ -133,4 +147,4 @@
]
}
]
}
}
1 change: 1 addition & 0 deletions configs/defconfig.30m
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_ESPTOOLPY_FLASHFREQ_30M=y
1 change: 1 addition & 0 deletions configs/defconfig.60m
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_ESPTOOLPY_FLASHFREQ_60M=y
6 changes: 6 additions & 0 deletions configs/defconfig.esp32c2
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CONFIG_XTAL_FREQ_26=y
CONFIG_XTAL_FREQ=26
CONFIG_BT_BLE_BLUFI_ENABLE=y
CONFIG_RTC_CLK_CAL_CYCLES=576
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304