# New features in the core S/W

**URL:** <https://cern-ipmc-forum.web.cern.ch/t/new-features-in-the-core-s-w/148>\
**Category:** General issue\
**Tags:** oem, led\
**Created:** [March 29, 2022, 11:12am UTC](https://cern-ipmc-forum.web.cern.ch/t/new-features-in-the-core-s-w/148 "2022-03-29T11:12:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joos](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@joos](https://cern-ipmc-forum.web.cern.ch/u/joos)\
**Post date:** [March 29, 2022, 11:12am UTC](https://cern-ipmc-forum.web.cern.ch/t/new-features-in-the-core-s-w/148/1 "2022-03-29T11:12:22Z")

</div>

We have made some modifications to the core S/W in order to add some features.

1. FRU LEDs

It is now possible to control the FRU LEDs from user code.  
See [user\_mainfile.c](https://gitlab.cern.ch/ep-ese-be-xtca/ipmc-project/-/blob/master/ipmc-user/user_mainfile.c) for an example.  
An example that illustrates how the FRU LEDs can be used in the power sequencing can be found in [config.xml](https://gitlab.cern.ch/ep-ese-be-xtca/ipmc-project/-/blob/master/config.xml)

NOTE: This use of the LEDs may interfere with the “override” and “lamp test” modes of the LEDs defined by PICMG.

1. User header file

If you want to use your own symbolic names in the config.xml file, you can add the file “ipmc-user/user\_defs.h” to your project and fill it with your macro definitions.

See [user\_defs.h](https://gitlab.cern.ch/ep-ese-be-xtca/ipmc-project/-/blob/master/ipmc-user/user_defs.h) for an example.

---

<div class="post-metadata">

**Author:** ![thompson](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/t/d6d6ee/32.png) [@thompson](https://cern-ipmc-forum.web.cern.ch/u/thompson)\
**Post date:** [May 16, 2022, 2:29pm UTC](https://cern-ipmc-forum.web.cern.ch/t/new-features-in-the-core-s-w/148/2 "2022-05-16T14:29:52Z")

</div>

We wanted to set the red LED in certain cases of failure. When I, for example, uncomment the line

```auto
signal_t signal_fru1 = CFG_FRU_LED_1_SIGNAL;

```

compilation complains that CFG\_FRU\_LED\_1\_SIGNAL is undefined. Any idea which header needs to be included where this is defined?

---

<div class="post-metadata">

**Author:** ![thompson](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/t/d6d6ee/32.png) [@thompson](https://cern-ipmc-forum.web.cern.ch/u/thompson)\
**Post date:** [May 16, 2022, 2:44pm UTC](https://cern-ipmc-forum.web.cern.ch/t/new-features-in-the-core-s-w/148/3 "2022-05-16T14:44:04Z")

</div>

apologies for the noise, this was due to user error and compilation is working OK
