]> granicus.if.org Git - esp-idf/commit
esptool_py: use passed offset and image when template is given
authorRenz Christian Bagaporo <renz@espressif.com>
Fri, 21 Jun 2019 11:48:41 +0000 (19:48 +0800)
committerRenz Christian Bagaporo <renz@espressif.com>
Fri, 21 Jun 2019 11:48:41 +0000 (19:48 +0800)
commite8582e9aa441c3b2d988c73b582b2985f41042ac
tree2d6802ead601c8480518e6035135992000fb52b2
parentd1da76e369ded0cbb7f7c2fefbc2b8b2d1db5276
esptool_py: use passed offset and image when template is given

esptool_py defines command `esptool_py_flash_project_args` that
generates arg file for esptool.py. Two of the arguments are the offset
and image, which are not being used when a template file is given.
This commit makes variables OFFSET and IMAGE available to the template
file, which will holds the value of the offset and image arguments to
`esptool_py_flash_project_args`.
components/bootloader/CMakeLists.txt
components/bootloader/flash_bootloader_args.in
components/esptool_py/project_include.cmake