Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: lhdjply <lhdjply@126.com>
  • Loading branch information
lhdjply committed Jul 24, 2024
1 parent fd975d5 commit f9fb6a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ports/esp32/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,18 @@ set(MICROPY_SOURCE_QSTR
${MICROPY_SOURCE_BOARD}
)

if (${ESP_IDF_VERSION} VERSION_EQUAL 5.2.2)
list(APPEND ESP_ADC esp_adc)
else()
list(APPEND ESP_ADC esp_adc_cal)
endif()

set(IDF_COMPONENTS
app_update
bootloader_support
bt
driver
esp_adc_cal
${ESP_ADC}
esp_common
esp_eth
esp_event
Expand Down
3 changes: 3 additions & 0 deletions tools/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,17 @@ function ci_esp32_setup_helper {
}

function ci_esp32_idf402_setup {
ESP_IDF_VERSION="4.0.2"
ci_esp32_setup_helper v4.0.2
}

function ci_esp32_idf44_setup {
ESP_IDF_VERSION="4.4"
ci_esp32_setup_helper v4.4
}

function ci_esp32_idf522_setup {
ESP_IDF_VERSION="5.2.2"
ci_esp32_setup_helper v5.2.2
}

Expand Down

0 comments on commit f9fb6a3

Please sign in to comment.