2018-01-12 02:49:13 +00:00
|
|
|
register_config_only_component()
|
2018-02-01 09:45:41 +00:00
|
|
|
|
2018-01-23 06:08:28 +00:00
|
|
|
# Generate pre-canned flasher args files suitable for passing to esptool.py
|
2018-05-24 06:05:31 +00:00
|
|
|
foreach(part project app bootloader partition_table)
|
2018-02-27 04:45:30 +00:00
|
|
|
configure_file(
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/flash_${part}_args.in"
|
|
|
|
"${CMAKE_BINARY_DIR}/flash_${part}_args"
|
|
|
|
)
|
2018-01-23 06:08:28 +00:00
|
|
|
endforeach()
|
2018-04-05 07:13:53 +00:00
|
|
|
|
|
|
|
configure_file(
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/flasher_args.json.in"
|
|
|
|
"${CMAKE_BINARY_DIR}/flasher_args.json"
|
|
|
|
)
|