Bring basic X2O compatibility
Description
This merge brings basic compatibility with the X2O v1 (as well as the APEX) back-end board. Except for the addition of a sysroot, CMake toolchain file, and basic build, including the CI, the MGT polarities configuration routine has been updated. Instead of relying on hard-coded values, the MGT polarities and now taken from the link configuration description exposed by the firmware is specific registers.
Related Issue
Fixes #228 (closed), #229 (closed), and #230 (closed).
How Has This Been Tested?
Taking runs on the GE1/1 integration setup in b904 backed up by a CTP7 is still working seamlessly. The MGT TX & RX polarities have been compared before and after this MR. Optionally pending tests on an APEX or an X2O v1 board.
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
-
My code follows the code style of this project. -
My change requires a change to the documentation. -
I have updated the documentation accordingly. -
I have read the CONTRIBUTING document. -
I have added tests to cover my changes. -
All new and existing tests passed.
Edited by Laurent Petre