Skip to content

xhal::common should not depend on rpcsvc::client

Summary

While embedding rpcsvc into cmsgemos and linking xhal against the version locally built, it was noticed that the common part of xhal depends on the client part of rpcsvc. This is a logical issue considering that the server part of xhal depends on its common part. The built is however not prevent because rpcsvc::client can be built for the back-end board.

Steps to reproduce

The common exceptions handler code requires the wisc::RPCSvc::RPCException type defined in wiscrpcsvc.h which is part of the rpcsvc::client target.

What is the expected correct behavior?

xhal::common should not depend on rpcsvc::client. The issue can be fixed as part of #102 (closed) which is going to refactor how xHAL and rpcsvc are linked to each other.

Environment

  • Version used: HEAD of feature/embed-rpcsvc from !44 (merged)