Skip to content

Split config files into UI and pinout fragments#54

Open
Milosz Wasilewski (mwasilew) wants to merge 3 commits into
qualcomm:mainfrom
mwasilew:feature/config-file-split
Open

Split config files into UI and pinout fragments#54
Milosz Wasilewski (mwasilew) wants to merge 3 commits into
qualcomm:mainfrom
mwasilew:feature/config-file-split

Conversation

@mwasilew

Copy link
Copy Markdown
Contributor

Pull Request

Description
Split the config files into UI and pinout related parts. This will allow to re-use the pinout files externally without carrying all the UI related configs

Type of Change
Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

When using CMake=3.22 as advertised in the top level CMakeLists.txt, the
build fails because of how cmake expands lists. This version of cmake treats
the target_link_libraries argument as a list and splits on ; before evaluating
the generator expression — tearing $<$<CONFIG:Debug>:foo;bar> into
$<1:foo + bar + bar> and leaking the broken fragments to the linker.
Proper syntax demands quotations.

This feature changes in version 3.23
Kitware/CMake@c1e812ad4f3

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Original configuration files describe both automation interface pinout
and the UI for Qt application to present the controls. This patch splits
the UI and pinout into separate files. This allows to re-use the pinout
files without carrying any UI related configs.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
Split the schema files into two following the split of the config files
themselves. This allows to validate the pinout and UI config files
separately.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
@mwasilew Milosz Wasilewski (mwasilew) requested a review from a team as a code owner June 30, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant