The following table lists the important build flags in PLM and their usage. For a complete list of build flags, see the xplmi_config.h file in the XilPLMI library. To apply changes to the build flags, rebuild the BSP and the PLM application.
Flag | Description | Prerequisites | Default Setting |
---|---|---|---|
PLM_PRINT | When enabled, prints the PLM header and any mandatory prints. | None | Disabled |
PLM_PRINT_NO_UART | Enable this definition to disable prints from UART. Prints to memory are still enabled as defined by PLM DEBUG macros. | None | Disabled |
PLM_DEBUG | Prints basic information and any error messages. | None | Enabled |
PLM_DEBUG_INFO | Prints with format specifiers in addition to the basic information. | None | Disabled |
PLM_DEBUG_DETAILED | Prints detailed information. | None | Disabled |
PLM_PRINT_PERF | Prints the time taken for loading the partitions, images and tasks. | Any of the above-mentioned debug print flags need to be enabled | Enabled |
PLM_QSPI_EXCLUDE | When this flag is enabled, the QSPI code is excluded. | None | Disabled |
PLM_SD_EXCLUDE | When this flag is enabled, the SD code is excluded. | None | Disabled |
PLM_SECURE_EXCLUDE | When you enable this definition, secure code (AES, RSA, ECDSA) code is excluded. SHA3 code is still included to support checksum cases. | None | Disabled |
PLM_SEM_EXCLUDE | When this flag is enabled, the XilSEM code is excluded. | None | Disabled |
PLM_DEBUG_MODE | Disables soft reset in case of error during Base PDI loading. This will be helpful in maintaining the system state for debugging. | None | Disabled |
PLM_PRINT_PERF_POLL | Prints the time taken for any poll for MASK_POLL command. | None | Disabled |
PLM_PRINT_PERF_DMA | Prints the time taken for PMC DMA, QSPI, OSPI | None | Disabled |
PLM_PRINT_PERF_CDO_PROCESS | Prints the time taken to process the CDO file. | None | Disabled |
PLM_PRINT_PERF_KEYHOLE | Prints the time taken to process keyhole command. Keyhole command is used for Cframe and slave SLR image loading. | None | Disabled |
PLM_PRINT_PERF_PL | Prints the PL Power status and House clean status. | None | Disabled |