Utils: pyvar.cm.utils¶
Cortex-M Helper Module¶
pyvar.cm.utils.helper¶
- platform:
Unix/Yocto
- synopsis:
Module with miscellaneous functions for Cortex-M.
- pyvar.cm.utils.helper.get_cm_cores(module)[source]¶
Get the number of Cortex-M cores.
- Returns:
An integer number of cores.
- pyvar.cm.utils.helper.get_cm_dtb(module)[source]¶
Get the DTB file that enables the Cortex-M.
- Returns:
A string with the name of the DTB file.
- pyvar.cm.utils.helper.get_module()[source]¶
Get the SoM type.
- Returns:
A string containing the SoM’s type.