mirror of https://github.com/ARMmbed/mbed-os.git
Fix memap not running
parent
fb4164951c
commit
87f0272138
|
|
@ -37,7 +37,7 @@ find_package(Python3 COMPONENTS Interpreter)
|
|||
include(CheckPythonPackage)
|
||||
|
||||
# Check python packages
|
||||
set(PYTHON_PACKAGES_TO_CHECK prettytable future jinja2 mbed_tools)
|
||||
set(PYTHON_PACKAGES_TO_CHECK intelhex prettytable future jinja2 mbed_tools)
|
||||
foreach(PACKAGE_NAME ${PYTHON_PACKAGES_TO_CHECK})
|
||||
string(TOUPPER ${PACKAGE_NAME} PACKAGE_NAME_UCASE) # Ucase name needed for CMake variable
|
||||
string(TOLOWER ${PACKAGE_NAME} PACKAGE_NAME_LCASE) # Lcase name needed for import statement
|
||||
|
|
@ -53,7 +53,7 @@ if(Python3_FOUND AND HAVE_PYTHON_INTELHEX AND HAVE_PYTHON_PRETTYTABLE)
|
|||
set(HAVE_MEMAP_DEPS TRUE)
|
||||
else()
|
||||
set(HAVE_MEMAP_DEPS FALSE)
|
||||
message(STATUS "Missing Python dependencies (python3, intelhex, prettytable) so the memory map cannot be printed")
|
||||
message(STATUS "Missing Python dependencies (at least one of: python3, intelhex, prettytable) so the memory map cannot be printed")
|
||||
endif()
|
||||
|
||||
# load mbed_create_distro
|
||||
|
|
|
|||
Loading…
Reference in New Issue