Skip to content

Commit 24c6528

Browse files
committed
Merge branch 'fix/incorrect_config_name_v5.3' into 'release/v5.3'
Fix encrypt image instead of the partition optimisation not being enabled (v5.3) See merge request espressif/esp-idf!32639
2 parents 466a392 + 12a2e89 commit 24c6528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/bootloader_support/src/flash_encryption/flash_encrypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ static esp_err_t encrypt_partition(int index, const esp_partition_info_t *partit
422422
&partition->pos,
423423
&image_data);
424424
should_encrypt = (err == ESP_OK);
425-
#ifdef SECURE_FLASH_ENCRYPT_ONLY_IMAGE_LEN_IN_APP_PART
425+
#ifdef CONFIG_SECURE_FLASH_ENCRYPT_ONLY_IMAGE_LEN_IN_APP_PART
426426
if (should_encrypt) {
427427
// Encrypt only the app image instead of encrypting the whole partition
428428
size = image_data.image_len;

0 commit comments

Comments
 (0)