mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
This commit is contained in:
committed by
Angus Gratton
parent
a528d3a61a
commit
49a910adfb
@@ -29,7 +29,7 @@ set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${PARTITION_CSV_P
|
|||||||
# Parse the partition table to get variable partition offsets & sizes which must be known at CMake runtime
|
# Parse the partition table to get variable partition offsets & sizes which must be known at CMake runtime
|
||||||
function(get_partition_info variable get_part_info_args)
|
function(get_partition_info variable get_part_info_args)
|
||||||
separate_arguments(get_part_info_args)
|
separate_arguments(get_part_info_args)
|
||||||
execute_process(COMMAND
|
execute_process(COMMAND ${PYTHON}
|
||||||
${COMPONENT_PATH}/parttool.py -q
|
${COMPONENT_PATH}/parttool.py -q
|
||||||
--partition-table-offset ${PARTITION_TABLE_OFFSET}
|
--partition-table-offset ${PARTITION_TABLE_OFFSET}
|
||||||
${get_part_info_args}
|
${get_part_info_args}
|
||||||
|
Reference in New Issue
Block a user