Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-536

[netX10/51] Drv_Led: Linking fails if function level linking is disabled (unresolved reference to HifPio driver)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V2.1.1.0
    • Fix Version/s: V2.1.2.0
    • Component/s: Drivers
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      Linking to netX10/51 lib failed if function level (-gc-sections) linking is disabled.
      Linker returns unresolved reference to HifPio driver:
      ----------------------------------------------------
      librcx_netx51.a(Drv_Led.o): In function `drvLedHifPioInitializeLed':
      Drv_Led.c:444: undefined reference to `Drv_HifPioIdentifyHifPio'
      Drv_Led.c:444: undefined reference to `Drv_HifPioInitializeHifPio'
      librcx_netx51.a(Drv_Led.o): In function `drvLedHifPioSetLed':
      Drv_Led.c:507: undefined reference to `Drv_HifPioGetOutputs'
      Drv_Led.c:507: undefined reference to `Drv_HifPioSetOutputs'
      librcx_netx51.a(Drv_Led.o): In function `drvLedHifPioClearLed':
      Drv_Led.c:570: undefined reference to `Drv_HifPioGetOutputs'
      Drv_Led.c:570: undefined reference to `Drv_HifPioSetOutputs'
      ----------------------------------------------------

      HifPio driver is not available for netX10/51. However, hifpio driver is offered as lowlevel driver to the LED driver regardless of the used chip type.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  stephans stephans
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: