2018-08-31 04:30:14 +00:00
|
|
|
|
|
|
|
# Set empty otadata partition file for flashing, if OTA data partition in
|
|
|
|
# partition table
|
|
|
|
# (NB: because of component dependency, we know partition_table
|
|
|
|
# project_include.cmake has already been included.)
|
2018-11-15 21:01:15 +00:00
|
|
|
|
|
|
|
if(OTADATA_PARTITION_OFFSET AND OTADATA_PARTITION_SIZE AND IDF_BUILD_ARTIFACTS)
|
2018-08-31 04:30:14 +00:00
|
|
|
set(BLANK_OTADATA_FILE "ota_data_initial.bin")
|
|
|
|
endif()
|