esp-idf/examples/system/efuse/get_efuse_summary.cmake
Marius Vikhammer bb4218285b system-hardware/efuse: fixed efuse summary description containing ; breaking efuse-summary
If the efuse description from esptool contained semi-colons it would be interpretted as
a list delimiter in CMake. Summary is now passed as in quotes to escape this behavior.
2023-05-30 14:07:50 +08:00

9 lines
280 B
CMake

cmake_minimum_required(VERSION 3.16)
include(${esptool_py_dir}/espefuse.cmake)
espefuse_get_json_summary(efuse_json)
foreach(name ${efuse_names})
espefuse_get_efuse(ret_data "${efuse_json}" ${name} "value")
message(STATUS "FROM_CMAKE: ${name}: ${ret_data}")
endforeach()