soc: merge C3 caps into a single soc_caps.h

This commit is contained in:
Marius Vikhammer
2021-04-26 09:52:36 +08:00
parent 7defd291a4
commit 504a1e6102
24 changed files with 220 additions and 483 deletions

View File

@@ -131,7 +131,7 @@ esp_err_t esp_ds_start_sign(const void *message,
// check encryption key from HMAC
int64_t start_time = esp_timer_get_time();
while (ds_ll_busy() != 0) {
if ((esp_timer_get_time() - start_time) > DS_KEY_CHECK_MAX_WAIT_US) {
if ((esp_timer_get_time() - start_time) > SOC_DS_KEY_CHECK_MAX_WAIT_US) {
ds_disable_release();
return ESP32C3_ERR_HW_CRYPTO_DS_INVALID_KEY;
}