Merged requested to merge feature/x2o-compatibility into main
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.
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)
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.