We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b47328 + 646492d commit 99601e8Copy full SHA for 99601e8
components/esptool_py/project_include.cmake
@@ -289,13 +289,13 @@ function(esptool_py_partition_needs_encryption retencrypted partition_name)
289
# - DATA 0x01
290
# Subtypes:
291
# - ota 0x00
292
- # - nvs 0x02
293
- # If the partition is an app, an OTA or an NVS partition, then it should
+ # - nvs_keys 0x04
+ # If the partition is an app, an OTA or an NVS keys partition, then it should
294
# be encrypted
295
if(
296
(${type} EQUAL 0) OR
297
(${type} EQUAL 1 AND ${subtype} EQUAL 0) OR
298
- (${type} EQUAL 1 AND ${subtype} EQUAL 2)
+ (${type} EQUAL 1 AND ${subtype} EQUAL 4)
299
)
300
set(encrypted TRUE)
301
endif()
0 commit comments