Enable/Disable Modules - 2020.2 English

Zynq UltraScale+ MPSoC Software Developer Guide (UG1137)

Document ID
UG1137
Release Date
2021-01-05
Version
2020.2 English

This section describes how to enable/disable PMU firmware build flags both in the Vitis software platform and PetaLinux.

In PetaLinux

  1. Create a PetaLinux project.
  2. Open <plnx-project-root>/project-spec/meta-user/recipes-bsp/pmu/pmu-f irmware_%.bbappend file and add the following line:
    YAML_COMPILER_FLAGS_append = -DENABLE_EM
    The above line enables EM module. To enable any flag, it should be prefixed with '-D'.
  3. After any change to the YAML compiler flags, force a clean state before rebuilding the application.