This section describes how to enable/disable PMU firmware build flags both in the Vitis software platform and PetaLinux.
In PetaLinux
- Create a PetaLinux project.
- Open
<plnx-project-root>/project-spec/meta-user/recipes-bsp/pmu/pmu-f
irmware_%.bbappend file and add the following line:
The above line enables EM module. To enable any flag, it should be prefixed with 'YAML_COMPILER_FLAGS_append = -DENABLE_EM
-D
'. - After any change to the YAML compiler flags, force a clean state before rebuilding the application.