buildsystem: flash binary to a named partition
Changed optional value parameter 'encrypted' to a named parameter called 'ALWAYS_PLAINTEXT'. This flag can be passed to: - esptool_py_flash_target - esptool_py_flash_target_image Fix wrong identation.
This commit is contained in:
@@ -51,7 +51,7 @@ function(spiffs_create_partition_image partition base_dir)
|
||||
idf_component_get_property(sub_args esptool_py FLASH_SUB_ARGS)
|
||||
# Last (optional) parameter is the encryption for the target. In our
|
||||
# case, spiffs is not encrypt so pass FALSE to the function.
|
||||
esptool_py_flash_target(${partition}-flash "${main_args}" "${sub_args}" FALSE)
|
||||
esptool_py_flash_target(${partition}-flash "${main_args}" "${sub_args}" ALWAYS_PLAINTEXT)
|
||||
esptool_py_flash_to_partition(${partition}-flash "${partition}" "${image_file}")
|
||||
|
||||
add_dependencies(${partition}-flash spiffs_${partition}_bin)
|
||||
|
||||
Reference in New Issue
Block a user