IBM Support

How can I disable power management options for my VxWorks target when using IBM Rational Rhapsody

Question & Answer


Question

How do I disable power management options for my VxWorks target when using IBM Rational Rhapsody

Cause

Your board support package (BSP) does not support Power Management options.

  1. Power Management support is not required in your project
  2. You receive linker warnings referring to missing symbols cpuPwrTaskPStateGet and cpuPwrTaskPStateSet (functions from the VxWorks Power Management API)

Answer

You can disable this support for VxWorks power management by editing the oxf\vxoxf.mak file by removing the OM_SUPPORT_POWER_MGMT macro definition



POWER_MGMT_FLAG=-DOM_SUPPORT_POWER_MGMT
ifeq ($(CPU), SIMNT)
POWER_MGMT_FLAG=
else
ifeq ($(CPU), SIMPENTIUM)
POWER_MGMT_FLAG=
else
ifeq ($(CPU), SIMLINUX)
POWER_MGMT_FLAG=
endif
endif
endif



Or you can add an additional ifeq/endif block for your target:


else
ifeq ($(CPU), AV8)
POWER_MGMT_FLAG=
endif

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Integrations - 3rd Party","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0;8.0.1;8.0.2;8.0.3;8.0.4;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1;8.1.3;8.1.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21975644